aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/PlainTextEditorPage.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-25 22:41:32 +0000
committersaturneric <[email protected]>2024-11-25 22:41:32 +0000
commit60c40b3ef9b00cbb686d495b32aa6031f1ec62d2 (patch)
treec7a2e158cab7d9050256c6b1cc9c63f7898e6c94 /src/ui/widgets/PlainTextEditorPage.h
parentfeat: support drop down and open directory (diff)
downloadGpgFrontend-60c40b3ef9b00cbb686d495b32aa6031f1ec62d2.tar.gz
GpgFrontend-60c40b3ef9b00cbb686d495b32aa6031f1ec62d2.zip
fix: handling of split CRLF sequences during text insertion
Diffstat (limited to 'src/ui/widgets/PlainTextEditorPage.h')
-rw-r--r--src/ui/widgets/PlainTextEditorPage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widgets/PlainTextEditorPage.h b/src/ui/widgets/PlainTextEditorPage.h
index 18ed41b2..9c2edc6e 100644
--- a/src/ui/widgets/PlainTextEditorPage.h
+++ b/src/ui/widgets/PlainTextEditorPage.h
@@ -115,6 +115,7 @@ class PlainTextEditorPage : public QWidget {
bool read_done_ = false; ///<
size_t read_bytes_ = 0; ///<
bool is_crlf_ = false; ///<
+ bool last_insert_has_partial_cr_ = false;
private slots: