Pages: 1
Print
Author Topic: Quickly selecting all text within an element (without selecting element tag)  (Read 293 times)
ScottG
Member

Posts: 5


« on: August 15, 2011, 12:35:22 PM »

At times I need to replace all the text within an element. It would be handy if I could quickly select all the text within an element without selecting the element tag. Is there an easy way to do this besides dragging the mouse around to select all the text? I was hoping a triple-click might do the trick, but it appears not. Is something similar possible?
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1548



WWW
« Reply #1 on: August 15, 2011, 02:03:16 PM »

There is nothing exposed by default in the user interface, but we have an API that can be used to create this feature.

I have created an example here: http://forums.xmetal.com/index.php/topic,1620
Logged
ScottG
Member

Posts: 5


« Reply #2 on: August 16, 2011, 08:09:49 AM »

The script works great! Thanks for the speedy response.
Logged
Pages: 1
Print
Jump to: