Robert Roessler wrote:

SourceForge.net wrote:

Bugs item #1356917, was opened at 2005-11-14 23:29
Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1356917&group_id=2439
...
Submitted By: Don HO (donho)
Assigned to: Nobody/Anonymous (nobody)
Summary: C++ lexer bug

Initial Comment:
Scintilla version 1.66, c++ lexer.

I just noticed that the fold level increase even with
the comment :
//{
and the fold level decrease with comment also :
//}

Is it an intentional behaviour?


Just to check, is this with the straight RELEASE of 1.66, or with the current CVS version ("1.66+")?

I ask because I know that there have just been some changes to this lexer - well, to the CVS version.

OTOH, I just tried it, and this behavior is confirmed in the latest CVS builds of Scintilla and SciTE.

I also do not know if it is intentional. :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest


This is an old behavior (it is a feature actually) - user can set folding points in the code using this feature. BUT, there is a bug there that a user folding point ('//{ or '//}') is *matched* against a non-user folding point ('}' or '{') and can break the folding

Eran



_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to