summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-30 11:47:28 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-30 11:47:28 +0200
commit838eb5a0fdcfa0e0f368a6d33a0f712db90c9719 (patch)
tree565c508efbc85bac44c367ba697277882b0c1df6 /editor/code_editor.h
parentffad49f1693cc292df88955573e8fe197a41bcd0 (diff)
parentb4c1634b52f619ca8987b67ecee2640310781aa7 (diff)
downloadredot-engine-838eb5a0fdcfa0e0f368a6d33a0f712db90c9719.tar.gz
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index 75a2a68d58..af33a3fac8 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -224,6 +224,7 @@ protected:
public:
void trim_trailing_whitespace();
+ void trim_final_newlines();
void insert_final_newline();
enum CaseStyle {