[pywin32-checkins] pywin32/Pythonwin/pywin/framework interact.py, 1.19, 1.20
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-03 05:52:39
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12025/pywin/framework Modified Files: interact.py Log Message: use py2k and py3k friendly array formats for talking to scintilla Index: interact.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/interact.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** interact.py 4 Dec 2008 12:44:44 -0000 1.19 --- interact.py 3 Jan 2009 05:52:28 -0000 1.20 *************** *** 229,233 **** styleStart = STYLE_INTERACTIVE_BANNER self.scintilla.SCIStartStyling(start, 31) ! self.style_buffer = array.array("c", chr(0)*len(stringVal)) self.ColorizeInteractiveCode(stringVal, styleStart, stylePyStart) self.scintilla.SCISetStylingEx(self.style_buffer) --- 229,233 ---- styleStart = STYLE_INTERACTIVE_BANNER self.scintilla.SCIStartStyling(start, 31) ! self.style_buffer = array.array("b", (0,)*len(stringVal)) self.ColorizeInteractiveCode(stringVal, styleStart, stylePyStart) self.scintilla.SCISetStylingEx(self.style_buffer) |