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 190446 - Can't delete last character of a document
Summary: Can't delete last character of a document
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: -S1S-
Hardware: All All
: P2 normal (vote)
Assignee: David Strupl
URL:
Keywords: REGRESSION
: 191044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-20 00:07 UTC by katsuke
Modified: 2010-10-18 09:17 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 katsuke 2010-09-20 00:07:46 UTC
Steps to reproduce:

Create a new document (any types should have the same bug, i tested with .php and .c)
Go to end of file
Type a single character
Move cursor to the front of that character
Press DELETE key

Expected:
character deleted

Actual:
nothing happens

Looked for duplicates but couldn't find any
Comment 1 David Strupl 2010-09-20 08:47:58 UTC
Looks like the delete action does not work when the caret is before the last character of the file.

I have reproduced it on my today's build (410488f8d701) on MacOSX so it seems like it is not platform dependent.
Comment 2 David Strupl 2010-10-17 17:57:15 UTC
*** Bug 191044 has been marked as a duplicate of this bug. ***
Comment 3 David Strupl 2010-10-18 09:17:24 UTC
http://hg.netbeans.org/jet-main/rev/2fda9944555a