clear undo history for first file load
This commit is contained in:
@@ -258,6 +258,7 @@ public partial class SharpIdeCodeEdit : CodeEdit
|
||||
_fileChangingSuppressBreakpointToggleEvent = true;
|
||||
SetText(await readFileTask);
|
||||
_fileChangingSuppressBreakpointToggleEvent = false;
|
||||
ClearUndoHistory();
|
||||
if (fileLinePosition is not null) SetFileLinePosition(fileLinePosition.Value);
|
||||
});
|
||||
_ = Task.GodotRun(async () =>
|
||||
|
||||
Reference in New Issue
Block a user