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 123324

Summary: InsertSemicolonAction should ignore trailing spaces
Product: java Reporter: Jiri Prox <jiriprox>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Prox 2007-12-04 09:46:19 UTC
Product Version: NetBeans IDE Dev (Build 20071203043322)
Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

If there are trailing spaces on the actual line the InsertSemicolonAction adds ';' at the end of line, e.g. behind the
space. It would be better to add semicolon just behind the last non-space character