fix(projects): do not store a copy of content in ActiveDocument

This commit is contained in:
Akash Yadav
2023-03-31 20:24:51 +05:30
parent ea75b9592b
commit 20376773cc
4 changed files with 10 additions and 51 deletions
@@ -755,7 +755,7 @@ public class IDEEditor extends CodeEditor implements IEditor, ILspEditor {
new Position(end.line, end.column, end.index));
final var changedText = event.getChangedText().toString();
final var changeEvent = new DocumentChangeEvent(file, changedText, ++fileVersion, type,
final var changeEvent = new DocumentChangeEvent(file, changedText, getText().toString(), ++fileVersion, type,
changeDelta, changeRange);
// Notify FileManager first