Skip to content

Commit af45b84

Browse files
committed
[processing] do no wrap line in script editor
(harmonize behavior with python console)
1 parent b0e93a1 commit af45b84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python/plugins/processing/script/ScriptEdit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def setCommonOptions(self):
6161
self.setBraceMatching(QsciScintilla.SloppyBraceMatch)
6262
self.setMatchedBraceBackgroundColor(QColor("#b7f907"))
6363

64-
self.setWrapMode(QsciScintilla.WrapWord)
65-
self.setWrapVisualFlags(QsciScintilla.WrapFlagByText,
66-
QsciScintilla.WrapFlagNone, 4)
64+
#self.setWrapMode(QsciScintilla.WrapWord)
65+
#self.setWrapVisualFlags(QsciScintilla.WrapFlagByText,
66+
# QsciScintilla.WrapFlagNone, 4)
6767

6868
self.setSelectionForegroundColor(QColor('#2e3436'))
6969
self.setSelectionBackgroundColor(QColor('#babdb6'))
@@ -90,7 +90,7 @@ def setCommonOptions(self):
9090
# Mark column 80 with vertical line
9191
self.setEdgeMode(QsciScintilla.EdgeLine)
9292
self.setEdgeColumn(80)
93-
self.setEdgeColor(QColor('#eeeeec'))
93+
self.setEdgeColor(QColor("#FF0000"))
9494

9595
# Indentation
9696
self.setAutoIndent(True)

0 commit comments

Comments
 (0)