PrEditor 0.5.0__py2.py3-none-any.whl → 0.7.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/__init__.py +5 -0
- preditor/gui/codehighlighter.py +12 -12
- preditor/gui/console.py +30 -60
- preditor/gui/errordialog.py +6 -5
- preditor/gui/find_files.py +2 -1
- preditor/gui/loggerwindow.py +3 -2
- preditor/gui/status_label.py +12 -3
- preditor/resource/stylesheet/Bright.css +10 -1
- preditor/resource/stylesheet/Dark.css +9 -0
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info}/METADATA +3 -2
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info}/RECORD +15 -16
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info}/WHEEL +1 -1
- preditor/version.py +0 -5
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info}/entry_points.txt +0 -0
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info/licenses}/LICENSE +0 -0
- {PrEditor-0.5.0.dist-info → preditor-0.7.0.dist-info}/top_level.txt +0 -0
preditor/__init__.py
CHANGED
|
@@ -113,6 +113,11 @@ def configure(name, parent_callback=None, excepthook=True, logging=True, streams
|
|
|
113
113
|
preditor.debug.BlurExcepthook.install()
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
def get_core_name():
|
|
117
|
+
"""Returns the configured core_name or DEFAULT_CORE_NAME."""
|
|
118
|
+
return _global_config.get('core_name', DEFAULT_CORE_NAME)
|
|
119
|
+
|
|
120
|
+
|
|
116
121
|
def launch(run_workbox=False, app_id=None, name=None, standalone=False):
|
|
117
122
|
"""Launches the preditor gui creating the QApplication instance if not
|
|
118
123
|
already created.
|
preditor/gui/codehighlighter.py
CHANGED
|
@@ -35,15 +35,15 @@ class CodeHighlighter(QSyntaxHighlighter):
|
|
|
35
35
|
# stylesheets
|
|
36
36
|
parent = self.parent()
|
|
37
37
|
if parent and hasattr(parent, 'commentColor'):
|
|
38
|
-
return parent.commentColor
|
|
38
|
+
return parent.commentColor
|
|
39
39
|
return self._commentColor
|
|
40
40
|
|
|
41
41
|
def setCommentColor(self, color):
|
|
42
42
|
# set the color for the parent if possible because this doesn't support
|
|
43
43
|
# stylesheets
|
|
44
44
|
parent = self.parent()
|
|
45
|
-
if parent and hasattr(parent, '
|
|
46
|
-
parent.
|
|
45
|
+
if parent and hasattr(parent, 'commentColor'):
|
|
46
|
+
parent.commentColor = color
|
|
47
47
|
self._commentColor = color
|
|
48
48
|
|
|
49
49
|
def commentFormat(self):
|
|
@@ -127,15 +127,15 @@ class CodeHighlighter(QSyntaxHighlighter):
|
|
|
127
127
|
# stylesheets
|
|
128
128
|
parent = self.parent()
|
|
129
129
|
if parent and hasattr(parent, 'keywordColor'):
|
|
130
|
-
return parent.keywordColor
|
|
130
|
+
return parent.keywordColor
|
|
131
131
|
return self._keywordColor
|
|
132
132
|
|
|
133
133
|
def setKeywordColor(self, color):
|
|
134
134
|
# set the color for the parent if possible because this doesn't support
|
|
135
135
|
# stylesheets
|
|
136
136
|
parent = self.parent()
|
|
137
|
-
if parent and hasattr(parent, '
|
|
138
|
-
parent.
|
|
137
|
+
if parent and hasattr(parent, 'keywordColor'):
|
|
138
|
+
parent.keywordColor = color
|
|
139
139
|
self._keywordColor = color
|
|
140
140
|
|
|
141
141
|
def keywordFormat(self):
|
|
@@ -150,15 +150,15 @@ class CodeHighlighter(QSyntaxHighlighter):
|
|
|
150
150
|
# stylesheets
|
|
151
151
|
parent = self.parent()
|
|
152
152
|
if parent and hasattr(parent, 'resultColor'):
|
|
153
|
-
return parent.resultColor
|
|
153
|
+
return parent.resultColor
|
|
154
154
|
return self._resultColor
|
|
155
155
|
|
|
156
156
|
def setResultColor(self, color):
|
|
157
157
|
# set the color for the parent if possible because this doesn't support
|
|
158
158
|
# stylesheets
|
|
159
159
|
parent = self.parent()
|
|
160
|
-
if parent and hasattr(parent, '
|
|
161
|
-
parent.
|
|
160
|
+
if parent and hasattr(parent, 'resultColor'):
|
|
161
|
+
parent.resultColor = color
|
|
162
162
|
self._resultColor = color
|
|
163
163
|
|
|
164
164
|
def resultFormat(self):
|
|
@@ -191,15 +191,15 @@ class CodeHighlighter(QSyntaxHighlighter):
|
|
|
191
191
|
# stylesheets
|
|
192
192
|
parent = self.parent()
|
|
193
193
|
if parent and hasattr(parent, 'stringColor'):
|
|
194
|
-
return parent.stringColor
|
|
194
|
+
return parent.stringColor
|
|
195
195
|
return self._stringColor
|
|
196
196
|
|
|
197
197
|
def setStringColor(self, color):
|
|
198
198
|
# set the color for the parent if possible because this doesn't support
|
|
199
199
|
# stylesheets
|
|
200
200
|
parent = self.parent()
|
|
201
|
-
if parent and hasattr(parent, '
|
|
202
|
-
parent.
|
|
201
|
+
if parent and hasattr(parent, 'stringColor'):
|
|
202
|
+
parent.stringColor = color
|
|
203
203
|
self._stringColor = color
|
|
204
204
|
|
|
205
205
|
def stringFormat(self):
|
preditor/gui/console.py
CHANGED
|
@@ -20,6 +20,7 @@ from Qt.QtWidgets import QAbstractItemView, QAction, QApplication, QTextEdit
|
|
|
20
20
|
|
|
21
21
|
from .. import debug, settings, stream
|
|
22
22
|
from ..streamhandler_helper import StreamHandlerHelper
|
|
23
|
+
from . import QtPropertyInit
|
|
23
24
|
from .codehighlighter import CodeHighlighter
|
|
24
25
|
from .completer import PythonCompleter
|
|
25
26
|
from .suggest_path_quotes_dialog import SuggestPathQuotesDialog
|
|
@@ -28,8 +29,14 @@ from .suggest_path_quotes_dialog import SuggestPathQuotesDialog
|
|
|
28
29
|
class ConsolePrEdit(QTextEdit):
|
|
29
30
|
# Ensure the error prompt only shows up once.
|
|
30
31
|
_errorPrompted = False
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
|
|
33
|
+
# These Qt Properties can be customized using style sheets.
|
|
34
|
+
commentColor = QtPropertyInit('_commentColor', QColor(0, 206, 52))
|
|
35
|
+
errorMessageColor = QtPropertyInit('_errorMessageColor', QColor(Qt.red))
|
|
36
|
+
keywordColor = QtPropertyInit('_keywordColor', QColor(17, 154, 255))
|
|
37
|
+
resultColor = QtPropertyInit('_resultColor', QColor(128, 128, 128))
|
|
38
|
+
stdoutColor = QtPropertyInit('_stdoutColor', QColor(17, 154, 255))
|
|
39
|
+
stringColor = QtPropertyInit('_stringColor', QColor(255, 128, 0))
|
|
33
40
|
|
|
34
41
|
def __init__(self, parent):
|
|
35
42
|
super(ConsolePrEdit, self).__init__(parent)
|
|
@@ -39,12 +46,6 @@ class ConsolePrEdit(QTextEdit):
|
|
|
39
46
|
# If populated, also write to this interface
|
|
40
47
|
self.outputPipe = None
|
|
41
48
|
|
|
42
|
-
self._stdoutColor = QColor(17, 154, 255)
|
|
43
|
-
self._commentColor = QColor(0, 206, 52)
|
|
44
|
-
self._keywordColor = QColor(17, 154, 255)
|
|
45
|
-
self._stringColor = QColor(255, 128, 0)
|
|
46
|
-
self._resultColor = QColor(128, 128, 128)
|
|
47
|
-
|
|
48
49
|
self._consolePrompt = '>>> '
|
|
49
50
|
# Note: Changing _outputPrompt may require updating resource\lang\python.xml
|
|
50
51
|
# If still using a #
|
|
@@ -356,28 +357,10 @@ class ConsolePrEdit(QTextEdit):
|
|
|
356
357
|
# Restore the cursor position to its original location
|
|
357
358
|
self.setTextCursor(currentCursor)
|
|
358
359
|
|
|
359
|
-
def commentColor(self):
|
|
360
|
-
return self._commentColor
|
|
361
|
-
|
|
362
|
-
def setCommentColor(self, color):
|
|
363
|
-
self._commentColor = color
|
|
364
|
-
|
|
365
360
|
def completer(self):
|
|
366
361
|
"""returns the completer instance that is associated with this editor"""
|
|
367
362
|
return self._completer
|
|
368
363
|
|
|
369
|
-
def errorMessageColor(self):
|
|
370
|
-
return self.__class__._errorMessageColor
|
|
371
|
-
|
|
372
|
-
def setErrorMessageColor(self, color):
|
|
373
|
-
self.__class__._errorMessageColor = color
|
|
374
|
-
|
|
375
|
-
def foregroundColor(self):
|
|
376
|
-
return self._foregroundColor
|
|
377
|
-
|
|
378
|
-
def setForegroundColor(self, color):
|
|
379
|
-
self._foregroundColor = color
|
|
380
|
-
|
|
381
364
|
def executeString(self, commandText, filename='<ConsolePrEdit>', extraPrint=True):
|
|
382
365
|
if self.clearExecutionTime is not None:
|
|
383
366
|
self.clearExecutionTime()
|
|
@@ -397,18 +380,27 @@ class ConsolePrEdit(QTextEdit):
|
|
|
397
380
|
# exec which has no Return.
|
|
398
381
|
wasEval = False
|
|
399
382
|
startTime = time.time()
|
|
383
|
+
|
|
400
384
|
try:
|
|
401
385
|
compiled = compile(commandText, filename, 'eval')
|
|
402
386
|
wasEval = True
|
|
403
387
|
except Exception:
|
|
404
388
|
compiled = compile(commandText, filename, 'exec')
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
389
|
+
|
|
390
|
+
# We wrap in try / finally so that elapsed time gets updated, even when an
|
|
391
|
+
# exception is raised.
|
|
392
|
+
try:
|
|
393
|
+
if wasEval:
|
|
394
|
+
cmdresult = eval(compiled, __main__.__dict__, __main__.__dict__)
|
|
395
|
+
else:
|
|
396
|
+
exec(compiled, __main__.__dict__, __main__.__dict__)
|
|
397
|
+
finally:
|
|
398
|
+
# Report the total time it took to execute this code.
|
|
399
|
+
if self.reportExecutionTime is not None:
|
|
400
|
+
delta = time.time() - startTime
|
|
401
|
+
self.reportExecutionTime((delta, commandText))
|
|
409
402
|
|
|
410
403
|
# Provide user feedback when running long code execution.
|
|
411
|
-
delta = time.time() - startTime
|
|
412
404
|
if self.flash_window and self.flash_time and delta >= self.flash_time:
|
|
413
405
|
if settings.OS_TYPE == "Windows":
|
|
414
406
|
try:
|
|
@@ -420,9 +412,6 @@ class ConsolePrEdit(QTextEdit):
|
|
|
420
412
|
hwnd = int(self.flash_window.winId())
|
|
421
413
|
utils.flash_window(hwnd)
|
|
422
414
|
|
|
423
|
-
# Report the total time it took to execute this code.
|
|
424
|
-
if self.reportExecutionTime is not None:
|
|
425
|
-
self.reportExecutionTime((delta, commandText))
|
|
426
415
|
return cmdresult, wasEval
|
|
427
416
|
|
|
428
417
|
def executeCommand(self):
|
|
@@ -681,12 +670,6 @@ class ConsolePrEdit(QTextEdit):
|
|
|
681
670
|
completer.wasCompletingCounter = 0
|
|
682
671
|
completer.wasCompleting = False
|
|
683
672
|
|
|
684
|
-
def keywordColor(self):
|
|
685
|
-
return self._keywordColor
|
|
686
|
-
|
|
687
|
-
def setKeywordColor(self, color):
|
|
688
|
-
self._keywordColor = color
|
|
689
|
-
|
|
690
673
|
def moveToHome(self):
|
|
691
674
|
"""moves the cursor to the home location"""
|
|
692
675
|
mode = QTextCursor.MoveAnchor
|
|
@@ -712,12 +695,6 @@ class ConsolePrEdit(QTextEdit):
|
|
|
712
695
|
def prompt(self):
|
|
713
696
|
return self._consolePrompt
|
|
714
697
|
|
|
715
|
-
def resultColor(self):
|
|
716
|
-
return self._resultColor
|
|
717
|
-
|
|
718
|
-
def setResultColor(self, color):
|
|
719
|
-
self._resultColor = color
|
|
720
|
-
|
|
721
698
|
def setCompleter(self, completer):
|
|
722
699
|
"""sets the completer instance for this widget"""
|
|
723
700
|
if completer:
|
|
@@ -758,22 +735,15 @@ class ConsolePrEdit(QTextEdit):
|
|
|
758
735
|
|
|
759
736
|
self.insertPlainText(inputstr)
|
|
760
737
|
|
|
738
|
+
scroll = self.verticalScrollBar()
|
|
739
|
+
maximum = scroll.maximum()
|
|
740
|
+
if maximum is not None:
|
|
741
|
+
scroll.setValue(maximum)
|
|
742
|
+
|
|
761
743
|
def startOutputLine(self):
|
|
762
744
|
"""Create a new line to show output text."""
|
|
763
745
|
self.startPrompt(self._outputPrompt)
|
|
764
746
|
|
|
765
|
-
def stdoutColor(self):
|
|
766
|
-
return self._stdoutColor
|
|
767
|
-
|
|
768
|
-
def setStdoutColor(self, color):
|
|
769
|
-
self._stdoutColor = color
|
|
770
|
-
|
|
771
|
-
def stringColor(self):
|
|
772
|
-
return self._stringColor
|
|
773
|
-
|
|
774
|
-
def setStringColor(self, color):
|
|
775
|
-
self._stringColor = color
|
|
776
|
-
|
|
777
747
|
def removeCurrentLine(self):
|
|
778
748
|
self.moveCursor(QTextCursor.End, QTextCursor.MoveAnchor)
|
|
779
749
|
self.moveCursor(QTextCursor.StartOfLine, QTextCursor.MoveAnchor)
|
|
@@ -822,9 +792,9 @@ class ConsolePrEdit(QTextEdit):
|
|
|
822
792
|
|
|
823
793
|
charFormat = QTextCharFormat()
|
|
824
794
|
if not error:
|
|
825
|
-
charFormat.setForeground(self.stdoutColor
|
|
795
|
+
charFormat.setForeground(self.stdoutColor)
|
|
826
796
|
else:
|
|
827
|
-
charFormat.setForeground(self.errorMessageColor
|
|
797
|
+
charFormat.setForeground(self.errorMessageColor)
|
|
828
798
|
self.setCurrentCharFormat(charFormat)
|
|
829
799
|
|
|
830
800
|
# If showing Error Hyperlinks... Sometimes (when a syntax error, at least),
|
preditor/gui/errordialog.py
CHANGED
|
@@ -5,16 +5,19 @@ import os
|
|
|
5
5
|
import traceback
|
|
6
6
|
|
|
7
7
|
from Qt.QtCore import Qt
|
|
8
|
-
from Qt.QtGui import QPixmap
|
|
8
|
+
from Qt.QtGui import QColor, QPixmap
|
|
9
9
|
from Qt.QtWidgets import QDialog
|
|
10
10
|
from redminelib.exceptions import ImpersonateError
|
|
11
11
|
|
|
12
12
|
from .. import __file__ as pfile
|
|
13
|
-
from . import Dialog, loadUi
|
|
13
|
+
from . import Dialog, QtPropertyInit, loadUi
|
|
14
14
|
from .redmine_login_dialog import RedmineLoginDialog
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class ErrorDialog(Dialog):
|
|
18
|
+
# These Qt Properties can be customized using style sheets.
|
|
19
|
+
errorMessageColor = QtPropertyInit('_errorMessageColor', QColor(Qt.GlobalColor.red))
|
|
20
|
+
|
|
18
21
|
def __init__(self, parent):
|
|
19
22
|
super(ErrorDialog, self).__init__(parent)
|
|
20
23
|
|
|
@@ -40,8 +43,6 @@ class ErrorDialog(Dialog):
|
|
|
40
43
|
self.ignoreButton.clicked.connect(self.close)
|
|
41
44
|
|
|
42
45
|
def setText(self, exc_info):
|
|
43
|
-
from .console import ConsolePrEdit
|
|
44
|
-
|
|
45
46
|
self.traceback_msg = "".join(traceback.format_exception(*exc_info))
|
|
46
47
|
msg = (
|
|
47
48
|
'The following error has occurred:<br>'
|
|
@@ -51,7 +52,7 @@ class ErrorDialog(Dialog):
|
|
|
51
52
|
msg
|
|
52
53
|
% {
|
|
53
54
|
'text': self.traceback_msg.split('\n')[-2],
|
|
54
|
-
'color':
|
|
55
|
+
'color': self.errorMessageColor.name(),
|
|
55
56
|
}
|
|
56
57
|
)
|
|
57
58
|
|
preditor/gui/find_files.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from __future__ import absolute_import, print_function
|
|
2
2
|
|
|
3
|
-
from Qt.QtCore import Qt
|
|
3
|
+
from Qt.QtCore import Qt, Slot
|
|
4
4
|
from Qt.QtGui import QIcon, QKeySequence
|
|
5
5
|
from Qt.QtWidgets import QApplication, QShortcut, QWidget
|
|
6
6
|
|
|
@@ -54,6 +54,7 @@ class FindFiles(QWidget):
|
|
|
54
54
|
self.show()
|
|
55
55
|
self.uiFindTXT.setFocus()
|
|
56
56
|
|
|
57
|
+
@Slot()
|
|
57
58
|
def find(self):
|
|
58
59
|
find_text = self.uiFindTXT.text()
|
|
59
60
|
context = self.uiContextSPN.value()
|
preditor/gui/loggerwindow.py
CHANGED
|
@@ -30,6 +30,7 @@ from .. import (
|
|
|
30
30
|
about_preditor,
|
|
31
31
|
core,
|
|
32
32
|
debug,
|
|
33
|
+
get_core_name,
|
|
33
34
|
osystem,
|
|
34
35
|
plugins,
|
|
35
36
|
prefs,
|
|
@@ -60,7 +61,7 @@ class LoggerWindow(Window):
|
|
|
60
61
|
|
|
61
62
|
def __init__(self, parent, name=None, run_workbox=False, standalone=False):
|
|
62
63
|
super(LoggerWindow, self).__init__(parent=parent)
|
|
63
|
-
self.name = name if name else
|
|
64
|
+
self.name = name if name else get_core_name()
|
|
64
65
|
self.aboutToClearPathsEnabled = False
|
|
65
66
|
self._stylesheet = 'Bright'
|
|
66
67
|
|
|
@@ -519,7 +520,7 @@ class LoggerWindow(Window):
|
|
|
519
520
|
delta = event.angleDelta().y()
|
|
520
521
|
|
|
521
522
|
# convert delta to +1 or -1, depending
|
|
522
|
-
delta = delta
|
|
523
|
+
delta = delta // abs(delta)
|
|
523
524
|
minSize = 5
|
|
524
525
|
maxSize = 50
|
|
525
526
|
font = self.console().font()
|
preditor/gui/status_label.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
from __future__ import absolute_import
|
|
2
2
|
|
|
3
3
|
from collections import deque
|
|
4
|
+
from functools import partial
|
|
4
5
|
|
|
5
6
|
from Qt.QtCore import QPoint, QTimer
|
|
6
|
-
from Qt.QtWidgets import QInputDialog, QLabel, QMenu
|
|
7
|
+
from Qt.QtWidgets import QApplication, QInputDialog, QLabel, QMenu
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class StatusLabel(QLabel):
|
|
@@ -33,6 +34,10 @@ class StatusLabel(QLabel):
|
|
|
33
34
|
if limit:
|
|
34
35
|
self.setLimit(limit)
|
|
35
36
|
|
|
37
|
+
def copy_action_text(self, action):
|
|
38
|
+
"""Copy the text of the provided action into the clipboard."""
|
|
39
|
+
QApplication.clipboard().setText(action.text())
|
|
40
|
+
|
|
36
41
|
def mouseReleaseEvent(self, event):
|
|
37
42
|
QTimer.singleShot(0, self.showMenu)
|
|
38
43
|
super(StatusLabel, self).mouseReleaseEvent(event)
|
|
@@ -72,11 +77,15 @@ class StatusLabel(QLabel):
|
|
|
72
77
|
cmd = "{} ...".format(cmds[0][:50])
|
|
73
78
|
# Escape &'s so they dont' get turned into a shortcut'
|
|
74
79
|
cmd = cmd.replace("&", "&&")
|
|
75
|
-
menu.addAction("{}: {}".format(self.secondsText(secs), cmd))
|
|
80
|
+
act = menu.addAction("{}: {}".format(self.secondsText(secs), cmd))
|
|
81
|
+
# Selecting this action should copy the time it took to run
|
|
82
|
+
act.triggered.connect(partial(self.copy_action_text, act))
|
|
76
83
|
|
|
77
84
|
menu.addSeparator()
|
|
78
85
|
avg = sum(times) / len(times)
|
|
79
|
-
menu.addAction("Average: {:0.04f}s".format(avg))
|
|
86
|
+
act = menu.addAction("Average: {:0.04f}s".format(avg))
|
|
87
|
+
act.triggered.connect(partial(self.copy_action_text, act))
|
|
88
|
+
|
|
80
89
|
act = menu.addAction("Clear")
|
|
81
90
|
act.triggered.connect(self.clearTimes)
|
|
82
91
|
|
|
@@ -50,7 +50,16 @@ DocumentEditor {
|
|
|
50
50
|
qproperty-paperDecorator: "white";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
ConsolePrEdit{
|
|
53
|
+
ConsolePrEdit, ErrorDialog {
|
|
54
|
+
qproperty-errorMessageColor: rgb(255, 0, 0);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
ConsolePrEdit {
|
|
54
58
|
color: rgb(0,0,0);
|
|
55
59
|
background-color: rgb(255,255,255);
|
|
60
|
+
qproperty-commentColor: rgb(0, 206, 52);
|
|
61
|
+
qproperty-keywordColor: rgb(17, 154, 255);
|
|
62
|
+
qproperty-resultColor: rgb(128, 128, 128);
|
|
63
|
+
qproperty-stdoutColor: rgb(17, 154, 255);
|
|
64
|
+
qproperty-stringColor: rgb(255, 128, 0);
|
|
56
65
|
}
|
|
@@ -184,7 +184,16 @@ DocumentEditor {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
|
|
187
|
+
ConsolePrEdit, ErrorDialog {
|
|
188
|
+
qproperty-errorMessageColor: rgb(255, 0, 0);
|
|
189
|
+
}
|
|
190
|
+
|
|
187
191
|
ConsolePrEdit {
|
|
188
192
|
color: rgb(255, 255, 255);
|
|
189
193
|
background-color: rgb(70, 70, 73);
|
|
194
|
+
qproperty-commentColor: rgb(0, 206, 52);
|
|
195
|
+
qproperty-keywordColor: rgb(17, 154, 255);
|
|
196
|
+
qproperty-resultColor: rgb(128, 128, 128);
|
|
197
|
+
qproperty-stdoutColor: rgb(17, 154, 255);
|
|
198
|
+
qproperty-stringColor: rgb(255, 128, 0);
|
|
190
199
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: PrEditor
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: A python REPL and Editor and console based on Qt.
|
|
5
5
|
Home-page: https://github.com/blurstudio/PrEditor.git
|
|
6
6
|
Author: Blur Studio
|
|
@@ -39,6 +39,7 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
39
39
|
Requires-Dist: tox; extra == "dev"
|
|
40
40
|
Provides-Extra: shortcut
|
|
41
41
|
Requires-Dist: casement>=0.1.0; platform_system == "Windows" and extra == "shortcut"
|
|
42
|
+
Dynamic: license-file
|
|
42
43
|
|
|
43
44
|
# PrEditor
|
|
44
45
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
preditor/__init__.py,sha256=
|
|
1
|
+
preditor/__init__.py,sha256=MDcjs6rNu92NDVu-fH3sZWgLtVKnWqDojREeIFU6fII,10735
|
|
2
2
|
preditor/__main__.py,sha256=boRVSmxX6eF8EkzbePtCZbzdcaPseqVae4RPPLp3U1A,449
|
|
3
3
|
preditor/about_module.py,sha256=KIvCxZrMLhm5TR6lYskM4Y9VctJ0QtSQD5Nu8Ip1CGY,5267
|
|
4
4
|
preditor/cli.py,sha256=kyVr0V43KYSMLIEWXH54CA0ByFmPcpbFF-8cli6PVow,5300
|
|
@@ -11,7 +11,6 @@ preditor/plugins.py,sha256=W3DfdDEE5DtEXOXioEyIe4tuIVV1V-RLcV8LoZJWpWU,1916
|
|
|
11
11
|
preditor/prefs.py,sha256=BPtSsdv2yuiRpIaqEml9fxlVYKHNfqQ77hp5YIQRDBg,2172
|
|
12
12
|
preditor/settings.py,sha256=DV9_DbJorEnhdIvW15E7h7PswlQUsy0UlA8bXUYN0og,2206
|
|
13
13
|
preditor/streamhandler_helper.py,sha256=kiU6T9WqJ3JKTTKCa7IUU8brwK7zO5UUpEzLhEfKe44,1788
|
|
14
|
-
preditor/version.py,sha256=qOgp63DKbJUTEpeNFSC6-4Z4ggiiiujx7_nJvXchvEg,142
|
|
15
14
|
preditor/weakref.py,sha256=b--KomFAHcMWr3DEAIN2j3XxRhjDWKw0WABXyn1nxDg,12177
|
|
16
15
|
preditor/cores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
16
|
preditor/cores/core.py,sha256=ZXB4bts05DMQtc-dtkk81chIWNqYXImMuWCYuUHwLdA,2389
|
|
@@ -21,21 +20,21 @@ preditor/delayable_engine/__init__.py,sha256=7GNnc2996zCzBtkB3U9Ic0EcXToVYrlewSM
|
|
|
21
20
|
preditor/delayable_engine/delayables.py,sha256=GWxv4iTcqFeo7703SMrtotKx4cfq1ujJMNdpmtawPqc,2708
|
|
22
21
|
preditor/gui/__init__.py,sha256=vie2aDVpGjrDYxK1H2pTVIgFjIk6B8nNf6rWNwCVJ3Y,3132
|
|
23
22
|
preditor/gui/app.py,sha256=RRiaDpUdWYoVkCFThMfsSSFG63jRt7LKx2QOx8lSdK4,5810
|
|
24
|
-
preditor/gui/codehighlighter.py,sha256=
|
|
23
|
+
preditor/gui/codehighlighter.py,sha256=3JxXZpZqN3KVZbQgSmO-JldSlf4zFQ0PojWwucTsy5U,7171
|
|
25
24
|
preditor/gui/completer.py,sha256=T6fl_4xGVjVtGNuR6ajD1ngjEhrKR6tZ9zPJDYoKn8E,7379
|
|
26
|
-
preditor/gui/console.py,sha256=
|
|
25
|
+
preditor/gui/console.py,sha256=qjr1OtAQ0dAUv4_u_j3Tz8XGRMwkdBAw3JYt46FzlwI,34876
|
|
27
26
|
preditor/gui/dialog.py,sha256=Vw8Wflb2P3TngO8b-2suWP6JKHBVHdbGgYiRDKzYRlQ,7488
|
|
28
27
|
preditor/gui/drag_tab_bar.py,sha256=5J-BSKQzS6_WuYxxGqmnUJr6AriTAvwfVK7Q3p7knrM,7933
|
|
29
28
|
preditor/gui/editor_chooser.py,sha256=lv1eY0UJOulX1l-P-ZQEoneYz6BNX2VkXEbg3GUu1ag,1991
|
|
30
|
-
preditor/gui/errordialog.py,sha256=
|
|
31
|
-
preditor/gui/find_files.py,sha256=
|
|
29
|
+
preditor/gui/errordialog.py,sha256=Re-rc4r24bwfUL3YkZGELNhAJD9B220xznbDcXC6EEg,3234
|
|
30
|
+
preditor/gui/find_files.py,sha256=8_b0oQgL6u8U2FqpR2RzMChME9eYdJq3c3bgXXDeceY,4241
|
|
32
31
|
preditor/gui/level_buttons.py,sha256=yPFIWKc0bgKLrP2XHyBqNuvvTnXZqGdtN_p27jSb1Og,11925
|
|
33
32
|
preditor/gui/logger_window_handler.py,sha256=VTNhaoFUnConE3NHj9KaDZlVoifix8xCbCuN5Ozjz0M,1482
|
|
34
|
-
preditor/gui/loggerwindow.py,sha256=
|
|
33
|
+
preditor/gui/loggerwindow.py,sha256=zOIzq12ffLF0xp3oChP0bc7KB_4BJ8kK5Oy0gQSGRuI,51303
|
|
35
34
|
preditor/gui/newtabwidget.py,sha256=5aCWn9xAl5h1oZACqVuEsOAbzKTS2RegrLI41gROC8A,1971
|
|
36
35
|
preditor/gui/redmine_login_dialog.py,sha256=cMPBuecSZD5yjycNkMwHa1AbdwgGoyHvX8anIvWjEFo,1893
|
|
37
36
|
preditor/gui/set_text_editor_path_dialog.py,sha256=bTrYM0nU-pE2m8LIpeAUlmvP257wrcAvEdaoOURw9p8,2264
|
|
38
|
-
preditor/gui/status_label.py,sha256=
|
|
37
|
+
preditor/gui/status_label.py,sha256=SlNRmPc28S4E2OFVmErv0DmZstk4011Q_7uLp43SF0A,3320
|
|
39
38
|
preditor/gui/suggest_path_quotes_dialog.py,sha256=QUJf_9hs8wOO6bFOr8_Z2xnNhSA8TfKFMOzheUqUDnY,1822
|
|
40
39
|
preditor/gui/window.py,sha256=bZAEKQDM6V4aew1nlSTPyq_tG-_IoSvyXHcZxrdFMaE,6924
|
|
41
40
|
preditor/gui/workbox_mixin.py,sha256=kUVHtK-flyux3PZ9GkOYnjCJMLRcZESFJXipsgNgI0U,13851
|
|
@@ -105,8 +104,8 @@ preditor/resource/img/subdirectory-arrow-right.png,sha256=PXmp15L0nBHgq_YJlG4WLd
|
|
|
105
104
|
preditor/resource/img/text-search-variant.png,sha256=98uwrqOgxmraS1DJ8kJskr9_J7cF3e-niwVuBDqYinA,718
|
|
106
105
|
preditor/resource/img/warning-big.png,sha256=z5QKX3DNLo_UDRKdjwtELbXL_JLf2zOwhkMPnIeu3vw,1065
|
|
107
106
|
preditor/resource/lang/python.json,sha256=CXiQh0jcgd-OCrM-s9IF7s4o-g5WRA4vDaAyTRAxAQo,316
|
|
108
|
-
preditor/resource/stylesheet/Bright.css,sha256=
|
|
109
|
-
preditor/resource/stylesheet/Dark.css,sha256=
|
|
107
|
+
preditor/resource/stylesheet/Bright.css,sha256=SfnPRBqfqEL4IF8RGt9PpLX_cSiGpfG9Q2hE1F9uTsk,2480
|
|
108
|
+
preditor/resource/stylesheet/Dark.css,sha256=Sige7beBhRyfav9_mXvn-LhksxbX0_WEgpZSKhmPavc,5384
|
|
110
109
|
preditor/scintilla/__init__.py,sha256=AoUc-fcp2D3F10FDFsp_ZzUr4zioDH0mvdubSF7sRG0,523
|
|
111
110
|
preditor/scintilla/documenteditor.py,sha256=6EfqJLcG2ZqzDUxvdtIrHyuVSF47goWpGrVEBMJN3pw,77919
|
|
112
111
|
preditor/scintilla/finddialog.py,sha256=vcYPj74LbCy4KXdh0eJyOb8i31pJKgOZitKpgW4zhBM,2346
|
|
@@ -149,9 +148,9 @@ preditor/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
149
148
|
preditor/utils/cute.py,sha256=LfF8gXMAkkQAdo4mm6J9aVkDLwWZbE6prQ0moDbtCys,1045
|
|
150
149
|
preditor/utils/stylesheets.py,sha256=EVWZNq3WnaRiyUPoYMKQo_dLEwbRyKu26b03I1JDA-s,1622
|
|
151
150
|
preditor/utils/text_search.py,sha256=21kuSDTpLIPUcriB81WP1kWfzuDBuP13ZtHUtypP5jE,14218
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
151
|
+
preditor-0.7.0.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
152
|
+
preditor-0.7.0.dist-info/METADATA,sha256=DXT7s09fyqqvGN51fnGnuNpUfgTEbK_eTo26Vg9sIjU,9278
|
|
153
|
+
preditor-0.7.0.dist-info/WHEEL,sha256=egKm5cKfE6OqlHwodY8Jjp4yqZDBXgsj09UsV5ojd_U,109
|
|
154
|
+
preditor-0.7.0.dist-info/entry_points.txt,sha256=mpe0HFD_oIEBNPTJNyUEbmMV6Ivrp4EuYyZ34C5d_PU,519
|
|
155
|
+
preditor-0.7.0.dist-info/top_level.txt,sha256=iX1_mrUOky_BQr2oG0l_MbEUYF6idyjiWSzu9z3irIw,9
|
|
156
|
+
preditor-0.7.0.dist-info/RECORD,,
|
preditor/version.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|