Compact and indent on JSON cell editor

New setting for enabling the following feature:
when JSON data is loaded in the JSON cell editor, the text is
indented. Before JSON data written back into the cell, the text
is compacted.

See issue #1173

Minor adjustment in preference label: removed ":" for consistency.
This commit is contained in:
mgrojo
2017-11-23 00:37:17 +01:00
parent 24267749ea
commit 67c5ed963e
5 changed files with 55 additions and 7 deletions
+1
View File
@@ -55,6 +55,7 @@ private:
int dataType;
bool textNullSet;
bool isReadOnly;
bool mustIndentAndCompact;
enum DataSources {
TextBuffer,