Little red lines in PythonWin!

David Bolen db3l at fitlinxx.com
Wed Mar 21 00:48:11 CET 2001


"Neil Hodgson" <neilh at scintilla.org> writes:

>    This feature is turned on by default in PythonWin and can be controlled
> through View | Options... | Tabs and Whitespace | Tab-Timmy. IMO all Python
> IDEs should have a similar feature. For those IDEs that use Scintilla, the
> feature is already implemented for you so it is almost free to add.

Interestingly enough when I looked at this in response to the first
post (I don't normally use Pythonwin), I noticed that the default
setup seems to have a tab size of 4 rather than 8.  So Pythonwin was
expanding literal tabs visually to a 4-position stop rather than 8,
which is different from the language definition.  Expanding to 8 by
default (with or without the red indicators) would at least present a
visual indication of what the Python parser was going to "see".

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list