OS version: All
Error reported: Slowness
Stack trace:
Steps needed to reproduce the problem:
Hi, there should be an option to not-add the new "indent lines" feature in Orwell Dev-C++ (which draws verticle lines to display the extent of for-loops, if-conditions, etc).
The is the real bug: These vertical lines slow down the cursor movement to an extreme degree. Yes, for some reason, the vertical lines are re-drawn every time the cursor is moved by one character in any direction. Very strange, and obviously unneeded.
This makes scrolling (only over certain sections of my code) pretty tedious on any machine slower than a Core 2 Duo, roughly.
For what it's worth, I really like the new lines. At first I wasn't so sure about them, but now depend on them.
orwelldevcpp
2012-07-15
orwelldevcpp
2012-07-15
Confirmed on my usual tests running Dev-C++ using a Phenom II at 800MHz.
I've simplified the code quite a bit now, but it's still inefficient.
orwelldevcpp
2012-07-15
Can I send you test version containing faster painting code?
Extropian314
2012-07-15
Great, sure; I'll monitor my SourceForge mail for that.
orwelldevcpp
2012-07-15
A general pre-beta disclaimer applies here: there are no guarantees that this version will not format your hard drive or do any other evil things to the stuff you edit with it. However, it's most likely that nothing weird will happen at all, because I use these version for everyday work. ;)
orwelldevcpp
2012-07-16
This one's a bit faster.
Extropian314
2012-07-16
Tried-out #2. I want to say that I see some speedup, but it's only very slight, if I do. Still seeing a big slowdown when there are three indent lines on-screen.
I haven't delved into the code... But I am literally seeing the indent-lines being "repainted" (even when they're nowhere near the moving cursor).. seems crazy.
orwelldevcpp
2012-07-17
@Extropian: I'm beginning to think that it's not the already optimized-to-death painting stuff that's to blame, but some form of code completion instead. Can you go to Tools >> Editor Options >> General >> Show mouseover hints, disable it, and try again?
orwelldevcpp
2012-07-22
Try this if you want. Please apply the mentioned disclaimer again, without the 'already properly tested by me' part. Simply put: please do not SAVE anything with this version.
Extropian314
2012-07-23
1) "Mouseover hints" was already disabled.
2) "optimized-to-death painting stuff.."
Well, except that all of the lines on-screen are repainted every time the text-cursor is moved one space anywhere. I.e., very sub-optimal.
This is still happening in the latest attached.