summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/textdocumenthandler.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-08 22:37:46 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-08 22:38:24 +0200
commit9f2626385bf9c12a240f5fd17b90304c231fba5e (patch)
tree24ed7d30ac7e54f54f78cab0a2e1163e6298b014 /framework/src/domain/textdocumenthandler.h
parentf1e9fd9c4b5a166f8d0cbcec099470cbcea0f058 (diff)
downloadkube-9f2626385bf9c12a240f5fd17b90304c231fba5e.tar.gz
kube-9f2626385bf9c12a240f5fd17b90304c231fba5e.zip
Clear all formatting when converting to plain text.
We used to end up with whatever formatting the current cursor had. Task: https://phabricator.kde.org/T7160
Diffstat (limited to 'framework/src/domain/textdocumenthandler.h')
-rw-r--r--framework/src/domain/textdocumenthandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/src/domain/textdocumenthandler.h b/framework/src/domain/textdocumenthandler.h
index b8ae5bdb..43781940 100644
--- a/framework/src/domain/textdocumenthandler.h
+++ b/framework/src/domain/textdocumenthandler.h
@@ -86,6 +86,8 @@ public:
86 int fontSize() const; 86 int fontSize() const;
87 void setFontSize(int size); 87 void setFontSize(int size);
88 88
89 Q_INVOKABLE void resetFormat();
90
89Q_SIGNALS: 91Q_SIGNALS:
90 void documentChanged(); 92 void documentChanged();
91 void cursorPositionChanged(); 93 void cursorPositionChanged();