Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

lagging cursor move with linter errors #3777

Open agroszer opened 5 years ago

agroszer commented 5 years ago

Short Summary

When the text in the editor (about 900 lines) has LOTS of linting errors (almost every line one) the cursor movement is lagging.

Steps to Reproduce

Best repro is to go to the bottom of the file, press and hold the up arrow key, need to wait a few secs for the cursor to move. Best subject is a JSON structure opened with python syntax As soon as you turn off all syntax checking and linting (the underlines/squiggles go away) it's smooth again.

Expected results

Smooth scrolling and cursor movement

Platform Information

Komodo IDE, version 11.1.2, build 91147, platform linux-x86_64. Built on Wed Jul 17 00:32:53 2019.

and

Komodo Edit, version 11.0.0, build 18063, platform linux-x86_64. Built on Tue Sep 19 21:50:12 2017.

agroszer commented 5 years ago

playing with the Color Scheme Editor / Linter warning styles seems not to help

th3coop commented 5 years ago

@agroszer, sorry I missed this ticket. Just getting to it. I tried opening a 5000 line json file and setting it to Python but I don't get syntax errors. Properly formed JSON should be valid for Python I believe. I'll see if I can come up with another repro but if you have another reliable one please share it.

th3coop commented 5 years ago

@agroszer did this start in IDE 11.1.2? Did you notice this in 11.1.1 or earlier, in IDE?