LionHeart123 / pyscripter

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

Double hit of 'Return' key breaks indentation #683

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type example code:

if a is None:
    a = 1

2. When the cursor is after "a = 1" double hit "Return/Enter" key.

What is the expected output? What do you see instead?
Indentation should be preserved, but after the second hit the cursor returns to 
the beginning of the line.

What version of the product are you using? On what operating system?
2.5.3.0 on Windows 7 (x86)

Please provide any additional information below.
-

Original issue reported on code.google.com by knec...@gmail.com on 16 Aug 2012 at 1:09

GoogleCodeExporter commented 9 years ago
Go to Tools, Options, Editor Options and on second Tab set
-  AutoIndent On
-  Trim Trailing spaces Off

Original comment by pyscripter on 16 Aug 2012 at 10:46