Am Sun, 22 Mar 2009 07:51:07 -0400
Post by Randy KramerI'm curious--under what circumstances do you find scintilla sluggish?
I investigated SciTE some years ago because I was interested in code
folding... then used kate, which can also do this.
Not so sure now why SciTE didn't impress me back then, but it
apparently wasn't better than kate.
Now, kate became too fat and slow. It is amazing how long I went with
using KDE and its apps on that Pentium 200 MMX laptop.
Well, we all know that nedit is somehow quicker than others.
But I must also admit that I cannot judge SciTE's speed currently
because of the sad state of Xorg on my machine.
I am cursed with an Intel video chipset, using a driver people seem to
enjoy hacking around with and breaking things.
Something basic with the 2D acceleration is wrong, resulting in nearly
all 2D action like window redrawing and scrolling being really, really
bad.
The funny part is that this does not affect nedit (or dillo2, which
even uses scalable fonts with AA and unicode, if that matters). Nedit
is fast as ever, but all other editors have horrible scrolling behaviour.
So, I have to take care with evaluating editor performance in the
current state. At least SciTE does pass the "seek intertia" test:
When you hold down the page down key for some time and then release, it
stops scrolling shortly after that. Other editors (Kate to the extreme)
continue scrolling until they think they have done enough according to
the keyboard repeat rate, effectively blocking the UI.
Post by Randy KramerI've looked into the approach to folding
Not that interested in this feature anymore. What I more and more wish
for is something simpler: A smarter display of dynamic wrap, honoring
the initial indent of the wrapped line (as Kate does, but without the
ugly background texture).
Post by Randy Kramerlexers are written in C++ :-( although some are written in Lua iiuc.
Lua may actually be a better approach than inventing yet another macro
language.
It has been designed to be an embedded language...
Post by Randy Kramermore impressed with the speed I've seen because I was worried that the
conversion to Unicode would slow (nedit, for example) down.
Well, regex action has to be slower... but text display as such seems
to work fine&fast for dillo2.
And, there are still simple optimizations for syntax highlighting that
even nedit could still make use of (I think of _not_ updating all
following lines on every keypress, like coloring/decoloring everything
when opening a " and some time later on the same line closing with
another "... better wait for the line to be finished, like mcedit does).
Well, I might give the scintilla engine a try. After resolving that
pitiful state of my X11.
Alrighty then,
Thomas.