diff options
author | Marius Sincovici <smaryus@gmail.com> | 2019-07-13 06:27:17 +0200 |
---|---|---|
committer | Marius Sincovici <smaryus@gmail.com> | 2019-08-07 20:07:16 +0000 |
commit | a96ed0d4a017047eabf85be1ccc22e9bae576338 (patch) | |
tree | 370fe2f5d73b615b2b7a4818fc038107bbc6a8b8 /src/plugins/texteditor/texteditor.h | |
parent | 5edb390bac7b47763669d1f6451fab965a3bd825 (diff) |
Add option to configure file line ending for an open document
Add into the text editor toolbar a combo box which allows to change
the line endings for an open document.
The supported line endings are LF and CRLF.
Change-Id: I029ba7867e0087b162edba7aba1bd1d1e966fd69
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.h')
-rw-r--r-- | src/plugins/texteditor/texteditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/texteditor.h b/src/plugins/texteditor/texteditor.h index 08b6738a5eb..d5a9a68ead1 100644 --- a/src/plugins/texteditor/texteditor.h +++ b/src/plugins/texteditor/texteditor.h @@ -381,6 +381,8 @@ public: void unfold(); void selectEncoding(); void updateTextCodecLabel(); + void selectLineEnding(int index); + void updateTextLineEndingLabel(); void gotoBlockStart(); void gotoBlockEnd(); |