1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixed cursor repositioning for closing quotes

This commit is contained in:
Brian Fiete 2020-11-06 09:57:19 -08:00
parent fb23269e33
commit ab004faa78

View file

@ -3118,7 +3118,7 @@ namespace IDE.ui
{
if ((mData.mText[checkPos].mDisplayTypeId == (int32)wantElementType) &&
((keyChar == '"') || (keyChar == '\'') || (keyChar == ')') || (keyChar == ']') || (keyChar == '>') || (keyChar == '}')) &&
(IsCurrentPairClosing(checkPos)))
(IsCurrentPairClosing(cursorTextPos)))
{
mJustInsertedCharPair = false;
CursorTextPos++;