SF.net SVN: geany:[4329] trunk/scintilla

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Oct 16 16:25:17 UTC 2009


Revision: 4329
          http://geany.svn.sourceforge.net/geany/?rev=4329&view=rev
Author:   ntrel
Date:     2009-10-16 16:25:17 +0000 (Fri, 16 Oct 2009)

Log Message:
-----------
Revert temporary change for scintilla to say if tab was used for autocompletion.

Modified Paths:
--------------
    trunk/scintilla/ScintillaBase.cxx
    trunk/scintilla/ScintillaBase.h

Modified: trunk/scintilla/ScintillaBase.cxx
===================================================================
--- trunk/scintilla/ScintillaBase.cxx	2009-10-16 16:19:51 UTC (rev 4328)
+++ trunk/scintilla/ScintillaBase.cxx	2009-10-16 16:25:17 UTC (rev 4329)
@@ -166,7 +166,7 @@
 			EnsureCaretVisible();
 			return 0;
 		case SCI_TAB:
-			AutoCompleteCompleted('\t');
+			AutoCompleteCompleted();
 			return 0;
 		case SCI_NEWLINE:
 			AutoCompleteCompleted();
@@ -336,7 +336,7 @@
 	NotifyParent(scn);
 }
 
-void ScintillaBase::AutoCompleteCompleted(char key) {
+void ScintillaBase::AutoCompleteCompleted() {
 	int item = ac.lb->GetSelection();
 	char selected[1000];
 	selected[0] = '\0';
@@ -357,7 +357,6 @@
 	scn.listType = listType;
 	Position firstPos = ac.posStart - ac.startLen;
 	scn.lParam = firstPos;
-	scn.ch = key;
 	scn.text = listSelected.c_str();
 	NotifyParent(scn);
 

Modified: trunk/scintilla/ScintillaBase.h
===================================================================
--- trunk/scintilla/ScintillaBase.h	2009-10-16 16:19:51 UTC (rev 4328)
+++ trunk/scintilla/ScintillaBase.h	2009-10-16 16:25:17 UTC (rev 4329)
@@ -76,7 +76,7 @@
 	int AutoCompleteGetCurrentText(char *buffer);
 	void AutoCompleteCharacterAdded(char ch);
 	void AutoCompleteCharacterDeleted();
-	void AutoCompleteCompleted(char key = '\0');
+	void AutoCompleteCompleted();
 	void AutoCompleteMoveToCurrentWord();
 	static void AutoCompleteDoubleClick(void* p);
 


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