PythonWin Debugger comments

Neil Hodgson neilh at fast.fujitsu.com.au
Thu Apr 22 02:15:23 EDT 1999


   Hi Chuck,

[with PythonWin 123]
> 1)Syntax highlighting in the debugger needs to go one step 
> further. While one can change the color of the "current line" 
> it would be nicer if one could change background color of 
> the "current line" also.  It would make it much more obvious 
> what the current execution point is.  Lots of other debuggers 
> do this.

	The look of the editor/debugger has changed a lot in PythonWin 124.
There is now a little arrow to show the current line rather than
changing colours. If you really like a coloured background for the
current line rather than an arrow in the selection margin for build 124,
turn the selection margin off by adding

self.SendScintilla(SCI_SETMARGINWIDTH, 0, 0)

	to the OnInitialUpdate method of SyntEditView. This looks better if you
change the colour of the current line marker to something bright like
yellow:

self.SendScintilla(SCI_MARKERSETBACK, MARKER_CURRENT, win32api.RGB(0xff,
0xff, 0))

	Neil Hodgson




More information about the Python-list mailing list