Skip to content

Commit

Permalink
[processing] do no wrap line in script editor
Browse files Browse the repository at this point in the history
(harmonize behavior with python console)
  • Loading branch information
nirvn committed May 20, 2018
1 parent b0e93a1 commit af45b84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/plugins/processing/script/ScriptEdit.py
Expand Up @@ -61,9 +61,9 @@ def setCommonOptions(self):
self.setBraceMatching(QsciScintilla.SloppyBraceMatch)
self.setMatchedBraceBackgroundColor(QColor("#b7f907"))

self.setWrapMode(QsciScintilla.WrapWord)
self.setWrapVisualFlags(QsciScintilla.WrapFlagByText,
QsciScintilla.WrapFlagNone, 4)
#self.setWrapMode(QsciScintilla.WrapWord)
#self.setWrapVisualFlags(QsciScintilla.WrapFlagByText,
# QsciScintilla.WrapFlagNone, 4)

self.setSelectionForegroundColor(QColor('#2e3436'))
self.setSelectionBackgroundColor(QColor('#babdb6'))
Expand All @@ -90,7 +90,7 @@ def setCommonOptions(self):
# Mark column 80 with vertical line
self.setEdgeMode(QsciScintilla.EdgeLine)
self.setEdgeColumn(80)
self.setEdgeColor(QColor('#eeeeec'))
self.setEdgeColor(QColor("#FF0000"))

# Indentation
self.setAutoIndent(True)
Expand Down

0 comments on commit af45b84

Please sign in to comment.