SF.net SVN: geany:[2897] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Aug 19 11:15:15 UTC 2008
Revision: 2897
http://geany.svn.sourceforge.net/geany/?rev=2897&view=rev
Author: ntrel
Date: 2008-08-19 11:15:15 +0000 (Tue, 19 Aug 2008)
Log Message:
-----------
Fix not using auto-completion in strings and comments (patch by
Jason Oster, thanks; fixes #2057979).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-08-18 16:51:45 UTC (rev 2896)
+++ trunk/ChangeLog 2008-08-19 11:15:15 UTC (rev 2897)
@@ -1,3 +1,10 @@
+2008-08-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/editor.c:
+ Fix not using auto-completion in strings and comments (patch by
+ Jason Oster, thanks; fixes #2057979).
+
+
2008-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2008-08-18 16:51:45 UTC (rev 2896)
+++ trunk/src/editor.c 2008-08-19 11:15:15 UTC (rev 2897)
@@ -2760,7 +2760,7 @@
return FALSE;
break;
}
- return !(is_comment_style(lexer, prev_style, style) &&
+ return !(is_comment_style(lexer, prev_style, style) ||
is_string_style(lexer, prev_style, style));
}
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