Changeset 182539630952…
Parent 7e16ca8e250e…
by
Changes to one file · Browse files at 182539630952 Showing diff from parent 7e16ca8e250e Diff from another changeset...
@@ -270,6 +270,9 @@ self.SendScintilla(self.SCI_SETINDICATORCURRENT,
self._highlightIndicator)
+ if len(match) == 0:
+ return
+
# NOTE: pat and target text are *not* unicode because scintilla
# requires positions in byte. For accuracy, it should do pattern
# match in unicode, then calculating byte length of substring::
|
Loading...