21 Commits

Author SHA1 Message Date
Nyall Dawson
bb8cb8b6b0 Fix duplicate margins show in python console 2020-10-05 18:37:46 +10:00
Nyall Dawson
bc55102eb8 Move icon references back out of QgsPythonConsoleBase 2020-10-05 18:37:46 +10:00
Nyall Dawson
e66a0a025b Move more code out of QgsPythonConsoleBase 2020-10-05 18:37:46 +10:00
Nyall Dawson
d9782a12f5 Move more code to QgsCodeEditorPython base class 2020-10-05 13:24:46 +10:00
Nyall Dawson
e2ff63da48 Copy font setting logic from QgsPythonConsoleBase to QgsCodeEditor 2020-10-05 13:24:46 +10:00
Salvatore Larosa
2cf6d11997 [pyqgis-console] revert changes for handy commands 2020-10-04 13:19:26 +10:00
Salvatore Larosa
74631215e6 [pyqgis-console] fix missing import 2020-10-04 13:19:26 +10:00
Salvatore Larosa
8533d9a89b [pyqgis-console] restore the correct prompt 2020-10-04 13:19:26 +10:00
Nyall Dawson
5ed37da0b8 Don't hardcode font family for python editor line numbers 2020-10-04 05:02:57 +10:00
Nyall Dawson
ad946d45c8 Ensure colors in Python console match colors for Python editors
used elsewhere in the application
2020-10-04 05:02:57 +10:00
Nyall Dawson
89ace9aeca QgsPythonConsoleBase should use the standard QgsCodeEditorPython
class as a base class

Actually it should be completely folded into QgsCodeEditorPython
so that we have a single definitive Python code editor widget, but
this is a first step toward that...
2020-10-04 05:02:57 +10:00
Salvatore Larosa
b696b465ab Fix indentation (which doing start up of python console very slow) 2020-09-20 06:47:11 +10:00
Richard Duivenvoorde
982e4f1262 Rename BaseClass to QgsPythonConsoleBase 2020-09-03 16:03:25 +02:00
Richard Duivenvoorde
701d323509 Remove redundant TODO 2020-09-03 15:49:06 +02:00
Richard Duivenvoorde
09fc2e6aa9 Merged console and editor settings stuff
So the Editor and Console etc share one set of settings:
- Merged Editor and Console settings-tabs in one Settings tab in the settings dialog
- Removed the Editor ui from the settings dialog
- Changed all names of settings in Editor so it uses the normal/console settings
2020-08-27 22:53:21 +02:00
Richard Duivenvoorde
a48e85a512 Move color info to base class and use those 2020-08-27 19:03:03 +02:00
Richard Duivenvoorde
354b9598ec Move font, margin and caret code to baseclass 2020-08-27 18:26:54 +02:00
Richard Duivenvoorde
ab83e57cc8 Context menu 'Search selected in PyQGIS docs' in Console panes 2020-07-08 21:47:08 +02:00
Richard Duivenvoorde
a1fda50f95 Move setLexers to base 2020-07-08 21:17:27 +02:00
Richard Duivenvoorde
180a630363 Move icons to base and add some to items 2020-07-05 11:48:27 +02:00
Richard Duivenvoorde
5889f7df78 Add simple BaseClass 2020-07-04 16:36:47 +02:00