DeltaEscher / editra

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

Incorrect Python auto-indentation problem #294

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a python file with a list declared in it, as in the example
2. break the list in two lines
3. try to go to the next line with a newline charactere

What is the expected output? What do you see instead?
It should go to the line in which the previous line starts, but it doesn't
ident ok. 

example:
x = (1,2,4,
        5) <press enter here>
        <cursor goes here>
<but should go here, in the previous line, of course>

Using Editra 4.65

Original issue reported on code.google.com by italo.maia@gmail.com on 28 Feb 2009 at 5:21

GoogleCodeExporter commented 8 years ago
confirmed

Original comment by CodyPrec...@gmail.com on 2 Mar 2009 at 4:21

GoogleCodeExporter commented 8 years ago
Python auto-indenter improved in current svn for next release
*Better handles multiline brackets, parens, and nested parens

corrects issue 294

Original comment by CodyPrec...@gmail.com on 28 Jan 2011 at 6:31