Scite Quick Start Xhtml |
|
This isn't funny ?
function quickstartxhtml() editor:AddText([[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> </head> <body> </body> </html>]]) end
command.name.14.*=Snippet command.14.*=Snippet command.subsystem.14.*=3 command.mode.14.*=savebefore:no command.shortcut.14.*=Ctrl+. function snippet() editor:WordLeftEndExtend() local sel = editor:GetSelText() editor:ReplaceSel('') dostring(sel .. '()') end
So to use the example above, you would type 'quickstartxhtml' (or probably something shorter) and then hit Control + . (period) and the text in that particular function would appear.
Russell Beattie