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 46976

Summary: '>' invisible when would be marked in red but cursor on same line w/ Highlight Caret Row enabled
Product: xml Reporter: Jesse Glick <jglick>
Component: Text-EditAssignee: issues@xml <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: UI
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2004-08-06 17:39:52 UTC
040805 and earlier, 1.5.0 b62, Ocean. If you have
a line in any XML file such as

<foo name=>

the '>' will be marked in bright red as a syntax
error (unexpected token). However if you turn on
"Highlight Caret Row" in editor options for XML,
and the caret is on the same row, the '>' is
completely invisible (looks like ' ').

Disturbing when you use H.C.R. because you start
editing something like

<foo>

to insert a 'name' attr, like so

<foo name=>

or

<foo name=">

and it seems that the '>' disappears when you type
the '=', as if the KB were in overstrike mode; yet
it is really there and reappears if you type

<foo name="">

or if you just move up or down a line.
Comment 1 _ pkuzel 2005-03-01 15:10:17 UTC
WORKSFORME probably fixed in editor itself.