comparison runtime/doc/tips.txt @ 856:8cd729851562 v7.0g

updated for version 7.0g
author vimboss
date Sun, 30 Apr 2006 18:54:39 +0000
parents a209672376fd
children 4bac29d27e2f
comparison
equal deleted inserted replaced
855:d2a4f08396fe 856:8cd729851562
1 *tips.txt* For Vim version 7.0f. Last change: 2006 Apr 24 1 *tips.txt* For Vim version 7.0g. Last change: 2006 Apr 30
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
487 if c == '[' 487 if c == '['
488 let c = '\[' 488 let c = '\['
489 let c2 = '\]' 489 let c2 = '\]'
490 endif 490 endif
491 let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' . 491 let s_skip ='synIDattr(synID(line("."), col("."), 0), "name") ' .
492 \ '=~? "string\\|comment"' 492 \ '=~? "string\\|comment"'
493 execute 'if' s_skip '| let s_skip = 0 | endif' 493 execute 'if' s_skip '| let s_skip = 0 | endif'
494 494
495 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip) 495 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip)
496 496
497 if m_lnum > 0 && m_lnum >= line('w0') && m_lnum <= line('w$') 497 if m_lnum > 0 && m_lnum >= line('w0') && m_lnum <= line('w$')
498 exe 'match Search /\(\%' . c_lnum . 'l\%' . c_col . 498 exe 'match Search /\(\%' . c_lnum . 'l\%' . c_col .