mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Fixed cursor repositioning for closing quotes
This commit is contained in:
parent
fb23269e33
commit
ab004faa78
1 changed files with 1 additions and 1 deletions
|
@ -3118,7 +3118,7 @@ namespace IDE.ui
|
||||||
{
|
{
|
||||||
if ((mData.mText[checkPos].mDisplayTypeId == (int32)wantElementType) &&
|
if ((mData.mText[checkPos].mDisplayTypeId == (int32)wantElementType) &&
|
||||||
((keyChar == '"') || (keyChar == '\'') || (keyChar == ')') || (keyChar == ']') || (keyChar == '>') || (keyChar == '}')) &&
|
((keyChar == '"') || (keyChar == '\'') || (keyChar == ')') || (keyChar == ']') || (keyChar == '>') || (keyChar == '}')) &&
|
||||||
(IsCurrentPairClosing(checkPos)))
|
(IsCurrentPairClosing(cursorTextPos)))
|
||||||
{
|
{
|
||||||
mJustInsertedCharPair = false;
|
mJustInsertedCharPair = false;
|
||||||
CursorTextPos++;
|
CursorTextPos++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue