Skip to content
Snippets Groups Projects
Commit 5dd77bba authored by Benoît Minisini's avatar Benoît Minisini :church:
Browse files

TextEditor: Correctly handle quotes at the beginning of the line without crashing.

[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle quotes at the beginning of the line without crashing.
parent 80a3cb58
No related branches found
No related tags found
No related merge requests found
Pipeline #914062758 passed
......@@ -180,7 +180,7 @@ Public Sub OnKeyPress(hEditor As TextEditor) As Boolean
iPos = InStr(sSearch, sCar)
If iPos = 0 Then Return
If InStr(Me.STRING_DELIM, sCar) And If String.Mid$(sLine, X - 1, 1) = Me.ESCAPE_CHAR Then Return
If X >= 2 And If InStr(Me.STRING_DELIM, sCar) And If String.Mid$(sLine, X - 1, 1) = Me.ESCAPE_CHAR Then Return
sSearch = ""
If CloseBraces Then sSearch = Me.BRACES_CLOSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment