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 208079 - Insert new line and undo looks undoable
Summary: Insert new line and undo looks undoable
Status: RESOLVED DUPLICATE of bug 203827
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-06 10:09 UTC by Maksim Khramov
Modified: 2012-02-23 15:10 UTC (History)
0 users

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 Maksim Khramov 2012-02-06 10:09:08 UTC
NetBeans IDE Dev (Build 201202050600)

Steps to reproduce:

Create new java class file. 
Insert new line somewhere in code (for ex..

    public static void main(String[] args) {
        // TODO code application logic here<PRESS ENTER HERE>
    }

new line added after comment and caret set under comments
File marked as modified
Press Ctrl-Z to undo
Caret moved to begin of line, file marked as unmodified but new line not disappears.
After that pressing Backspace erases end of comment but caret is not moving
Comment 1 Miloslav Metelka 2012-02-23 15:10:06 UTC
This was fixed in terms of issue #203827 by http://hg.netbeans.org/main-silver/rev/c204196809bf

*** This bug has been marked as a duplicate of bug 203827 ***