[anjuta-extras] sci: Allow typing on all lines of a rectangular selection



commit 16ba2e4f161e8400e11d92525e2bbccc37dd060e
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Tue Feb 2 15:44:24 2010 +0100

    sci: Allow typing on all lines of a rectangular selection

 plugins/scintilla/aneditor.cxx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/scintilla/aneditor.cxx b/plugins/scintilla/aneditor.cxx
index cb6c84a..b5b92c7 100644
--- a/plugins/scintilla/aneditor.cxx
+++ b/plugins/scintilla/aneditor.cxx
@@ -136,6 +136,8 @@ AnEditor::AnEditor(PropSetFile* p) {
 	SendEditor(SCI_USEPOPUP, false);
 	/* Set default editor mode */
 	SendEditor(SCI_SETEOLMODE, SC_EOL_LF);
+	/* Allow multiple typing */
+	SendEditor(SCI_SETADDITIONALSELECTIONTYPING, true);
 	
 #if 0
 	// Trap 'TAB' key for automatic indentation.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]