Changes between Version 2 and Version 3 of PadrePluginSnippet


Ignore:
Timestamp:
Mar 5, 2012, 9:25:03 AM (2 years ago)
Author:
azawawi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PadrePluginSnippet

    v2 v3  
    1 This is used to document the finding about the Padre::Plugin::Snippets plugin and the TextMate/snipMate integration that i have been planning with {{{bowtie (Kevin)}}}. 
     1This is used to document the finding about the Padre::Plugin::Snippets plugin and the {{{TextMate/snipMate}}}integration that i have been planning with {{{bowtie (Kevin)}}}. 
     2 
     3- Snippet mode can be entered through TAB 
     4- Shift-TAB traverses all variables (circular is a useful snipMate feature). Does not break snippet mode 
     5- Up/down/right/left/page up/page down/home/end/delete automatically kill snippet mode 
     6-  
    27 
    38 
     
    510- Snippet mode OFF: 
    611  - {{{$line}}} = the current line text preceding the cursor 
    7   - Find {{{$trigger}}} for {{{$line}}} and the current active snippet bundle 
    8   - Find snippet of trigger 
    9   -  
     12  - Find {{{$trigger}}} for {{{$line}}} and the current active snippet bundle or exit 
     13  - Find the snippet associated with trigger or exit 
     14  - Find all variables in snippet of the form: 
     15    {{{ $1, ${1:...}, ${1} }}} 
     16  - Find the first variable that starts with with 1 
    1017- Snippet mode ON: 
    1118