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 165397 - select code action should travers embedded langages
Summary: select code action should travers embedded langages
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 13:06 UTC by Jindrich Sedek
Modified: 2011-09-05 09:29 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-05-18 13:06:18 UTC
use this code in HTML file:
-------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <script>
            function f(){
                |
            }
        </script>
    </head>
    <body>
            
    </body>
</html>
-------------------
set cursor position at place of "|" 
invoke select code action (Alt+Shift+.) - pieces of javascript are being selected - last selection is over whole 
javascript code

it would be good if the select code action continues with HTML blocks - after selecting whole javascript code
the section <script> ... </script> would be selected and than higher HTML blocks as while invoking select code action 
in HTML code