User forums > General (but related to Code::Blocks)

editor performance

<< < (3/3)

Hans Henrik:
i feel that the editor is slow when writing fast on big files...
(writing Really fast, with autoIt)

HotKeySet("ø", "DoStuffv2")
Func DoStuffv2() ; DoStuff version 2
$Name = "HHB_EXHAUST_BUGFIX"
Send("{SHIFTDOWN}{DOWN}{LEFT}{SHIFTUP}{CTRLDOWN}c{CTRLUP}{BACKSPACE}")
$inCopy = ClipGet()
$inCopy2 = StringRegExpReplace($inCopy, "^[ \t]+", "")
; CUS CODE::BLOCKS CANT TAKE IT THIS FAST ='(
Send("{SHIFTDOWN}3{SHIFTUP}ifdef " & $Name & "{ENTER}" & $inCopy & "{ENTER}{SHIFTDOWN}3{SHIFTUP}else // if not " & $Name & "{ENTER}" & $inCopy2 & "{ENTER}{SHIFTDOWN}3{SHIFTUP}endif // " & $Name)

EndFunc

while 1
sleep (1000)
Wend.

will freeze codeblocks and make it come up with lots of weird "white boxes" in big files

ollydbg:

--- Quote from: Hans Henrik on January 05, 2009, 06:50:28 pm ---i feel that the editor is slow when writing fast on big files...
(writing Really fast, with autoIt)

HotKeySet("ø", "DoStuffv2")
Func DoStuffv2() ; DoStuff version 2
$Name = "HHB_EXHAUST_BUGFIX"
Send("{SHIFTDOWN}{DOWN}{LEFT}{SHIFTUP}{CTRLDOWN}c{CTRLUP}{BACKSPACE}")
$inCopy = ClipGet()
$inCopy2 = StringRegExpReplace($inCopy, "^[ \t]+", "")
; CUS CODE::BLOCKS CANT TAKE IT THIS FAST ='(
Send("{SHIFTDOWN}3{SHIFTUP}ifdef " & $Name & "{ENTER}" & $inCopy & "{ENTER}{SHIFTDOWN}3{SHIFTUP}else // if not " & $Name & "{ENTER}" & $inCopy2 & "{ENTER}{SHIFTDOWN}3{SHIFTUP}endif // " & $Name)

EndFunc

while 1
sleep (1000)
Wend.

will freeze codeblocks and make it come up with lots of weird "white boxes" in big files


--- End quote ---

The font of your post is too small. I tried IE and FF, but it's the same.

rickg22:
He wrote:

--- Code: ---HotKeySet("ø", "DoStuffv2")
Func DoStuffv2() ; DoStuff version 2
$Name = "HHB_EXHAUST_BUGFIX"
Send("{SHIFTDOWN}{DOWN}{LEFT}{SHIFTUP}{CTRLDOWN}c{CTRLUP}{BACKSPACE}")
$inCopy = ClipGet()
$inCopy2 = StringRegExpReplace($inCopy, "^[ \t]+", "")
; CUS CODE::BLOCKS CANT TAKE IT THIS FAST ='(
Send("{SHIFTDOWN}3{SHIFTUP}ifdef " & $Name & "{ENTER}" & $inCopy & "{ENTER}{SHIFTDOWN}3{SHIFTUP}else // if not " & $Name & "{ENTER}" & $inCopy2 & "{ENTER}{SHIFTDOWN}3{SHIFTUP}endif // " & $Name)

EndFunc

while 1
sleep (1000)
Wend.

will freeze codeblocks and make it come up with lots of weird "white boxes" in big files

--- End code ---

Kalith:
Hum, just reporting the same problem on Ubuntu, from the very first version I had to the latest one (8.10 I think).
I've installed Ubuntu a few months ago, so I can't tell when this problem appeared.
But it is actually really annoying, because text selection is laggy : sometimes you select less text than you'd expect.

Navigation

[0] Message Index

[*] Previous page

Go to full version