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 123069 - Paired tags highlight matches select highlight
Summary: Paired tags highlight matches select highlight
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: SIMPLEFIX
: 125042 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-29 15:40 UTC by Dan Kolar
Modified: 2008-04-30 15: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 Dan Kolar 2007-11-29 15:40:22 UTC
Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

1) Open html file
2) Double click on any paired tag, <html> for example.

Now this tag is selected, but pairing color highlight hides selected part of tag, so you don't see, if something from
the tag itself is selected, or not. This could cause accidental loss of data.
Comment 1 Marek Fukala 2008-01-14 22:30:39 UTC
This is a generic editor problem I think.
Comment 2 Vitezslav Stejskal 2008-01-18 10:19:39 UTC
*** Issue 125042 has been marked as a duplicate of this issue. ***
Comment 3 Vitezslav Stejskal 2008-01-18 10:33:46 UTC
The problem is that the highlighting layer for braces matching is above the layer for text selection. The layers used to
be ordered the other way around, but then the change was requested for Nb6 based on user experience in editing java
files. I agree that the current state is very annoying for tag based languages like html, xml, etc.

Ideally we would want the selection highlight to allow certain degree of transparency so that it would not completely
hide the highlights below it. This however is not so easy to implement and it's unclear when (if at all) we will have
it. In the meantime I'll flip the z-order back and see if I can somehow preserve the current state for java.
Comment 4 Vitezslav Stejskal 2008-02-20 13:14:42 UTC
changeset 631fdeaea385 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=631fdeaea385
Comment 5 Dan Kolar 2008-04-30 15:44:35 UTC
v.