SF.net SVN: geany: [998] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Nov 14 23:42:13 UTC 2006
Revision: 998
http://svn.sourceforge.net/geany/?rev=998&view=rev
Author: eht16
Date: 2006-11-14 15:42:13 -0800 (Tue, 14 Nov 2006)
Log Message:
-----------
Tried to fix wrong styling at "end.".
Modified Paths:
--------------
trunk/ChangeLog
trunk/scintilla/LexPascal.cxx
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-11-14 17:44:13 UTC (rev 997)
+++ trunk/ChangeLog 2006-11-14 23:42:13 UTC (rev 998)
@@ -1,7 +1,12 @@
+2006-11-14 Enrico Tröger <enrico.troeger at uvena.de>
+
+ * scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
+
+
2006-11-14 Frank Lanitz <frank at frank.uvena.de>
- * po/zh_CN.po, src/about.c, configure.in, THANKS:
- Added simple Chinese (zh_CN) translation (Thanks to
+ * po/zh_CN.po, src/about.c, configure.in, THANKS:
+ Added simple Chinese (zh_CN) translation (Thanks to
Dormouse Young <mouselinux at 163.com>)
Modified: trunk/scintilla/LexPascal.cxx
===================================================================
--- trunk/scintilla/LexPascal.cxx 2006-11-14 17:44:13 UTC (rev 997)
+++ trunk/scintilla/LexPascal.cxx 2006-11-14 23:42:13 UTC (rev 998)
@@ -187,10 +187,11 @@
}
} else if (state == SCE_C_IDENTIFIER) {
bool bDoublePoint = ((ch == '.') && (chPrev == '.'));
- if ((!iswordchar(ch) && ch != '$' && ch != '#' && (ch != '@' || !bInAsm)) || bDoublePoint) {
+ bool bSinglePoint = (ch == '.');
+
+ if ((!iswordchar(ch) && ch != '$' && ch != '#' && (ch != '@' || !bInAsm)) || bDoublePoint || bSinglePoint) {
if (bDoublePoint) i--;
int lStateChange = classifyWordPascal(styler.GetStartSegment(), i - 1, keywordlists, styler, bInClassDefinition, bInAsm);
-
if(lStateChange == 1) {
styler.SetLineState(currentLine, 1);
bInClassDefinition = true;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list