Skip to content

Commit

Permalink
Revert to previous modifier for creating rectangular selections
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
b4n committed Dec 6, 2018
1 parent afa6efe commit 33dafac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/editor.c
Expand Up @@ -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);

Expand Down

0 comments on commit 33dafac

Please sign in to comment.