Patiencer / pyscripter

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

Indenting in the editor not intuitive for comment lines #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Edit a new file; no content.
2. Type: "def f():" {ENTER} on line 1
3. The cursor moves to line 2 and indents as intuitively expected. We find
the cursor in column 5.
4. Type "# COMMENT" on line 2 at column 5 and {ENTER} 
5. The cursor moves to line 3 but does not indent as expected. We find the
cursor in column 1.

What is the expected output? What do you see instead?
I expect to see the cursor indented on the same column as the comment
above; i.e. column 5. I want to type lots of comments and I have to keep
hitting the TAB after each CARRIAGE RETURN.

What version of the product are you using? On what operating system?
1.9.9.7 on XP PRO

Please provide any additional information below.
Obviously the editory parser is skipping comments and whitespace as part.

Original issue reported on code.google.com by symmetri...@gmail.com on 21 Jun 2009 at 9:04

GoogleCodeExporter commented 9 years ago
Do you have Auto Indent checked in Editor options?  Works here as expected with 
the latest version of PyScripter

Original comment by pyscripter on 12 Aug 2010 at 2:29