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 160672 - Allow to surround selected text with open/close tag
Summary: Allow to surround selected text with open/close tag
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 17:48 UTC by Marek Fukala
Modified: 2013-01-18 14:51 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 Marek Fukala 2009-03-19 17:48:00 UTC
If an user selects a text in the html editor and starts typing a tag name with leading "<" character the closing tag can
be generated simultaneously. If code completion is used in this mode and an item is selected, the end tag is also updated.
Comment 1 Marek Fukala 2012-10-15 12:13:30 UTC
closing
Comment 2 larsomat 2012-10-16 06:48:59 UTC
Why is it marked as "fixed"? I don't see this feature anywhere.
Comment 3 Marek Fukala 2012-10-16 07:23:28 UTC
select a text in html file

=> surround with tag selection hint is created

invoke it

=> div element is created wrapping the selected text, the "div" text is preselected and edits both open and end tag sections simultaneously.
Comment 4 Vladimir Riha 2013-01-18 14:51:34 UTC
verified

Product Version: NetBeans IDE 7.3 RC1 (Build 201301172100)
Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)