by
Changes to one file · Browse files at 33b872783f46 Showing diff from parent a9011b36e99e 182539630952 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...