##// END OF EJS Templates
added antialiasing option
Laurent Dufrechou -
Show More
@@ -316,7 +316,12 b' class ConsoleWidget(editwindow.EditWindow):'
316 self.SetWrapMode(stc.STC_WRAP_CHAR)
316 self.SetWrapMode(stc.STC_WRAP_CHAR)
317 self.SetWrapMode(stc.STC_WRAP_WORD)
317 self.SetWrapMode(stc.STC_WRAP_WORD)
318 self.SetBufferedDraw(True)
318 self.SetBufferedDraw(True)
319 self.SetUseAntiAliasing(True)
319
320 if 'antialiasing' in p:
321 self.SetUseAntiAliasing(p['antialiasing'])
322 else:
323 self.SetUseAntiAliasing(True)
324
320 self.SetLayoutCache(stc.STC_CACHE_PAGE)
325 self.SetLayoutCache(stc.STC_CACHE_PAGE)
321 self.SetUndoCollection(False)
326 self.SetUndoCollection(False)
322 self.SetUseTabs(True)
327 self.SetUseTabs(True)
@@ -128,6 +128,10 b' Simple graphical frontend to IPython, using WxWidgets."""'
128
128
129 if options.colorset == 'black':
129 if options.colorset == 'black':
130 style = {
130 style = {
131 #advanced options
132 'antialiasing' : True,
133
134 #background + carret color
131 'carret_color' : 'WHITE',
135 'carret_color' : 'WHITE',
132 'background_color' : 'BLACK',
136 'background_color' : 'BLACK',
133
137
General Comments 0
You need to be logged in to leave comments. Login now