mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-22 03:51:25 -06:00
Error indicators in JSON mode editor
Improve the feedback to the user for invalid JSON data using error indicators like the SQL editor. Do not select all the text in the JSON mode, in order to see the syntax highlighting while browsing. Fix the logic in the case of not compacting/prettifying. Change "Indent" to "Pretty print" in preferences for coherence to JSON Export dialog (actually it is not only indentation). Do not underline error style font, so it does not overlap with error indicators. See issue #1173
This commit is contained in:
@@ -388,7 +388,7 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="QCheckBox" name="checkIndentCompact">
|
||||
<property name="text">
|
||||
<string>Indent text on loading. Compact on saving.</string>
|
||||
<string>Pretty print on loading. Compact on saving.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user