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 202523 - typing semicolon automatically puts additional semicolon
Summary: typing semicolon automatically puts additional semicolon
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
: 202541 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-22 23:16 UTC by Falguni
Modified: 2011-09-24 14:03 UTC (History)
2 users (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 Falguni 2011-09-22 23:16:08 UTC
[ BUILD # : 201109220601 ]
[ JDK VERSION : 1.7 ]

Occurs on typing C++ source code on a source file 

Action:
======
Type semicolon ;

Result:
======
Another semicolon automatically entered by editor 
Next line jumps up to current cursor line
Comment 1 Vladimir Voskresensky 2011-09-23 10:00:32 UTC
Editor team, please, evaluate we have not changed our editor support for a long time.

Btw, if typed semicolon is the last character in document => issue #202541
Comment 2 Alexander Pepin 2011-09-23 10:59:41 UTC
This is a regression only in trunk and it's not reproducible in 7.1 Beta build 2011-09-22_22-01-08
Comment 3 Jan Lahoda 2011-09-23 11:06:23 UTC
Sorry for trouble:
http://hg.netbeans.org/jet-main/rev/6cff25df12d4
Comment 4 Vladimir Voskresensky 2011-09-23 11:09:15 UTC
Jan, I think you can close issue #202541 as well
Thanks!
Comment 5 Jan Lahoda 2011-09-23 11:17:14 UTC
*** Bug 202541 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2011-09-24 14:03:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/6cff25df12d4
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #202523: fixing regression caused by 5ab9d3bf0730 - the position in TypedTextInterceptor needs to have backward bias so it does not move when the character is inserted.