mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +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.PhysInsertAtCursor(newStr, false);
|
||||
|
||||
if (spanStart <= cursorPos)
|
||||
if (spanStart < cursorPos)
|
||||
cursorPos += strLenDiff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue