fsnotes icon indicating copy to clipboard operation
fsnotes copied to clipboard

When entering "`" in a very large file, it will be severely stuck

Open marcocpt opened this issue 3 years ago • 0 comments

Description

Articles are approximately 80,000 characters.

Starting to type anything is very stuttering, which is relieved by modifying the code in EditTextView.swifg:

     override func draw(_ dirtyRect: NSRect) {
         super.draw(dirtyRect)

         guard UserDefaultsManagement.inlineTags else { return }
         return // add
         if #available(OSX 10.16, *) {
                ...
         }
     }

But typing "`" still lags

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

No response

FSNotes version

5.3.4

macOS/iOS version

11.2.1

Additional context

No response

marcocpt avatar Jan 19 '22 15:01 marcocpt