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 124897 - Bracket matching navigation is switching tags
Summary: Bracket matching navigation is switching tags
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 124898 (view as bug list)
Depends on: 132172
Blocks:
  Show dependency tree
 
Reported: 2008-01-08 16:51 UTC by Jindrich Sedek
Modified: 2009-11-16 07:08 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 Jindrich Sedek 2008-01-08 16:51:43 UTC
Create some HTML file
use this code:
--------------------------
                <tr><|td>
                    </td><td>
                    </td><td>
                    </td><td>
                </td></tr>
-----------------------
set cursor possition at place of "|" press Ctrl+[
you are moved to end tag, press it again -> you are moving down on other tags -> expected behaviour would be to jump 
back at the start tag

imagine having tons of code inside <td>... </td> - you can not use this navigation directly
Comment 1 Jindrich Sedek 2008-01-08 17:01:01 UTC
*** Issue 124898 has been marked as a duplicate of this issue. ***
Comment 2 Marek Fukala 2008-01-14 22:44:42 UTC
should be fixed
Comment 3 Marek Fukala 2008-03-05 19:11:47 UTC
fixed in revision c078fb70aed1 by reimplementing the html bracket matcher to be parser based.
Comment 4 Jindrich Sedek 2008-03-26 12:24:16 UTC
verified.
NetBeans IDE Dev (Build 200803251204)
Comment 5 Jindrich Sedek 2008-04-03 10:46:44 UTC
this issue appears again -> I can reproduce the same steps in NetBeans IDE Dev (Build 200804022003)
Comment 6 Marek Fukala 2008-08-21 15:30:42 UTC
The braces matching api doesn't allow me to say set the caret into the matched tag so it always jumps to the others. The
API is a subject to change in next version so I belive this will change somehow. See issue #132172
Comment 7 Marek Fukala 2008-09-26 15:35:51 UTC
I'll try to fix this one if time permits.
Comment 8 Marek Fukala 2009-10-30 13:11:11 UTC
fixed in web-main#6755cf3eb44c
Comment 9 Quality Engineering 2009-11-01 10:56:50 UTC
Integrated into 'main-golden', will be available in build *200910310201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6755cf3eb44c
User: Marek Fukala <mfukala@netbeans.org>
Log: #124897 - Bracket matching navigation is switching tags
Comment 10 Jindrich Sedek 2009-11-16 07:08:16 UTC
v.
 NetBeans IDE Dev (Build 200911160201)