#588 tab key indents 4 despite options setting.

open
nobody
pythonwin (176)
5
2012-04-20
2012-04-20
bob gailer
No

In options tabs& whitespace I setTtab size andIindent Size to 2. Has no effect. When I hit alt+u - it shows 4.

Discussion

  • Roger Upole
    Roger Upole
    2012-04-21

    Do you mean if you change the tab size while an editor window is open ?
    It should pick up the change for any documents opened afterwards.

     
  • bob gailer
    bob gailer
    2012-04-22

    Roger asked: "Do you mean if you change the tab size while an editor window is open ? It should pick up the change for any documents opened afterwards."

    No. I configure options once after installing Pywin. All the settings except Tabs/Indent are in effect every time I openPywin. Tabs/Indent are 4. The options settings are ignored.

     
  • Roger Upole
    Roger Upole
    2012-04-22

    I'm not seeing this behaviour. What are the other options under Tabs and Whitespace set to ?

     
  • bob gailer
    bob gailer
    2012-04-22

    Insert Spaces selected
    Use Python smart indentation - checked
    Tab-Timmy - Show as indicator Red selected
    PythonWin 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32.

     
  • Roger Upole
    Roger Upole
    2012-06-05

    Does this happen on a new document, or when you open an existing document that already has 4 space indents ?