mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed off-by-one in symbol rename cursor adjustment
This commit is contained in:
parent
45ff0b341b
commit
81057f7b5a
1 changed files with 1 additions and 1 deletions
|
@ -719,7 +719,7 @@ namespace IDE.ui
|
||||||
editWidgetContent.mData.mUndoManager.Add(insertTextAction);
|
editWidgetContent.mData.mUndoManager.Add(insertTextAction);
|
||||||
editWidgetContent.PhysInsertAtCursor(newStr, false);
|
editWidgetContent.PhysInsertAtCursor(newStr, false);
|
||||||
|
|
||||||
if (spanStart <= cursorPos)
|
if (spanStart < cursorPos)
|
||||||
cursorPos += strLenDiff;
|
cursorPos += strLenDiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue