Nyall Dawson
|
ce9e57c0b0
|
Expose reformat code action right click menu for QgsCodeEditors which support
reformatting
|
2023-03-20 16:06:24 +10:00 |
|
Nyall Dawson
|
7b61080557
|
Port generic portions of reformat code action to base class
|
2023-03-20 16:06:24 +10:00 |
|
Nyall Dawson
|
ef90e3d624
|
Silence some unwanted clang-tidy warnings
|
2023-03-08 14:27:34 +10:00 |
|
Yoann Quenach de Quivillic
|
88a683fec3
|
Fix style
|
2023-01-11 07:33:27 +10:00 |
|
Yoann Quenach de Quivillic
|
a888d9c53d
|
Better autocompletion list handling
|
2023-01-11 07:33:27 +10:00 |
|
Nyall Dawson
|
941adaa4a8
|
Some more code to base class
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
7676789a49
|
Handle soft history scrolling in base class
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
955c72388d
|
Factor out interpreter
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
73b75af8c3
|
Move prompt handling to QgsCodeEditor
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
b7ffb0cb6f
|
Move responsibility for storing history of run commands to base class
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
3786cd178d
|
Move python console history handling to base QgsCodeEditor class
So that other non-python-console code editors can utilise this too
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
04dbee6eb7
|
Add a script language enum
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
dd4984eb49
|
Move some common code to base class
|
2022-10-24 16:46:11 +10:00 |
|
Nyall Dawson
|
fcb83a7a30
|
Fix code folding not shown for non-python code editor classes
|
2022-10-10 14:01:24 +10:00 |
|
Nyall Dawson
|
39a4a63890
|
Promote to enum class
|
2022-10-10 14:01:24 +10:00 |
|
Nyall Dawson
|
ed54489a09
|
Move some useful python console methods to base class
|
2022-10-10 14:01:24 +10:00 |
|
Antoine
|
78e6c5cece
|
static ::instance()
|
2021-12-13 09:36:23 +01:00 |
|
Nyall Dawson
|
19565032e3
|
const ALL the things
Use clang-tidy const correctness fixit to add const to all
variables which it can
|
2021-08-13 15:25:15 +10:00 |
|
Nyall Dawson
|
8d3e028d15
|
Cleanup raw margin manipulation used to hide holding controls, use proper methods
|
2020-10-13 14:14:53 +10:00 |
|
Nyall Dawson
|
1ac59415ec
|
Cleanup handling of margins in QgsCodeEditor and subclasses
|
2020-10-13 14:14:53 +10:00 |
|
Nyall Dawson
|
0a3f40a191
|
Allow error indicator colors to be controlled for code editor color scheme
|
2020-10-13 10:47:21 +10:00 |
|
Nyall Dawson
|
5c8013df61
|
[console] Fix exception when running scripts (followup cce7aa7)
and move responsibility for showing warning messages to QgsCodeEditor
base class, so that the same code can be used by other dialog script editors
|
2020-10-12 13:06:34 +10:00 |
|
Nyall Dawson
|
aaa813a15a
|
Split indentation guide color from edge color in code editor settings
Reusing the same color resulted in too subtle indentation guides
|
2020-10-12 11:53:34 +10:00 |
|
Nyall Dawson
|
e29f17cf2f
|
Use edge color for tab indentation guide in code editors
|
2020-10-11 15:25:13 +10:00 |
|
Even Rouault
|
a76670e521
|
QStringLiteral -> QLatin1String changes generated by scripts/qstringfixup.sh --all
|
2020-10-11 12:30:58 +10:00 |
|
Nyall Dawson
|
c9fb3620db
|
Fix fold icon colors in code editors -- allow these to be set so that
they can match the editor theme
|
2020-10-07 15:06:02 +10:00 |
|
Nyall Dawson
|
3098fa5906
|
Move code editor color scheme tracking to dedicated registry,
QgsCodeEditorColorSchemeRegistry
This cleans up the code, and makes it possible for creation of plugins
which add new code editor color schemes!
|
2020-10-06 17:11:34 +10:00 |
|
Nyall Dawson
|
1bafa2f66f
|
Code shuffle: move QgsCodeEditor classes to their own folder
|
2020-10-06 17:11:34 +10:00 |
|