[geany/geany] 33dafa: Revert to previous modifier for creating rectangular selections

Colomban Wendling git-noreply at xxxxx
Thu Dec 6 21:29:27 UTC 2018


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 06 Dec 2018 21:29:27 UTC
Commit:      33dafac8f0713de79f04e2ebce2399fb914d6792
             https://github.com/geany/geany/commit/33dafac8f0713de79f04e2ebce2399fb914d6792

Log Message:
-----------
Revert to previous modifier for creating rectangular selections

This is the default since forever, so don't change it on the users,
no matter what is the new default in Scintilla 3.10.0.

Fixes #2010.


Modified Paths:
--------------
    src/editor.c

Modified: src/editor.c
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -4936,6 +4936,9 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor)
 	/* necessary for column mode editing, implemented in Scintilla since 2.0 */
 	SSM(sci, SCI_SETADDITIONALSELECTIONTYPING, 1, 0);
 
+	/* rectangular selection modifier for creating rectangular selections with the mouse */
+	SSM(sci, SCI_SETRECTANGULARSELECTIONMODIFIER, SCMOD_CTRL, 0);
+
 	/* virtual space */
 	SSM(sci, SCI_SETVIRTUALSPACEOPTIONS, editor_prefs.show_virtual_space, 0);
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list