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 152300 - wrong navigation line content on tag boundary
Summary: wrong navigation line content on tag boundary
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2008-11-04 13:44 UTC by Martin Fousek
Modified: 2014-10-06 13:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

screenshot (3.17 KB, image/png)
2008-11-04 13:46 UTC, Martin Fousek

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2008-11-04 13:44:03 UTC
Product Version: NetBeans IDE Dev (Build 200811011401)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)

It's hard to explain, so I will attach a screenshot. When I'm with the cursor before some tag (for Example HEAD), in the
upper part of the editor is HEAD written, but when I'm with the cursor behind the tag, in the upper part HEAD isn't
written. It should be the same behaviour for both of situations. I propose that it should be written there, because the
HEAD tag is still marked.
Comment 1 Martin Fousek 2008-11-04 13:46:08 UTC
Created attachment 73198 [details]
Comment 2 Marek Fukala 2008-11-04 13:56:34 UTC
That is because you need to choose one direction so you are able to decide what tag should be the current one in
situation like this one:


But I admin this rule doesn't have to be used if the caret is on a tag boundary and there isn't another tag on the
opposite side.
Comment 3 Martin Fousek 2008-11-10 06:31:57 UTC
Sorry, you are right with the direction choosing. 

About the second think what you said... I leave it up to you - if fix (improve) it or not.