PrEditor 0.0.0.dev1__py2.py3-none-any.whl → 0.1.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of PrEditor might be problematic. Click here for more details.
- PrEditor-0.1.0.dist-info/LICENSE +165 -0
- PrEditor-0.1.0.dist-info/METADATA +212 -0
- PrEditor-0.1.0.dist-info/RECORD +149 -0
- {PrEditor-0.0.0.dev1.dist-info → PrEditor-0.1.0.dist-info}/WHEEL +1 -1
- PrEditor-0.1.0.dist-info/entry_points.txt +18 -0
- PrEditor-0.1.0.dist-info/top_level.txt +1 -0
- preditor/__init__.py +301 -0
- {blurdev → preditor}/__main__.py +13 -13
- preditor/about_module.py +166 -0
- preditor/cli.py +192 -0
- {blurdev → preditor}/contexts.py +119 -119
- preditor/cores/core.py +65 -0
- preditor/dccs/maya/PrEditor_maya.mod +2 -0
- preditor/dccs/maya/plug-ins/PrEditor_maya.py +108 -0
- preditor/debug.py +294 -0
- blurdev/scintilla/delayable_engine.py → preditor/delayable_engine/__init__.py +310 -299
- blurdev/scintilla/delayables/base.py → preditor/delayable_engine/delayables.py +85 -85
- {blurdev → preditor}/enum.py +728 -1003
- {blurdev → preditor}/gui/__init__.py +84 -125
- preditor/gui/app.py +159 -0
- {blurdev → preditor}/gui/codehighlighter.py +209 -219
- {blurdev → preditor}/gui/completer.py +226 -236
- {blurdev → preditor}/gui/console.py +801 -858
- {blurdev → preditor}/gui/dialog.py +200 -216
- preditor/gui/drag_tab_bar.py +190 -0
- preditor/gui/editor_chooser.py +57 -0
- {blurdev → preditor}/gui/errordialog.py +100 -97
- preditor/gui/fuzzy_search/fuzzy_search.py +93 -0
- preditor/gui/group_tab_widget/__init__.py +319 -0
- preditor/gui/group_tab_widget/grouped_tab_menu.py +35 -0
- preditor/gui/group_tab_widget/grouped_tab_models.py +108 -0
- preditor/gui/group_tab_widget/grouped_tab_widget.py +75 -0
- preditor/gui/group_tab_widget/one_tab_widget.py +54 -0
- preditor/gui/level_buttons.py +349 -0
- {blurdev → preditor}/gui/logger_window_handler.py +46 -45
- {blurdev → preditor}/gui/loggerwindow.py +1205 -1417
- {blurdev → preditor}/gui/newtabwidget.py +69 -68
- {blurdev → preditor}/gui/redmine_login_dialog.py +63 -61
- {blurdev → preditor}/gui/set_text_editor_path_dialog.py +59 -57
- preditor/gui/ui/editor_chooser.ui +93 -0
- {blurdev → preditor}/gui/ui/errordialog.ui +81 -81
- {blurdev → preditor}/gui/ui/loggerwindow.ui +1030 -864
- {blurdev → preditor}/gui/ui/redmine_login_dialog.ui +124 -124
- {blurdev → preditor}/gui/ui/set_text_editor_path_dialog.ui +149 -149
- {blurdev → preditor}/gui/window.py +183 -199
- preditor/gui/workbox_mixin.py +357 -0
- preditor/gui/workbox_text_edit.py +117 -0
- preditor/gui/workboxwidget.py +276 -0
- preditor/logging_config.py +52 -0
- preditor/osystem.py +401 -0
- preditor/plugins.py +65 -0
- preditor/prefs.py +74 -0
- {blurdev → preditor}/resource/environment_variables.html +26 -38
- {blurdev → preditor}/resource/error_mail.html +85 -85
- {blurdev → preditor}/resource/error_mail_inline.html +41 -41
- preditor/resource/img/README.md +7 -0
- preditor/resource/img/arrow_forward.png +0 -0
- preditor/resource/img/check-bold.png +0 -0
- preditor/resource/img/chevron-down.png +0 -0
- preditor/resource/img/chevron-up.png +0 -0
- preditor/resource/img/close-thick.png +0 -0
- preditor/resource/img/comment-edit.png +0 -0
- preditor/resource/img/content-copy.png +0 -0
- preditor/resource/img/content-cut.png +0 -0
- preditor/resource/img/content-duplicate.png +0 -0
- preditor/resource/img/content-paste.png +0 -0
- preditor/resource/img/content-save.png +0 -0
- preditor/resource/img/debug_disabled.png +0 -0
- preditor/resource/img/eye-check.png +0 -0
- preditor/resource/img/file-plus.png +0 -0
- preditor/resource/img/file-remove.png +0 -0
- preditor/resource/img/format-align-left.png +0 -0
- preditor/resource/img/format-letter-case-lower.png +0 -0
- preditor/resource/img/format-letter-case-upper.png +0 -0
- preditor/resource/img/information.png +0 -0
- preditor/resource/img/logging_critical.png +0 -0
- preditor/resource/img/logging_custom.png +0 -0
- preditor/resource/img/logging_debug.png +0 -0
- preditor/resource/img/logging_error.png +0 -0
- preditor/resource/img/logging_info.png +0 -0
- preditor/resource/img/logging_not_set.png +0 -0
- preditor/resource/img/logging_warning.png +0 -0
- preditor/resource/img/marker.png +0 -0
- preditor/resource/img/play.png +0 -0
- preditor/resource/img/playlist-play.png +0 -0
- preditor/resource/img/plus-minus-variant.png +0 -0
- preditor/resource/img/preditor.ico +0 -0
- preditor/resource/img/preditor.png +0 -0
- preditor/resource/img/preditor.psd +0 -0
- preditor/resource/img/preditor.svg +44 -0
- preditor/resource/img/restart.svg +1 -0
- preditor/resource/img/skip-forward-outline.png +0 -0
- preditor/resource/img/skip-next-outline.png +0 -0
- preditor/resource/img/skip-next.png +0 -0
- preditor/resource/img/skip-previous.png +0 -0
- preditor/resource/img/subdirectory-arrow-right.png +0 -0
- preditor/resource/img/text-search-variant.png +0 -0
- {blurdev → preditor}/resource/lang/python.json +30 -30
- preditor/resource/settings.ini +25 -0
- {blurdev/resource/stylesheet/logger → preditor/resource/stylesheet}/Bright.css +56 -61
- {blurdev → preditor}/resource/stylesheet/Dark.css +190 -132
- {blurdev → preditor}/scintilla/__init__.py +22 -28
- preditor/scintilla/delayables/__init__.py +11 -0
- {blurdev → preditor}/scintilla/delayables/smart_highlight.py +94 -93
- {blurdev → preditor}/scintilla/delayables/spell_check.py +173 -172
- {blurdev → preditor}/scintilla/documenteditor.py +2039 -2115
- {blurdev → preditor}/scintilla/finddialog.py +68 -81
- {blurdev → preditor}/scintilla/lang/__init__.py +80 -93
- {blurdev → preditor}/scintilla/lang/config/bash.ini +15 -15
- {blurdev → preditor}/scintilla/lang/config/batch.ini +14 -14
- {blurdev → preditor}/scintilla/lang/config/cpp.ini +19 -19
- {blurdev → preditor}/scintilla/lang/config/css.ini +19 -19
- {blurdev → preditor}/scintilla/lang/config/eyeonscript.ini +17 -17
- {blurdev → preditor}/scintilla/lang/config/html.ini +21 -21
- {blurdev → preditor}/scintilla/lang/config/javascript.ini +24 -24
- {blurdev → preditor}/scintilla/lang/config/lua.ini +16 -16
- {blurdev → preditor}/scintilla/lang/config/maxscript.ini +20 -20
- {blurdev → preditor}/scintilla/lang/config/mel.ini +18 -18
- {blurdev → preditor}/scintilla/lang/config/mu.ini +22 -22
- {blurdev → preditor}/scintilla/lang/config/nsi.ini +5 -5
- {blurdev → preditor}/scintilla/lang/config/perl.ini +19 -19
- {blurdev → preditor}/scintilla/lang/config/puppet.ini +19 -19
- {blurdev → preditor}/scintilla/lang/config/python.ini +28 -28
- {blurdev → preditor}/scintilla/lang/config/ruby.ini +19 -19
- {blurdev → preditor}/scintilla/lang/config/sql.ini +7 -7
- {blurdev → preditor}/scintilla/lang/config/xml.ini +21 -21
- {blurdev → preditor}/scintilla/lang/config/yaml.ini +18 -18
- {blurdev → preditor}/scintilla/lang/language.py +240 -250
- preditor/scintilla/lexers/__init__.py +0 -0
- {blurdev → preditor}/scintilla/lexers/cpplexer.py +21 -30
- {blurdev → preditor}/scintilla/lexers/javascriptlexer.py +25 -34
- {blurdev → preditor}/scintilla/lexers/maxscriptlexer.py +234 -253
- {blurdev → preditor}/scintilla/lexers/mellexer.py +368 -376
- {blurdev → preditor}/scintilla/lexers/mulexer.py +32 -41
- {blurdev → preditor}/scintilla/lexers/pythonlexer.py +41 -50
- {blurdev → preditor}/scintilla/ui/finddialog.ui +160 -160
- preditor/settings.py +71 -0
- preditor/stream/__init__.py +80 -0
- preditor/stream/director.py +56 -0
- preditor/stream/manager.py +74 -0
- preditor/streamhandler_helper.py +46 -0
- preditor/utils/__init__.py +0 -0
- preditor/utils/cute.py +30 -0
- preditor/utils/stylesheets.py +54 -0
- {blurdev → preditor}/version.py +5 -5
- preditor/weakref.py +363 -0
- PrEditor-0.0.0.dev1.dist-info/METADATA +0 -51
- PrEditor-0.0.0.dev1.dist-info/RECORD +0 -279
- PrEditor-0.0.0.dev1.dist-info/top_level.txt +0 -1
- blurdev/__init__.py +0 -356
- blurdev/cores/__init__.py +0 -98
- blurdev/cores/application.py +0 -26
- blurdev/cores/core.py +0 -634
- blurdev/debug.py +0 -593
- blurdev/external.py +0 -391
- blurdev/gui/level_buttons.py +0 -585
- blurdev/gui/workboxwidget.py +0 -205
- blurdev/logger.py +0 -238
- blurdev/osystem.py +0 -813
- blurdev/prefs.py +0 -33
- blurdev/protocols/__init__.py +0 -71
- blurdev/protocols/write_std_output_handler.py +0 -83
- blurdev/resource/designer_plugins.xml +0 -9
- blurdev/resource/error_email_old.html +0 -41
- blurdev/resource/img/add.png +0 -0
- blurdev/resource/img/ajax-loader.gif +0 -0
- blurdev/resource/img/application.png +0 -0
- blurdev/resource/img/applications.png +0 -0
- blurdev/resource/img/assburner.png +0 -0
- blurdev/resource/img/assfreezer.png +0 -0
- blurdev/resource/img/bar.gif +0 -0
- blurdev/resource/img/blank.png +0 -0
- blurdev/resource/img/blurdev.png +0 -0
- blurdev/resource/img/calendar_disabled.png +0 -0
- blurdev/resource/img/calendar_enabled.png +0 -0
- blurdev/resource/img/cancel.png +0 -0
- blurdev/resource/img/custom.png +0 -0
- blurdev/resource/img/debug_high.png +0 -0
- blurdev/resource/img/debug_low.png +0 -0
- blurdev/resource/img/debug_mid.png +0 -0
- blurdev/resource/img/debug_off.png +0 -0
- blurdev/resource/img/django.png +0 -0
- blurdev/resource/img/doc.png +0 -0
- blurdev/resource/img/edit.png +0 -0
- blurdev/resource/img/elemental.png +0 -0
- blurdev/resource/img/explore.png +0 -0
- blurdev/resource/img/favorite.png +0 -0
- blurdev/resource/img/file.png +0 -0
- blurdev/resource/img/folder.png +0 -0
- blurdev/resource/img/ide/add.png +0 -0
- blurdev/resource/img/ide/add_note.png +0 -0
- blurdev/resource/img/ide/arrow_down.png +0 -0
- blurdev/resource/img/ide/arrow_up.png +0 -0
- blurdev/resource/img/ide/check.png +0 -0
- blurdev/resource/img/ide/class.png +0 -0
- blurdev/resource/img/ide/clean.png +0 -0
- blurdev/resource/img/ide/clearlog.png +0 -0
- blurdev/resource/img/ide/close.png +0 -0
- blurdev/resource/img/ide/comment_add.png +0 -0
- blurdev/resource/img/ide/comment_remove.png +0 -0
- blurdev/resource/img/ide/comment_toggle.png +0 -0
- blurdev/resource/img/ide/console.png +0 -0
- blurdev/resource/img/ide/copy.png +0 -0
- blurdev/resource/img/ide/copylstrip.png +0 -0
- blurdev/resource/img/ide/cut.png +0 -0
- blurdev/resource/img/ide/edit.png +0 -0
- blurdev/resource/img/ide/find.png +0 -0
- blurdev/resource/img/ide/find_replace.png +0 -0
- blurdev/resource/img/ide/findnext.png +0 -0
- blurdev/resource/img/ide/findprev.png +0 -0
- blurdev/resource/img/ide/folder_find.png +0 -0
- blurdev/resource/img/ide/function.png +0 -0
- blurdev/resource/img/ide/git-bash.png +0 -0
- blurdev/resource/img/ide/git-gui.png +0 -0
- blurdev/resource/img/ide/gitk.png +0 -0
- blurdev/resource/img/ide/goto.png +0 -0
- blurdev/resource/img/ide/goto_def.png +0 -0
- blurdev/resource/img/ide/help.png +0 -0
- blurdev/resource/img/ide/highlighter.png +0 -0
- blurdev/resource/img/ide/lowercase.png +0 -0
- blurdev/resource/img/ide/newfile.png +0 -0
- blurdev/resource/img/ide/newfolder.png +0 -0
- blurdev/resource/img/ide/newproject.png +0 -0
- blurdev/resource/img/ide/newwizard.png +0 -0
- blurdev/resource/img/ide/open.png +0 -0
- blurdev/resource/img/ide/paste.png +0 -0
- blurdev/resource/img/ide/pdb_continue.png +0 -0
- blurdev/resource/img/ide/pdb_down.png +0 -0
- blurdev/resource/img/ide/pdb_next.png +0 -0
- blurdev/resource/img/ide/pdb_step.png +0 -0
- blurdev/resource/img/ide/pdb_up.png +0 -0
- blurdev/resource/img/ide/plus_minus.png +0 -0
- blurdev/resource/img/ide/preferences.png +0 -0
- blurdev/resource/img/ide/project_find.png +0 -0
- blurdev/resource/img/ide/python.png +0 -0
- blurdev/resource/img/ide/pyular.png +0 -0
- blurdev/resource/img/ide/qt.png +0 -0
- blurdev/resource/img/ide/quit.png +0 -0
- blurdev/resource/img/ide/redo.png +0 -0
- blurdev/resource/img/ide/refresh.png +0 -0
- blurdev/resource/img/ide/remove.png +0 -0
- blurdev/resource/img/ide/ruler.png +0 -0
- blurdev/resource/img/ide/run.png +0 -0
- blurdev/resource/img/ide/runall.png +0 -0
- blurdev/resource/img/ide/runallclear.png +0 -0
- blurdev/resource/img/ide/runselected.png +0 -0
- blurdev/resource/img/ide/runselectedclear.png +0 -0
- blurdev/resource/img/ide/save.png +0 -0
- blurdev/resource/img/ide/saveas.png +0 -0
- blurdev/resource/img/ide/sdk.png +0 -0
- blurdev/resource/img/ide/separator.png +0 -0
- blurdev/resource/img/ide/tabbed.png +0 -0
- blurdev/resource/img/ide/tile.png +0 -0
- blurdev/resource/img/ide/toolbar.png +0 -0
- blurdev/resource/img/ide/undo.png +0 -0
- blurdev/resource/img/ide/uppercase.png +0 -0
- blurdev/resource/img/ide/view_as.png +0 -0
- blurdev/resource/img/ide/windowed.png +0 -0
- blurdev/resource/img/ide.ico +0 -0
- blurdev/resource/img/ide.png +0 -0
- blurdev/resource/img/ide48.png +0 -0
- blurdev/resource/img/info.png +0 -0
- blurdev/resource/img/legacy tool.png +0 -0
- blurdev/resource/img/library.png +0 -0
- blurdev/resource/img/logger/about.png +0 -0
- blurdev/resource/img/logger/arrow_forward.png +0 -0
- blurdev/resource/img/logger/clear.png +0 -0
- blurdev/resource/img/logger/close.png +0 -0
- blurdev/resource/img/logger/debug_disabled.png +0 -0
- blurdev/resource/img/logger/debug_high.png +0 -0
- blurdev/resource/img/logger/debug_low.png +0 -0
- blurdev/resource/img/logger/debug_mid.png +0 -0
- blurdev/resource/img/logger/down.png +0 -0
- blurdev/resource/img/logger/find.png +0 -0
- blurdev/resource/img/logger/logging_critical.png +0 -0
- blurdev/resource/img/logger/logging_debug.png +0 -0
- blurdev/resource/img/logger/logging_error.png +0 -0
- blurdev/resource/img/logger/logging_info.png +0 -0
- blurdev/resource/img/logger/logging_not_set.png +0 -0
- blurdev/resource/img/logger/logging_warning.png +0 -0
- blurdev/resource/img/logger/next.png +0 -0
- blurdev/resource/img/logger/play.png +0 -0
- blurdev/resource/img/logger/playlist_play.png +0 -0
- blurdev/resource/img/logger/previous.png +0 -0
- blurdev/resource/img/logger/return.png +0 -0
- blurdev/resource/img/logger/save.png +0 -0
- blurdev/resource/img/logger/subdirectory_arrow_right.png +0 -0
- blurdev/resource/img/logger/up.png +0 -0
- blurdev/resource/img/lovebar.png +0 -0
- blurdev/resource/img/new.png +0 -0
- blurdev/resource/img/new_selected.png +0 -0
- blurdev/resource/img/node.png +0 -0
- blurdev/resource/img/ok.png +0 -0
- blurdev/resource/img/options.png +0 -0
- blurdev/resource/img/packages.png +0 -0
- blurdev/resource/img/preview/add.png +0 -0
- blurdev/resource/img/preview/brush.png +0 -0
- blurdev/resource/img/preview/delete.png +0 -0
- blurdev/resource/img/preview/delte.png +0 -0
- blurdev/resource/img/preview/fill.png +0 -0
- blurdev/resource/img/preview/layers.png +0 -0
- blurdev/resource/img/preview/media.png +0 -0
- blurdev/resource/img/preview/navigate.png +0 -0
- blurdev/resource/img/preview/pencil.png +0 -0
- blurdev/resource/img/preview/select.png +0 -0
- blurdev/resource/img/preview/type.png +0 -0
- blurdev/resource/img/preview/visible.png +0 -0
- blurdev/resource/img/project.png +0 -0
- blurdev/resource/img/python_logger.ico +0 -0
- blurdev/resource/img/python_logger.png +0 -0
- blurdev/resource/img/refresh.png +0 -0
- blurdev/resource/img/remove.png +0 -0
- blurdev/resource/img/reset.png +0 -0
- blurdev/resource/img/richtext/font_bold.png +0 -0
- blurdev/resource/img/richtext/font_italic.png +0 -0
- blurdev/resource/img/richtext/link_image.png +0 -0
- blurdev/resource/img/richtext/spell_check.png +0 -0
- blurdev/resource/img/richtext/unordered_list.png +0 -0
- blurdev/resource/img/save.png +0 -0
- blurdev/resource/img/savesettings.png +0 -0
- blurdev/resource/img/settings.png +0 -0
- blurdev/resource/img/tool.png +0 -0
- blurdev/resource/img/toolbarHandleHorizontal.png +0 -0
- blurdev/resource/img/toolbarHandleVertical.png +0 -0
- blurdev/resource/img/trash.png +0 -0
- blurdev/resource/img/trax.png +0 -0
- blurdev/resource/img/tree.png +0 -0
- blurdev/resource/img/treegrunt.ico +0 -0
- blurdev/resource/img/treegrunt.png +0 -0
- blurdev/resource/img/treegruntedit.png +0 -0
- blurdev/resource/img/user interface.png +0 -0
- blurdev/resource/img/warning.png +0 -0
- blurdev/resource/img/watermark.png +0 -0
- blurdev/resource/sdk/blurdev.sdk +0 -3
- blurdev/resource/settings.ini +0 -82
- blurdev/resource/softimage/BlurApplication.dll +0 -0
- blurdev/resource/softimage/BlurApplication64.dll +0 -0
- blurdev/resource/stylesheet/Carbon.css +0 -35
- blurdev/resource/stylesheet/logger/Dark.css +0 -62
- blurdev/resource/templ/py_comment.templ +0 -1
- blurdev/resource/templ/py_debug_raise_error.templ +0 -7
- blurdev/resource/templ/py_doc_string.templ +0 -10
- blurdev/resource/templ/py_header.templ +0 -9
- blurdev/resource/templ/py_line_comment.templ +0 -1
- blurdev/resource/templ/py_log_to_file.templ +0 -22
- blurdev/resource/templ/py_module_path.templ +0 -1
- blurdev/resource/templ/py_pyqt_core.templ +0 -1
- blurdev/resource/templ/py_pyqt_gui.templ +0 -1
- blurdev/resource/templ/py_splashscreen.templ +0 -6
- blurdev/resource/templ/py_testing_note.templ +0 -1
- blurdev/resource/templ/py_testing_note_end.templ +0 -1
- blurdev/resource/tools_environments.json +0 -72
- blurdev/resource/tools_environments.xml +0 -11
- blurdev/resource/tools_environments_linux.xml +0 -11
- blurdev/resource/tools_environments_offline.xml +0 -7
- blurdev/runtimes/__init__.py +0 -2
- blurdev/runtimes/logger.py +0 -44
- blurdev/scintilla/delayables/__init__.py +0 -9
- blurdev/settings.py +0 -312
- blurdev/utils/error.py +0 -389
- {blurdev/scintilla/lexers → preditor/cores}/__init__.py +0 -0
- {blurdev/utils → preditor/gui/fuzzy_search}/__init__.py +0 -0
- {blurdev → preditor}/resource/img/warning-big.png +0 -0
|
@@ -1,132 +1,190 @@
|
|
|
1
|
-
QWidget {
|
|
2
|
-
background-color: rgb(60, 60, 63);
|
|
3
|
-
color: rgb(202, 202, 202);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
QListView, QTableView, QTreeView, QLineEdit, QTextEdit, QPlainTextEdit, QAbstractSpinBox, QComboBox:editable {
|
|
7
|
-
background-color: rgb(70, 70, 73);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
QFrame {
|
|
11
|
-
alternate-background-color: rgb(60, 60, 63);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
QWidget:disabled {
|
|
15
|
-
color: rgb(88, 91, 94);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
QPushButton:checked, QPushButton:pressed, QToolButton:checked, QToolButton:pressed{
|
|
19
|
-
background-color: rgb(47, 47, 49);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
QFrame::item:disabled, QFrame::section:disabled {
|
|
23
|
-
color: rgb(52, 52, 54);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
QLabel, QToolBox {
|
|
27
|
-
background: none;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
QScrollBar {
|
|
31
|
-
background-color: rgb(60, 60, 63);
|
|
32
|
-
border-radius: 2px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
QScrollBar:horizontal {
|
|
36
|
-
padding: 0 16px 0 16px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
QScrollBar:vertical {
|
|
40
|
-
padding: 16px 0 16px 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
QScrollBar::handle, QScrollBar::add-line, QScrollBar::sub-line {
|
|
44
|
-
background-color: rgb(78, 81, 84);
|
|
45
|
-
border-radius: 2px;
|
|
46
|
-
border: 1px solid rgb(33, 33, 36);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
QScrollBar::handle:horizontal, QScrollBar::add-line, QScrollBar::sub-line {
|
|
50
|
-
background: qlineargradient(y1:0, y2:1, stop:0 rgb(78, 81, 84), stop:1 rgb(60, 60, 63));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
QScrollBar::handle:vertical {
|
|
54
|
-
background: qlineargradient(x1:0, x2:1, stop:0 rgb(78, 81, 84), stop:1 rgb(70, 70, 73));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
QScrollBar::handle:active, QScrollBar::add-line:active, QScrollBar::sub-line:active {
|
|
58
|
-
background-color: rgb(88, 91, 94);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
QScrollBar::handle:horizontal {
|
|
62
|
-
min-width: 16px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
QScrollBar::handle:vertical {
|
|
66
|
-
min-height: 16px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
QScrollBar::add-line, QScrollBar::sub-line{
|
|
70
|
-
width: 8px;
|
|
71
|
-
height: 8px;
|
|
72
|
-
padding: 3px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
QScrollBar::add-line:horizontal {
|
|
76
|
-
subcontrol-position: right;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
QScrollBar::sub-line:horizontal {
|
|
80
|
-
subcontrol-position: left;
|
|
81
|
-
}
|
|
82
|
-
QScrollBar::add-line:vertical {
|
|
83
|
-
subcontrol-position: bottom;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
QScrollBar::sub-line:vertical {
|
|
87
|
-
subcontrol-position: top;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
QScrollBar::up-arrow, QScrollBar::down-arrow, QScrollBar::left-arrow, QScrollBar::right-arrow {
|
|
91
|
-
width: 0;
|
|
92
|
-
height: 0;
|
|
93
|
-
border: 4px solid rgba(78, 81, 84, 0);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
QScrollBar::up-arrow {
|
|
97
|
-
border-bottom-color: rgb(202, 202, 202);
|
|
98
|
-
border-top-width: 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
QScrollBar::down-arrow {
|
|
102
|
-
border-top-color: rgb(202, 202, 202);
|
|
103
|
-
border-bottom-width: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
QScrollBar::left-arrow {
|
|
107
|
-
border-right-color: rgb(202, 202, 202);
|
|
108
|
-
border-left-width: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
QScrollBar::right-arrow {
|
|
112
|
-
border-left-color: rgb(202, 202, 202);
|
|
113
|
-
border-right-width: 0;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
QMenu {
|
|
117
|
-
border-style: solid;
|
|
118
|
-
border-color: rgb(25,25,25);
|
|
119
|
-
border-width: 1px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
QMenu:unchecked {
|
|
123
|
-
background-color: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
QMenu:checked {
|
|
127
|
-
background-color: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
QMenu:selected {
|
|
131
|
-
background-color: none;
|
|
132
|
-
}
|
|
1
|
+
QWidget {
|
|
2
|
+
background-color: rgb(60, 60, 63);
|
|
3
|
+
color: rgb(202, 202, 202);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
QListView, QTableView, QTreeView, QLineEdit, QTextEdit, QPlainTextEdit, QAbstractSpinBox, QComboBox:editable {
|
|
7
|
+
background-color: rgb(70, 70, 73);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
QFrame {
|
|
11
|
+
alternate-background-color: rgb(60, 60, 63);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
QWidget:disabled {
|
|
15
|
+
color: rgb(88, 91, 94);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
QPushButton:checked, QPushButton:pressed, QToolButton:checked, QToolButton:pressed{
|
|
19
|
+
background-color: rgb(47, 47, 49);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
QFrame::item:disabled, QFrame::section:disabled {
|
|
23
|
+
color: rgb(52, 52, 54);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
QLabel, QToolBox {
|
|
27
|
+
background: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
QScrollBar {
|
|
31
|
+
background-color: rgb(60, 60, 63);
|
|
32
|
+
border-radius: 2px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
QScrollBar:horizontal {
|
|
36
|
+
padding: 0 16px 0 16px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
QScrollBar:vertical {
|
|
40
|
+
padding: 16px 0 16px 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
QScrollBar::handle, QScrollBar::add-line, QScrollBar::sub-line {
|
|
44
|
+
background-color: rgb(78, 81, 84);
|
|
45
|
+
border-radius: 2px;
|
|
46
|
+
border: 1px solid rgb(33, 33, 36);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
QScrollBar::handle:horizontal, QScrollBar::add-line, QScrollBar::sub-line {
|
|
50
|
+
background: qlineargradient(y1:0, y2:1, stop:0 rgb(78, 81, 84), stop:1 rgb(60, 60, 63));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
QScrollBar::handle:vertical {
|
|
54
|
+
background: qlineargradient(x1:0, x2:1, stop:0 rgb(78, 81, 84), stop:1 rgb(70, 70, 73));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
QScrollBar::handle:active, QScrollBar::add-line:active, QScrollBar::sub-line:active {
|
|
58
|
+
background-color: rgb(88, 91, 94);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
QScrollBar::handle:horizontal {
|
|
62
|
+
min-width: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
QScrollBar::handle:vertical {
|
|
66
|
+
min-height: 16px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
QScrollBar::add-line, QScrollBar::sub-line{
|
|
70
|
+
width: 8px;
|
|
71
|
+
height: 8px;
|
|
72
|
+
padding: 3px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
QScrollBar::add-line:horizontal {
|
|
76
|
+
subcontrol-position: right;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
QScrollBar::sub-line:horizontal {
|
|
80
|
+
subcontrol-position: left;
|
|
81
|
+
}
|
|
82
|
+
QScrollBar::add-line:vertical {
|
|
83
|
+
subcontrol-position: bottom;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
QScrollBar::sub-line:vertical {
|
|
87
|
+
subcontrol-position: top;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
QScrollBar::up-arrow, QScrollBar::down-arrow, QScrollBar::left-arrow, QScrollBar::right-arrow {
|
|
91
|
+
width: 0;
|
|
92
|
+
height: 0;
|
|
93
|
+
border: 4px solid rgba(78, 81, 84, 0);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
QScrollBar::up-arrow {
|
|
97
|
+
border-bottom-color: rgb(202, 202, 202);
|
|
98
|
+
border-top-width: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
QScrollBar::down-arrow {
|
|
102
|
+
border-top-color: rgb(202, 202, 202);
|
|
103
|
+
border-bottom-width: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
QScrollBar::left-arrow {
|
|
107
|
+
border-right-color: rgb(202, 202, 202);
|
|
108
|
+
border-left-width: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
QScrollBar::right-arrow {
|
|
112
|
+
border-left-color: rgb(202, 202, 202);
|
|
113
|
+
border-right-width: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
QMenu {
|
|
117
|
+
border-style: solid;
|
|
118
|
+
border-color: rgb(25,25,25);
|
|
119
|
+
border-width: 1px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
QMenu:unchecked {
|
|
123
|
+
background-color: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
QMenu:checked {
|
|
127
|
+
background-color: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
QMenu:selected {
|
|
131
|
+
background-color: none;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
DocumentEditor {
|
|
135
|
+
qproperty-pyMarginsForegroundColor: rgb(202, 202, 202);
|
|
136
|
+
qproperty-pyMarginsBackgroundColor: rgb(70, 70, 73);
|
|
137
|
+
qproperty-pySelectionBackgroundColor: rgb(90, 90, 93);
|
|
138
|
+
qproperty-pySelectionForegroundColor: rgb(240, 240, 240);
|
|
139
|
+
qproperty-pyCaretBackgroundColor: rgb(70, 70, 73);
|
|
140
|
+
qproperty-pyCaretForegroundColor: rgb(255, 255, 255);
|
|
141
|
+
qproperty-pyMatchedBraceBackgroundColor: rgb(60, 60, 63);
|
|
142
|
+
qproperty-pyMatchedBraceForegroundColor: rgb(240, 240, 240);
|
|
143
|
+
qproperty-pyUnmatchedBraceBackgroundColor: rgb(70, 70, 73);
|
|
144
|
+
qproperty-pyUnmatchedBraceForegroundColor: rgb(200, 180, 180);
|
|
145
|
+
qproperty-pyEdgeColor: rgb(100, 45, 45);
|
|
146
|
+
|
|
147
|
+
qproperty-pyIndentationGuidesBackgroundColor: rgb(70, 70, 73);
|
|
148
|
+
qproperty-pyIndentationGuidesForegroundColor: rgb(102, 153, 204);
|
|
149
|
+
qproperty-pyMarkerBackgroundColor: rgb(45, 255, 45);
|
|
150
|
+
qproperty-pyMarkerForegroundColor: rgb(200, 0, 200);
|
|
151
|
+
qproperty-foldMarginsBackgroundColor: rgb(60, 60, 63);
|
|
152
|
+
qproperty-foldMarginsForegroundColor: rgb(60, 60, 63);
|
|
153
|
+
qproperty-braceBadForeground: rgb(255, 255, 255);
|
|
154
|
+
qproperty-braceBadBackground: rgb(100, 60, 60);
|
|
155
|
+
|
|
156
|
+
qproperty-colorDefault: rgb(102, 153, 204);
|
|
157
|
+
qproperty-colorComment: rgb(153, 153, 153);
|
|
158
|
+
qproperty-colorNumber: rgb(249, 145, 87);
|
|
159
|
+
qproperty-colorString: rgb(153, 204, 153);
|
|
160
|
+
qproperty-colorKeyword: rgb(204, 153, 204);
|
|
161
|
+
qproperty-colorTripleQuotedString: rgb(220, 204, 153);
|
|
162
|
+
qproperty-colorMethod: rgb(255, 204, 102);
|
|
163
|
+
qproperty-colorFunction: rgb(132, 203, 255);
|
|
164
|
+
qproperty-colorOperator: rgb(204, 204, 204);
|
|
165
|
+
qproperty-colorIdentifier: rgb(102, 153, 204);
|
|
166
|
+
qproperty-colorCommentBlock: rgb(117, 113, 94);
|
|
167
|
+
qproperty-colorUnclosedString: rgb(255, 255, 255);
|
|
168
|
+
qproperty-colorSmartHighlight: rgb(255, 255, 255);
|
|
169
|
+
qproperty-colorDecorator: rgb(240, 100, 102);
|
|
170
|
+
qproperty-paperDefault: rgb(70, 70, 73);
|
|
171
|
+
qproperty-paperComment: rgb(70, 70, 73);
|
|
172
|
+
qproperty-paperNumber: rgb(70, 70, 73);
|
|
173
|
+
qproperty-paperString: rgb(70, 70, 73);
|
|
174
|
+
qproperty-paperKeyword: rgb(70, 70, 73);
|
|
175
|
+
qproperty-paperTripleQuotedString: rgb(70, 70, 73);
|
|
176
|
+
qproperty-paperMethod: rgb(70, 70, 73);
|
|
177
|
+
qproperty-paperFunction: rgb(70, 70, 73);
|
|
178
|
+
qproperty-paperOperator: rgb(70, 70, 73);
|
|
179
|
+
qproperty-paperIdentifier: rgb(70, 70, 73);
|
|
180
|
+
qproperty-paperCommentBlock: rgb(70, 70, 73);
|
|
181
|
+
qproperty-paperUnclosedString: rgb(100, 60, 60);
|
|
182
|
+
qproperty-paperSmartHighlight: rgba(75, 180, 0, 25);
|
|
183
|
+
qproperty-paperDecorator: rgb(70, 70, 73);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
ConsolePrEdit {
|
|
188
|
+
color: rgb(255, 255, 255);
|
|
189
|
+
background-color: rgb(70, 70, 73);
|
|
190
|
+
}
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
self.wrapped = False
|
|
24
|
-
self.forward = True
|
|
25
|
-
self.flags = 0
|
|
26
|
-
self.start_pos = 0
|
|
27
|
-
self.start_pos_original = None
|
|
28
|
-
self.end_pos = None
|
|
1
|
+
from __future__ import absolute_import
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class FindState(object):
|
|
5
|
+
"""
|
|
6
|
+
Arguments:
|
|
7
|
+
end_pos (int): The position in the document to stop searching. If None, then
|
|
8
|
+
search to the end of the document.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
def __init__(self):
|
|
12
|
+
self.expr = ''
|
|
13
|
+
self.wrap = True
|
|
14
|
+
self.wrapped = False
|
|
15
|
+
self.forward = True
|
|
16
|
+
self.flags = 0
|
|
17
|
+
self.start_pos = 0
|
|
18
|
+
self.start_pos_original = None
|
|
19
|
+
self.end_pos = None
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
from . import delayables # noqa: F401, E402
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import absolute_import, print_function
|
|
2
|
+
|
|
3
|
+
from . import smart_highlight, spell_check
|
|
4
|
+
|
|
5
|
+
# Import the base classes used to make most Delayables
|
|
6
|
+
# TODO: Make these imports a plugin based system of some sort.
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"smart_highlight",
|
|
10
|
+
"spell_check",
|
|
11
|
+
]
|
|
@@ -1,93 +1,94 @@
|
|
|
1
|
-
from __future__ import print_function
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
from Qt.QtCore import QSignalMapper
|
|
5
|
-
from Qt.QtWidgets import QWidget
|
|
6
|
-
|
|
7
|
-
from . import SearchDelayable
|
|
8
|
-
from .. import FindState
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class SmartHighlight(SearchDelayable):
|
|
12
|
-
key = 'smart_highlight'
|
|
13
|
-
indicator_number = 30
|
|
14
|
-
indicator_style = QsciScintilla.StraightBoxIndicator
|
|
15
|
-
border_alpha = 255
|
|
16
|
-
|
|
17
|
-
def __init__(self, engine):
|
|
18
|
-
super(SmartHighlight, self).__init__(engine)
|
|
19
|
-
self.signal_mapper = QSignalMapper(self)
|
|
20
|
-
# Respect style sheet changes
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
document.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
self.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
self.signal_mapper.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
find_state
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
self.
|
|
93
|
-
|
|
1
|
+
from __future__ import absolute_import, print_function
|
|
2
|
+
|
|
3
|
+
from PyQt5.Qsci import QsciScintilla
|
|
4
|
+
from Qt.QtCore import QSignalMapper
|
|
5
|
+
from Qt.QtWidgets import QWidget
|
|
6
|
+
|
|
7
|
+
from ...delayable_engine.delayables import SearchDelayable
|
|
8
|
+
from .. import FindState
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class SmartHighlight(SearchDelayable):
|
|
12
|
+
key = 'smart_highlight'
|
|
13
|
+
indicator_number = 30
|
|
14
|
+
indicator_style = QsciScintilla.StraightBoxIndicator
|
|
15
|
+
border_alpha = 255
|
|
16
|
+
|
|
17
|
+
def __init__(self, engine):
|
|
18
|
+
super(SmartHighlight, self).__init__(engine)
|
|
19
|
+
self.signal_mapper = QSignalMapper(self)
|
|
20
|
+
# Respect style sheet changes
|
|
21
|
+
# TODO: Correctly connect this signal
|
|
22
|
+
# LoggerWindow.styleSheetChanged.connect(self.update_indicator_color)
|
|
23
|
+
|
|
24
|
+
def add_document(self, document):
|
|
25
|
+
document.indicatorDefine(self.indicator_style, self.indicator_number)
|
|
26
|
+
document.SendScintilla(
|
|
27
|
+
QsciScintilla.SCI_SETINDICATORCURRENT, self.indicator_number
|
|
28
|
+
)
|
|
29
|
+
document.setIndicatorForegroundColor(
|
|
30
|
+
document.paperSmartHighlight, self.indicator_number
|
|
31
|
+
)
|
|
32
|
+
document.SendScintilla(
|
|
33
|
+
QsciScintilla.SCI_INDICSETOUTLINEALPHA,
|
|
34
|
+
self.indicator_number,
|
|
35
|
+
self.border_alpha,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
self.signal_mapper.setMapping(document, document)
|
|
39
|
+
self.signal_mapper.mapped[QWidget].connect(self.update_highlighter)
|
|
40
|
+
document.selectionChanged.connect(self.signal_mapper.map)
|
|
41
|
+
|
|
42
|
+
def clear_markings(self, document):
|
|
43
|
+
"""Remove markings made by this Delayable for the given document.
|
|
44
|
+
|
|
45
|
+
Args:
|
|
46
|
+
document (blurdev.scintilla.documenteditor.DocumentEditor): The document
|
|
47
|
+
to clear spell check markings from.
|
|
48
|
+
"""
|
|
49
|
+
document.SendScintilla(
|
|
50
|
+
QsciScintilla.SCI_SETINDICATORCURRENT, self.indicator_number
|
|
51
|
+
)
|
|
52
|
+
document.SendScintilla(
|
|
53
|
+
QsciScintilla.SCI_INDICATORCLEARRANGE, 0, len(document.text())
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
def loop(self, document, find_state, clear):
|
|
57
|
+
# Clear the document if needed
|
|
58
|
+
if clear:
|
|
59
|
+
self.clear_markings(document)
|
|
60
|
+
ret = super(SmartHighlight, self).loop(document, find_state)
|
|
61
|
+
if ret:
|
|
62
|
+
# clear should always be false when continuing
|
|
63
|
+
return ret + (False,)
|
|
64
|
+
|
|
65
|
+
def remove_document(self, document):
|
|
66
|
+
self.clear_markings(document)
|
|
67
|
+
document.selectionChanged.disconnect(self.signal_mapper.map)
|
|
68
|
+
|
|
69
|
+
def text_found(self, document, start, end, find_state):
|
|
70
|
+
if not document.is_word(start, end):
|
|
71
|
+
# Don't highlight the word if its not a word on its own
|
|
72
|
+
return
|
|
73
|
+
document.SendScintilla(
|
|
74
|
+
QsciScintilla.SCI_SETINDICATORCURRENT, self.indicator_number
|
|
75
|
+
)
|
|
76
|
+
document.SendScintilla(QsciScintilla.SCI_INDICATORFILLRANGE, start, end - start)
|
|
77
|
+
|
|
78
|
+
def update_highlighter(self, document):
|
|
79
|
+
self.clear_markings(document)
|
|
80
|
+
if document.selection_is_word():
|
|
81
|
+
find_state = FindState()
|
|
82
|
+
find_state.expr = document.selectedText()
|
|
83
|
+
self.search_from_position(document, find_state, None, False)
|
|
84
|
+
|
|
85
|
+
def update_indicator_color(self):
|
|
86
|
+
for document in self.engine.documents:
|
|
87
|
+
document.setIndicatorForegroundColor(
|
|
88
|
+
document.paperSmartHighlight, self.indicator_number
|
|
89
|
+
)
|
|
90
|
+
document.SendScintilla(
|
|
91
|
+
QsciScintilla.SCI_INDICSETOUTLINEALPHA,
|
|
92
|
+
self.indicator_number,
|
|
93
|
+
self.border_alpha,
|
|
94
|
+
)
|