Author Topic: Syntax coloring slow for years now  (Read 260 times)

bremenpl

  • Community Member
  • Posts: 90
  • Hero Points: 0
  • Electrical Engineer
Syntax coloring slow for years now
« on: November 14, 2023, 08:55:31 AM »
Hello,
I have been a SlickEdit on and off user for maybe 10 years. It hurts to see how some functionalities are still working so badly compared to other state of the art editors, such as Eclipse (which also has a legacy code base) or Visual Studio Code.

I recall that over 6-7 years back I stopped using SE because of how slow the syntax coloring was:
  • When a file was opened, it took few seconds to color the symbols (even hello world)
  • With syntax coloring on, the autocomplete was hanging and working very slowly. User experience here was really bad


Now its 2023 and SE23. Nothing has changed. I am sitting on a 16 core machine with 64 GB RAM and feel there is no difference, just like described here: https://community.slickedit.com/index.php?topic=10755.0 . In that post it is stated that the engine is to be ran in a separate thread- it doesn't seem that way since autocomplete is freezing the typing.

Reducing any times/ delays doesn't help anyhow. The only way for the editor to be usable is to disable symbol coloring, but then the code is of course blending in, as nearly everything has the same color. 

Is there any way to improve this? I would appreciate all feedback.

imtribble

  • Community Member
  • Posts: 43
  • Hero Points: 4
Re: Syntax coloring slow for years now
« Reply #1 on: November 14, 2023, 01:29:18 PM »
I'm not sure what your issue is but I had a similar issue. It was so bad that I kept using an older version of SE even though I had the two newer versions. I stumbled across a fix one day when I had to delete my SE config file and basically start over. After that, everything has been super fast with no issues.


As I said, I don't know what the issue is/was but after doing that, the issue was no longer an issue. So I present this as a consideration option.

bremenpl

  • Community Member
  • Posts: 90
  • Hero Points: 0
  • Electrical Engineer
Re: Syntax coloring slow for years now
« Reply #2 on: November 14, 2023, 04:09:39 PM »
Hi and thabk you for the answer,
That is probably not the case here, as I have observed the problem on 3 different PCs (2x windows and 1 linux). Its simply eminent that the symbol coloring engine requires a lot of time to actually color... I cannot understand why cannot this work "nativelly", based on the file extension. How is it that basic coloring (functions, preprocessor and so on) can work instantly, while symbols are so slow?