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

Property [Inline] changes, large container/string fixes, reload fixes

This commit is contained in:
Brian Fiete 2019-12-09 10:28:56 -08:00
parent c531ade968
commit becd673914
9 changed files with 45 additions and 37 deletions

View file

@ -354,7 +354,7 @@ namespace IDE.ui
editWidgetContent.mHadPersistentTextPositionDeletes = false;
editWidgetContent.mSelection = EditSelection(pos, pos + len);
editWidgetContent.DeleteSelection();
editWidgetContent.DeleteSelection(false);
// If we have modified a section of text containing breakpoint (for example), this gets encoded by
// 'adds' of the new lines and then 'removes' of the old lines. We do a Levenshtein search for
@ -420,7 +420,7 @@ namespace IDE.ui
editWidgetContent.CursorTextPos = posTo;
var subStr = scope String();
subStr.Append(text, posFrom, len);
editWidgetContent.InsertAtCursor(subStr);
editWidgetContent.InsertAtCursor(subStr, .NoMoveCursor);
if (cmdParts.Count >= 5)
{