SF.net SVN: geany:[4330] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Oct 16 16:36:09 UTC 2009
Revision: 4330
http://geany.svn.sourceforge.net/geany/?rev=4330&view=rev
Author: ntrel
Date: 2009-10-16 16:36:09 +0000 (Fri, 16 Oct 2009)
Log Message:
-----------
Improve CamelCase word part autocompletion for runs of capital letters.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-10-16 16:25:17 UTC (rev 4329)
+++ trunk/ChangeLog 2009-10-16 16:36:09 UTC (rev 4330)
@@ -8,6 +8,8 @@
Improve word part autocompletion so AC list is not cancelled and
reshown (this also stops the selection changing).
Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
+ * src/editor.c:
+ Improve CamelCase word part autocompletion for runs of capital letters.
2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2009-10-16 16:25:17 UTC (rev 4329)
+++ trunk/src/editor.c 2009-10-16 16:36:09 UTC (rev 4330)
@@ -803,7 +803,7 @@
{
if (!ptr[0])
break;
- if (g_ascii_isupper(*ptr))
+ if (g_ascii_isupper(*ptr) && g_ascii_islower(ptr[1]))
{
ptr[0] = '\0';
partial_complete(editor->sci, text);
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