Page 1 of 1
Editor folding problem when !macro
Posted: Wed Apr 26, 2006 12:01 pm
by Psychophanta
I have activated folding when Macro is found but not when !macro is found, but editor confuses it.
Posted: Wed Apr 26, 2006 6:35 pm
by freak
The folding is a simple word matching check for speed reasons.
It will match any occurance of 'Macro' (case insensitive), no matter if its an asm keyword or not
Posted: Wed Apr 26, 2006 7:01 pm
by Psychophanta
freak wrote:The folding is a simple word matching check for speed reasons.
It will match any occurance of 'Macro' (case insensitive), no matter if its an asm keyword or not
Timo, to solve it perhaps you could treat ! same as ; for the folding matter.

Posted: Wed Apr 26, 2006 7:09 pm
by IceSoft
Here a hint:
Add a space character ' ' in front and behind the folding keywords.
Example:
Old: 'Macro'
New: ' Macro '
The new one match no longer the '!Macro'.
Ok it is not the perfect one...but the better one.
Posted: Wed Apr 26, 2006 7:26 pm
by Trond
There is still the problem with autocompletion after !.
Posted: Sat May 13, 2006 3:52 pm
by Psychophanta
Bug persists in PB4.0

Posted: Sat May 13, 2006 4:27 pm
by freak
As said above, this is by design.. it is not a bug.