Commits

Anonymous committed edb5fdc

qscintilla: show "end wrap flag"

Shown a "wrap flag" at the end of the wrapped line to indicate which lines have
been wrapped.

Comments (0)

Files changed (1)

tortoisehg/hgqt/qscilib.py

         super(Scintilla, self).__init__(parent)
         self.autoUseTabs = True
         self.setUtf8(True)
+        self.setWrapVisualFlags(QsciScintilla.WrapFlagByBorder)
         self.textChanged.connect(self._resetfindcond)
         self._resetfindcond()
 
+
     def read(self, f):
         result = super(Scintilla, self).read(f)
         self.setDefaultEolMode()