Highlighter snippets: Difference between revisions
Jump to navigation
Jump to search
m Created page with '<pre> <?xml version="1.0"?> <!-- Highlighter.xml $Revision: 12/18/2010 --> <!-- DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE! BUT FROM THE EDIT TAB (OR T…' |
mNo edit summary |
||
Line 3: | Line 3: | ||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||
<!-- Highlighter.xml $Revision: 12/ | <!-- Highlighter.xml $Revision: 12/31/2010 --> | ||
<!-- | <!-- | ||
Line 16: | Line 16: | ||
<snippets> | <snippets> | ||
<branch title="Highlighter"> | |||
<branch title="Highlighter"> | <leaf type="insert" title="red" accelerator="<Shift><Control>w" tooltip="highlight with warning text style "> | ||
<leaf type="insert" title="red" accelerator="<Shift><Control>w" tooltip="highlight with warning text style "><before> | <before><r></before> | ||
<leaf type="insert" title="blue" accelerator="<Shift><Control>x" tooltip="highlight with value text style "><before> | <after></r></after> | ||
<leaf type="insert" title="yellow" tooltip="highlight with special-tag3 text style " accelerator="<Shift><Control>q"><before> | </leaf> | ||
<leaf type="snr" title=" | <leaf type="insert" title="green" tooltip="highlight with string text style "> | ||
<leaf type="snr" title="to span" region=" | <before><g></before> | ||
<leaf type="snr" title="to div" region="b" matchtype="normal" casesens="0" escapechars="0"><searchpat/><replacepat/></leaf> | <after></g></after> | ||
<leaf type="snr" title="grep" region="b" matchtype="normal" casesens="0" escapechars="0"><searchpat/><replacepat/></leaf> | </leaf> | ||
</branch> | <leaf type="insert" title="blue" accelerator="<Shift><Control>x" tooltip="highlight with value text style "> | ||
<before><b></before> | |||
<after></b></after> | |||
</leaf> | |||
<leaf type="insert" title="yellow" tooltip="highlight with special-tag3 text style " accelerator="<Shift><Control>q"> | |||
<before><y></before> | |||
<after></y></after> | |||
</leaf> | |||
<leaf type="snr" title="ref" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="a ref attribute in highlight tag in selection"><searchpat><([rgby])></searchpat><replacepat><\1 ref=""> </replacepat></leaf> | |||
<leaf type="snr" title="remove" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="remove any highlight in selection" accelerator="mu"> | |||
<searchpat></?[rgby]></searchpat> | |||
<replacepat/> | |||
</leaf> | |||
<leaf type="snr" title="to span" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="NOT DONE"> | |||
<searchpat/> | |||
<replacepat/> | |||
<param name="span value"/> | |||
</leaf> | |||
<leaf type="snr" title="to div" region="b" matchtype="normal" casesens="0" escapechars="0" tooltip="NOT DONE"> | |||
<searchpat/> | |||
<replacepat/> | |||
</leaf> | |||
<leaf type="snr" title="grep" region="b" matchtype="normal" casesens="0" escapechars="0" tooltip="NOT DONE"> | |||
<searchpat/> | |||
<replacepat/> | |||
</leaf> | |||
</branch> | |||
</snippets> | </snippets> | ||
Latest revision as of 08:11, 4 January 2011
<?xml version="1.0"?> <!-- Highlighter.xml $Revision: 12/31/2010 --> <!-- DO NOT COPY THIS FILE FROM THE WIKI MAIN PAGE! BUT FROM THE EDIT TAB (OR THE VIEW SOURCE IF YOU ARE NOT LOGGIN IN) ONLY THE PART WITHIN: <pre> </pre> --> <!-- USAGE: Copy and import this file in the snippets left panel menu. --> <snippets> <branch title="Highlighter"> <leaf type="insert" title="red" accelerator="<Shift><Control>w" tooltip="highlight with warning text style "> <before><r></before> <after></r></after> </leaf> <leaf type="insert" title="green" tooltip="highlight with string text style "> <before><g></before> <after></g></after> </leaf> <leaf type="insert" title="blue" accelerator="<Shift><Control>x" tooltip="highlight with value text style "> <before><b></before> <after></b></after> </leaf> <leaf type="insert" title="yellow" tooltip="highlight with special-tag3 text style " accelerator="<Shift><Control>q"> <before><y></before> <after></y></after> </leaf> <leaf type="snr" title="ref" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="a ref attribute in highlight tag in selection"><searchpat><([rgby])></searchpat><replacepat><\1 ref=""> </replacepat></leaf> <leaf type="snr" title="remove" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="remove any highlight in selection" accelerator="mu"> <searchpat></?[rgby]></searchpat> <replacepat/> </leaf> <leaf type="snr" title="to span" region="s" matchtype="perl" casesens="0" escapechars="0" tooltip="NOT DONE"> <searchpat/> <replacepat/> <param name="span value"/> </leaf> <leaf type="snr" title="to div" region="b" matchtype="normal" casesens="0" escapechars="0" tooltip="NOT DONE"> <searchpat/> <replacepat/> </leaf> <leaf type="snr" title="grep" region="b" matchtype="normal" casesens="0" escapechars="0" tooltip="NOT DONE"> <searchpat/> <replacepat/> </leaf> </branch> </snippets>