[pywin32-checkins] pywin32/Pythonwin/pywin/framework interact.py, 1.24, 1.25
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2010-08-27 07:37:31
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv31094/pythonwin/pywin/framework Modified Files: interact.py Log Message: styling tweaks in interactive windows (markt) Index: interact.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/interact.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** interact.py 26 Aug 2010 02:00:16 -0000 1.24 --- interact.py 27 Aug 2010 07:37:23 -0000 1.25 *************** *** 95,98 **** --- 95,99 ---- def __init__(self, scintilla): FormatterParent.__init__(self, scintilla) + self.bannerDisplayed = False def SetStyles(self): *************** *** 234,239 **** --- 235,243 ---- stylenum = self.scintilla.SCIGetStyleAt(start - 1) styleStart = self.GetStyleByNum(stylenum).name + elif self.bannerDisplayed: + styleStart = STYLE_INTERACTIVE_EOL else: styleStart = STYLE_INTERACTIVE_BANNER + self.bannerDisplayed = True self.scintilla.SCIStartStyling(start, 31) self.style_buffer = array.array("b", (0,)*len(stringVal)) |