TextEditor: In "gambas" mode, ALT+'
and ALT+"
now respectively add single quotes and double quotes around the current selection.
[GB.FORM.EDITOR] * NEW: TextEditor: In "gambas" mode, `ALT+'` and `ALT+"` now respectively add single quotes and double quotes around the current selection.
This commit is contained in:
parent
b374ba78de
commit
c9517c42ea
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ Public Sub OnKeyPress(hEditor As TextEditor) As Boolean
|
||||||
|
|
||||||
If Key.Alt Then
|
If Key.Alt Then
|
||||||
|
|
||||||
For Each sBraces In ["()", "{}", "[]"]
|
For Each sBraces In ["()", "{}", "[]", "\"\"", "''"]
|
||||||
If InStr(sBraces, Key.Text) Then
|
If InStr(sBraces, Key.Text) Then
|
||||||
ToggleAroundCurrentWord(hEditor, sBraces)
|
ToggleAroundCurrentWord(hEditor, sBraces)
|
||||||
Return True
|
Return True
|
||||||
|
|
Loading…
Reference in a new issue