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 - "Start New Line" KB item does not respect indent level
Summary: "Start New Line" KB item does not respect indent level
Status: CLOSED INVALID
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 17:08 UTC by ptone
Modified: 2017-06-23 08:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.