This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 169829

Summary: "Start New Line" KB item does not respect indent level
Product: python Reporter: ptone <ptone>
Component: EditorAssignee: Torbjorn Norbye <tor>
Status: CLOSED INVALID    
Severity: blocker CC: Jenselme
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description ptone 2009-08-04 17:08:06 UTC
when in an indented python code block ie:

def foo():
    print "b<cursor>ar"

with the cursor at the end of the line, a return will preserve indent level as expected.

with the cursor in the middle of the line, invoking the "Start New Line" keyboard shortcut starts a new line without splitting the current line, but places the 
cursor at column 1 instead of preserving the indent level
Comment 1 Jenselme 2017-06-22 20:41:23 UTC
Not sure it is still relevant with the current version. Closing this as old bug. If this is still a thing, please reopen and accept my apologies.
Comment 2 Jiri Kovalsky 2017-06-23 08:06:20 UTC
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.