Skip to content
Permalink
Browse files

[processing] do no wrap line in script editor

(harmonize behavior with python console)
  • Loading branch information
nirvn committed May 20, 2018
1 parent b0e93a1 commit af45b84c1f8121038e43f5149747fbbaf35df3e0
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/script/ScriptEdit.py
@@ -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'))
@@ -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)

0 comments on commit af45b84

Please sign in to comment.
You can’t perform that action at this time.