Author Topic: Scrolling performance in Java source files.  (Read 1513 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2447
  • Hero Points: 203
  • Text
Scrolling performance in Java source files.
« on: March 05, 2018, 09:45:30 pm »
I've noticed that using the mouse wheel to scroll in Java files is really laggy.
Often there is at least a 0.5 sec delay between me spinning the wheel and slick responding.

I just reproed this with no project or workspace loaded, just a single small java file (95 lines).
Java live errors is turned off.
Symbol coloring is turned off.

The same file when saved as Foo.cpp scrolls much smoother.
Also fast when saved as java script.


Another thing...
I have several windows open, Foo.java, Foo.cpp, Foo.js.
When clicking to the Java window, it is very slow - seems like it takes a full second or so to activate this window.
When clicking between the cpp and js file, it is really fast.

Clicking in the java buffer to move the cursor around also can lag quite a bit.


Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3514
  • Hero Points: 470
Re: Scrolling performance in Java source files.
« Reply #1 on: March 05, 2018, 10:19:39 pm »
Could you share the sample file.  Obfuscated is fine.

Also, do you have Real Time Errors enabled?
Symbol Coloring?
Preview Tool Window?
Highlight symbol under mouse?


jporkkahtc

  • Senior Community Member
  • Posts: 2447
  • Hero Points: 203
  • Text
Re: Scrolling performance in Java source files.
« Reply #2 on: March 05, 2018, 11:40:45 pm »
Seems to be any old java file, not with any specific one.
Real time errors is turned off.
Symbol coloring is off.
Preview tool is off.
Highlight symbol under mouse is off.

Seems to be some setting on my work machine, as this doesn't happen on my home machine.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3514
  • Hero Points: 470
Re: Scrolling performance in Java source files.
« Reply #3 on: March 05, 2018, 11:52:51 pm »
OK, would you mind sending me any old Java file, aka, one that exhibits the problem.  I poked around with a few files from the JDK and did not reproduce the issue.  You are seeing the issue, so that plus you user.cfg.xml would save me wasting lot of time hunting blindly.

jporkkahtc

  • Senior Community Member
  • Posts: 2447
  • Hero Points: 203
  • Text
Re: Scrolling performance in Java source files.
« Reply #4 on: March 06, 2018, 04:22:06 am »
Attached