Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 24. október 2026

Rozdiely pre vimconfig/vim/plugin/imaps.vim medzi verziami 1.5 a 1.6

verzia 1.5, 2003/01/21 13:46:07 verzia 1.6, 2003/02/24 16:13:47
Riadok 71 
Riadok 71 
 " LHS of the required mapping.  " LHS of the required mapping.
 "  "
 " NOTE: some functions may confuse user. Therefore if exists variable  " NOTE: some functions may confuse user. Therefore if exists variable
 " "g:disable_imap" and is set to ":let g:disable_imap=1", all functions  " "g:disable_imap" or "b:disable_imap" and is set to ":let g:disable_imap=1",
 " returns ASAP. This feature was added by Lubomir Host <rajo AT host.sk>  " all functions returns ASAP. This feature was added by Lubomir Host 'rajo'
   " <rajo AT platon.sk>
 "  "
 " NOTE: There are other plugins out there which do the same thing. For  " NOTE: There are other plugins out there which do the same thing. For
 " example, Dr. Chip's Cabbr script at  " example, Dr. Chip's Cabbr script at
Riadok 123  function! IMAP(lhs, rhs, ft)
Riadok 124  function! IMAP(lhs, rhs, ft)
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
         let lastLHSChar = a:lhs[strlen(a:lhs)-1]          let lastLHSChar = a:lhs[strlen(a:lhs)-1]
         " s:charLens_<ft>_<char> contains the lengths of the left hand sides of          " s:charLens_<ft>_<char> contains the lengths of the left hand sides of
         " the various mappings for filetype <ft> which end in <char>. its a comma          " the various mappings for filetype <ft> which end in <char>. its a comma
Riadok 277  function! IMAP_PutTextWithMovement(text)
Riadok 283  function! IMAP_PutTextWithMovement(text)
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
   
         " if the text contains a ä or a Ťlabelť, then get to the first one of          " if the text contains a ä or a Ťlabelť, then get to the first one of
         " those.          " those.
Riadok 325  function! <SID>Strntok(s, tok, n)
Riadok 336  function! <SID>Strntok(s, tok, n)
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
         return matchstr( a:s . a:tok[0],          return matchstr( a:s . a:tok[0],
                                 \ '\v(\zs([^' . a:tok . ']*)\ze[' . a:tok . ']){' . a:n . '}')                                  \ '\v(\zs([^' . a:tok . ']*)\ze[' . a:tok . ']){' . a:n . '}')
 endfunction  endfunction
Riadok 363  function! <SID>Snip() range
Riadok 379  function! <SID>Snip() range
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
         let i = a:firstline          let i = a:firstline
         let maxlen = -2          let maxlen = -2
         " find out the maximum virtual length of each line.          " find out the maximum virtual length of each line.
Riadok 394  function! SAImaps_RemoveLastHistoryItem(
Riadok 415  function! SAImaps_RemoveLastHistoryItem(
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
         call histdel("/", -1)          call histdel("/", -1)
         let @/ = histget("/", -1)          let @/ = histget("/", -1)
 endfunction  endfunction
Riadok 408  function! IMAP_Jumpfunc()
Riadok 434  function! IMAP_Jumpfunc()
                         return                          return
                 endif                  endif
         endif          endif
           if exists("b:disable_imap")
                   if b:disable_imap == 1
                           return
                   endif
           endif
         if !search('Ť.\{-}ť','W') "no more marks          if !search('Ť.\{-}ť','W') "no more marks
                 return "\<CR>"                  return "\<CR>"
         else          else

Legend:
Odstranené z verzie1.5  
zmenené riadky
  Pridané vo verzii1.6

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok