Fixed an issue in QsciScintillaCompat. 5_4_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Apr 2014 18:37:22 +0200
branch
5_4_x
changeset 3494
4ce0194aeb01
parent 3491
d07cb9529027
child 3501
22b84d61a608

Fixed an issue in QsciScintillaCompat.
(grafted from 71f15675e89f188050b5d85098ede5ad74b34c71)

QScintilla/QsciScintillaCompat.py file | annotate | diff | comparison | revisions
--- a/QScintilla/QsciScintillaCompat.py	Mon Apr 07 18:46:02 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