Highlighter snippets

From Bluefish Wiki
Revision as of 13:52, 18 December 2010 by Fal7i (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<?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 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>``</before><after>^~</after></leaf>
<leaf type="insert" title="blue" accelerator="<Shift><Control>x" tooltip="highlight with value text style "><before>```</before><after>^~</after></leaf>
<leaf type="insert" title="yellow" tooltip="highlight with special-tag3 text style " accelerator="<Shift><Control>q"><before>````</before><after>^~</after></leaf>
<leaf type="snr" title="remove" region="s" matchtype="perl" casesens="0" escapechars="0"><searchpat>`[`]+([^^]*)\^~</searchpat><replacepat>\1</replacepat></leaf>
<leaf type="snr" title="to span" region="b" matchtype="normal" casesens="0" escapechars="0"><searchpat/><replacepat/></leaf>
<leaf type="snr" title="to div" region="b" matchtype="normal" casesens="0" escapechars="0"><searchpat/><replacepat/></leaf>
<leaf type="snr" title="grep" region="b" matchtype="normal" casesens="0" escapechars="0"><searchpat/><replacepat/></leaf>
</branch>

</snippets>