mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Refine multiline selection behaviour in editors
This commit is contained in:
parent
fdfe0cee23
commit
9d4b80e2f1
@ -148,6 +148,7 @@ class Editor(QsciScintilla):
|
||||
|
||||
self.SendScintilla(self.SCI_SETADDITIONALSELECTIONTYPING, 1)
|
||||
self.SendScintilla(self.SCI_SETMULTIPASTE, 1)
|
||||
self.SendScintilla(self.SCI_SETVIRTUALSPACEOPTIONS, self.SCVS_RECTANGULARSELECTION)
|
||||
|
||||
# self.setWrapMode(QsciScintilla.WrapCharacter)
|
||||
self.setWhitespaceVisibility(QsciScintilla.WsVisibleAfterIndent)
|
||||
|
@ -41,6 +41,7 @@ QgsCodeEditor::QgsCodeEditor( QWidget *parent, const QString &title, bool foldin
|
||||
|
||||
SendScintilla( SCI_SETADDITIONALSELECTIONTYPING, 1 );
|
||||
SendScintilla( SCI_SETMULTIPASTE, 1 );
|
||||
SendScintilla( SCI_SETVIRTUALSPACEOPTIONS, SCVS_RECTANGULARSELECTION );
|
||||
}
|
||||
|
||||
// Workaround a bug in QScintilla 2.8.X
|
||||
|
Loading…
x
Reference in New Issue
Block a user