mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Yet another cursor logic change for sym rename - typing at start
This commit is contained in:
parent
833d2854a3
commit
ce42dc4fbe
1 changed files with 1 additions and 2 deletions
|
@ -719,8 +719,7 @@ namespace IDE.ui
|
|||
editWidgetContent.mData.mUndoManager.Add(insertTextAction);
|
||||
editWidgetContent.PhysInsertAtCursor(newStr, false);
|
||||
|
||||
if (((strLenDiff > 0) && (spanStart + strLenDiff < cursorPos)) ||
|
||||
((strLenDiff < 0) && (spanStart + strLenDiff <= cursorPos)))
|
||||
if (spanStart + strLenDiff <= cursorPos)
|
||||
cursorPos += strLenDiff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue