Scintilla / Scite tabs formatting mystery.
Chris Liechti
cliechti at gmx.net
Sat Jan 11 12:43:47 EST 2003
Dale Strickland-Clark <dale at riverhall.NOTHANKS.co.uk> wrote in
news:3th02v48lkh3rrf4lu5jlu6118jb8c9v7t at 4ax.com:
> I've had quite a good hunt around now trying to understand this and
> I've failed.
>
> I've toyed with switching to Scite from PythonWin as my primary Python
> editor because I like the way it does a few things - like the tabbar.
>
> However, in spite of setting all style fonts to mono-spaced I can't
> get a tab to occupy the same width as 4 spaces. This means that text
> that lines up nicely in Scite is all to cock in other editors.
>
> I think I've set the tabs up right:
> # Indentation
> tabsize=4
> indent.size=4
> use.tabs=1
thats broken. python interprets tabs a 8. i use:
tabsize=8
indent.size=4
use.tabs=0
use.monospaced=1
the last one, means that you dont have to press "ctrl-F11" all the time to
switch to monospaced. you dont need to change any fonts as you did (SciTex
would still be in prportinal mode, which does maybe cause your trouble).
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list