aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/jsoneditor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* TextEditor: remove text editor action handlerDavid Schulz2024-04-091-2/+1
| | | | | | | | | | Give each editor a context and register editor actions individually for that context. This removes the need to tell the action handler the current editor. Additionally all actions are now available in editor widgets outside of the EditorManager. Change-Id: I0109866b180889762f8bd8aa07874d8d7c55bfa6 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
* TextEditor: Use new setup pattern for markdown and json editorhjk2024-01-291-13/+23
| | | | | | | And remove the now-empty plugin pimpl. Change-Id: Ie00b747a4a41bc6efc84ea43db81a71e8364df3d Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Utils: Proliferate use of <utils/mimeconstants.h>Alessandro Portale2023-12-191-2/+3
| | | | | | | | This deduplicates several mime type strings. Change-Id: Ib1746387e233ca5b7134e65859b5ec1c7832b8e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix UI text capitalization, punctuation, and phrasingLeena Miettinen2023-10-201-1/+1
| | | | | | Change-Id: I41951660a464601063e5cedd417db2cb7cd37e44 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* TextEditor: add json auto completerDavid Schulz2023-08-291-1/+71
| | | | | | Change-Id: If502ccb3b75d3c5a5d7ae555acfeb51644ffcd71 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* JsonEditor: Fix warning about unused argumentJarek Kobus2023-08-291-0/+1
| | | | | | | Amends ddb4aa01516972c9fd614b77a57a9218c7bf49ec Change-Id: I722b5615bec11796a9a003b288ced8d0da7b1d4b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* TextEditor: add json indenterDavid Schulz2023-08-281-0/+95
Use an EditorFactory that sets up a custom indenter for json files. Change-Id: Id5ade9f9f551835131a62e381a972f0b6032e7c0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>