diff options
Diffstat (limited to 'Applications/TextEditor/TextEditorWidget.h')
-rw-r--r-- | Applications/TextEditor/TextEditorWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Applications/TextEditor/TextEditorWidget.h b/Applications/TextEditor/TextEditorWidget.h index 110b72be93..92bf25bd47 100644 --- a/Applications/TextEditor/TextEditorWidget.h +++ b/Applications/TextEditor/TextEditorWidget.h @@ -51,6 +51,7 @@ public: }; void set_preview_mode(PreviewMode); + void set_auto_detect_preview_mode(bool value) { m_auto_detect_preview_mode = value; } private: TextEditorWidget(); @@ -107,6 +108,7 @@ private: bool m_document_dirty { false }; bool m_document_opening { false }; + bool m_auto_detect_preview_mode { false }; PreviewMode m_preview_mode { PreviewMode::None }; }; |