This is an adaptation of the script discussed at
http://www.smashingmagazine.com/2009/11 ... html-code/
to work on UltraEdit Javascript engine.
This is a text expander that turns this css string
into the correspondent html
The script will select the current line and try to expand it.
Save the source code as a .js file and use it in your scripting/scripts UltraEdit menu.
hth! =)
Download the script file ZenHTMLUltraEdit.js and save it for example in the subdirectory scripts in the UltraEdit/UEStudio program directory or wherever you want. Open Scripting - Scripts, add this script file and assign a hotkey or chord for fast calling the script. Now you can code a line as the example demonstrates and hit the hotkey or the key sequence to execute the script for converting the line according to the code into HTML.
http://www.smashingmagazine.com/2009/11 ... html-code/
to work on UltraEdit Javascript engine.
This is a text expander that turns this css string
Code: Select all
div#content>h1+p
Code: Select all
<div id="content">
<h1></h1>
<p></p>
</div>
Save the source code as a .js file and use it in your scripting/scripts UltraEdit menu.
hth! =)
Download the script file ZenHTMLUltraEdit.js and save it for example in the subdirectory scripts in the UltraEdit/UEStudio program directory or wherever you want. Open Scripting - Scripts, add this script file and assign a hotkey or chord for fast calling the script. Now you can code a line as the example demonstrates and hit the hotkey or the key sequence to execute the script for converting the line according to the code into HTML.