We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e732dd7 commit 24f25b8Copy full SHA for 24f25b8
1 file changed
source/text-editor/editor.cpp
@@ -104,6 +104,7 @@ void Editor::readFile(){
104
turbo::call(scintilla, SCI_APPENDTEXT, readBytes, (sptr_t)buffer);
105
remainingBytes -= readBytes;
106
}
107
+ turbo::call(scintilla, SCI_EMPTYUNDOBUFFER, 0, 0);
108
turbo::call(scintilla, SCI_SETSAVEPOINT, 0, 0);
109
updateAll();
110
0 commit comments