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 20198 - error in java identation engine
Summary: error in java identation engine
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords:
: 20432 21839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-06 12:00 UTC by drscott
Modified: 2007-11-05 13:44 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 drscott 2002-02-06 12:00:29 UTC
Hi!
 
Some parenthesises weren't set correctly. Here's how to reproduce it. 
[CR] stands for 'press Enter'
|    shows the current cursor position

Try typing this within an (empty) class:

    void test [CR]
    |

ok, up to here everything is fine...

Now, press '{'. This will lead to

    void test
 {|

Note: in NB3.3 this led to

    void test
    {|
Comment 1 Martin Roskanin 2002-02-08 09:32:43 UTC
fixed in [maintunk]

/cvs/editor/libsrc/org/netbeans/editor/ext/ExtKit.java,v  <--  ExtKit.java
new revision: 1.27; previous revision: 1.26
Comment 2 Martin Roskanin 2002-02-11 13:34:56 UTC
*** Issue 20432 has been marked as a duplicate of this issue. ***
Comment 4 Jan Lahoda 2002-04-08 10:55:58 UTC
*** Issue 21839 has been marked as a duplicate of this issue. ***
Comment 5 Jan Lahoda 2002-04-08 10:57:44 UTC
OK in 200204080100.
Comment 6 Martin Roskanin 2002-04-17 13:31:41 UTC
fixed in [orion_fcs]

/cvs/editor/libsrc/org/netbeans/editor/ext/ExtKit.java,v  <--  ExtKit.java
new revision: 1.25.14.1.4.1; previous revision: 1.25.14.1

Comment 7 Quality Engineering 2003-06-30 18:14:02 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.