Fixed an issue in QsciScintillaCompat.

Fri, 11 Apr 2014 18:37:22 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Apr 2014 18:37:22 +0200
changeset 3493
71f15675e89f
parent 3492
ae74a7201759
child 3497
7f51ab29a1a2

Fixed an issue in QsciScintillaCompat.

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
diff -r ae74a7201759 -r 71f15675e89f QScintilla/QsciScintillaCompat.py
--- a/QScintilla/QsciScintillaCompat.py	Mon Apr 07 19:16:36 2014 +0200
+++ b/QScintilla/QsciScintillaCompat.py	Fri Apr 11 18:37:22 2014 +0200
@@ -264,6 +264,8 @@
                 utf8Len = 3
             elif (ch[0] & 0xC0) == 0xC0:
                 utf8Len = 2
+            else:
+                utf8Len = 1
             while len(ch) < utf8Len:
                 pos += 1
                 ch += self.byteAt(pos)

eric ide

mercurial