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 176374

Summary: piece of css code has no green background in html under some circumstances
Product: web Reporter: Jindrich Sedek <jsedek>
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: REOPENED ---    
Severity: normal    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Jindrich Sedek 2009-11-10 03:59:43 UTC
use this code in HTML file:
----------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <style |>
            h1{
                azimuth: behind;
            }
            h1{
                azimuth: behind;
            }
            h1{
                azimuth: behind;
            }
        </style>
    </head>
    <body>
    </body>
</html>
-----------------------------------
at position of "|" (inside style tag) invoke cc, choose type, press Enter -> cc completes the code, but highlighting gets broken; 

the lenght area of broken area is given by the lenght of changed text in one keystroke
Comment 1 Jindrich Sedek 2009-11-10 04:03:41 UTC
Created attachment 90694 [details]
screenshot
Comment 2 Marek Fukala 2010-04-18 20:00:02 UTC
cannot reproduce now, seems to be fixed.
Comment 3 Jindrich Sedek 2010-04-28 14:24:41 UTC
I can still reproduce the problem
Create new HTML file
replace the content with the previous sample
invoke cc at given position and complete first cc option
-> result is the same as shown on the screenshot
using build 201004270201
Comment 4 Marek Fukala 2010-05-07 12:31:20 UTC
reproducible, minor issue