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 21297 - (Un)indent is performed also on text with guarded blocks
Summary: (Un)indent is performed also on text with guarded blocks
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-07 12:49 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 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 Jan Lahoda 2002-03-07 12:49:38 UTC
Take some file with guarded block(s). Now, select a piece of unguarded text, and
the guarded text and a piece of text after the guarded section.
Now try to perform Ctrl-T, Tab, Ctrl-D, Shift-Tab.
What happens to me, is that:
1. It beeps (that's OK)
2. At operation IS performed on the code BEFORE guarded section.
3. The operation is NOT performed on the rest of the selected text.

Seen on 020305_1, JDK1.4(fcs), Solaris, Linux.
Comment 1 Jan Lahoda 2002-03-07 12:55:24 UTC
The build is Orion build.
Comment 2 Martin Roskanin 2002-06-15 10:57:35 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/ActionFactory.java,v  <-- 
ActionFactory.java
new revision: 1.34; previous revision: 1.33

/cvs/editor/libsrc/org/netbeans/editor/Formatter.java,v  <-- 
Formatter.java
new revision: 1.34; previous revision: 1.33
Comment 3 Roman Strobl 2005-02-04 14:04:55 UTC
Verified in 200502031900.