Skip to content

Commit

Permalink
Prevent text file being trimed by TextEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
jsjtxietian committed Sep 3, 2024
1 parent 7c38376 commit 3189a25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions editor/plugins/text_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,9 @@ Variant TextEditor::get_navigation_state() {
}

void TextEditor::trim_trailing_whitespace() {
code_editor->trim_trailing_whitespace();
}

void TextEditor::trim_final_newlines() {
code_editor->trim_final_newlines();
}

void TextEditor::insert_final_newline() {
Expand Down

0 comments on commit 3189a25

Please sign in to comment.