Bugs item #1681928, was opened at 2007-03-16 02:06
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=1681928&group_id=2439
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scintilla
Group: Bug
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: MSSQL lexer - bug in folding function
Initial Comment:
There is a small bug in MsSQL lexer in folding function. MsSQL is case
insensitive, but folding function performs recogniction only on lower case.
Lines that seams to cause problems(LexMSSQL.cxx):
311: if (ch == 'b' || ch == 'e') {
Should be: if (ch == 'b' || ch == 'e' || ch=='B' || ch=='E') {
322: if (strcmp(s, "end") == 0) {
Should be: if (strcmpi(s, "end") == 0) {
or should be :if (strcmp(ToLower(s), "end") == 0) {
Best regards,
Krzemo.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1681928&group_id=2439
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest