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 163586 - incorrect piece of code is highlighted as end tag for unfinished tag
Summary: incorrect piece of code is highlighted as end tag for unfinished tag
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: Sun Linux
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 13:05 UTC by Jindrich Sedek
Modified: 2010-05-08 06:58 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 2009-04-24 13:05:48 UTC
use this code in HTML file:
----------------------------
<table>
    <tr>
        <td|>
            <div>
                <span> .... </span>
                <small dir="ltr">

                </small>
            </div>
            <div>
            </div>
    <tr>
</table>
-----------------------------
set cursor position at position of "|" - inside <td> tag
section <div></div> gets highlighted as "td" endtag
it would be good to hightlight somehow the end of "<td>" section, but it should be consistent for all unfinished tags
Comment 1 Marek Fukala 2009-04-24 13:14:38 UTC
reproducible, smallest usecase is:

<td|>
    <div></div>
<tr>
Comment 2 Marek Fukala 2010-05-08 06:58:18 UTC
already fixed, works fine for me now.