ouilles / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Smart tabs puts in 3 spaces for each tab when tab is set to 4 spaces #774

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on Smart Tabs (in Editor Options, Options), with Tab width set to 4 (in 
Display).
2. Insert a tab. 

What is the expected output? What do you see instead?
I expected the tab key to insert 4 spaces. But every time is it only 3 spaces. 
It seems to ignore the Tab width setting.

What version of the product are you using? On what operating system?
64bit python & pyscripter on 64 bit windows 2008 

Original issue reported on code.google.com by c...@petshealth.com.au on 6 Jul 2014 at 7:11

GoogleCodeExporter commented 9 years ago
From the Help File,
Smart tabs:
When tabbing, the cursor will go to the next non-white space character of the 
previous line. 

In my testing this is what it does.  On the first line it moves the cursor by 4 
spaces.

Original comment by pyscripter on 26 Mar 2015 at 11:12