Read and respond to this message at:
After examining the sources I have found the problem, and here it is a solution
The problem: the LexUser.cxx uses different styles (SCE_USER_BLOCK_OPERATOR_OPEN
and SCE_USER_BLOCK_OPERATOR_CLOSE) to mark the beginning and the ending of a
block, but the BraceMatch function finds matches only with the same style.
I have changed the mask to STYLE_MAX in the LexUser and set the ..._OPERATOR_CLOSE
constant to 44 (12 + 32), so it has the same lower 5 bits as the ..._OPEN value.
Now the BraceMatch masks the 6-8th bit, so it does not differentiate among the
two SCE_USER_... but the folding routine does, making it possible to fold the
text. One problem persists yet: the 6th bit represents an indicator, so we must
set the indicators.style in ViewStyle.cxx to INDIC_HIDDEN (the program does
not use indicators, so it is not harmful to change the code), and we can now
use braces as folding characters with brace matching.
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: