Lines Matching refs:col
76 " Check if the character at lnum:col is inside a string, comment, or is ascii.
77 function s:IsInStringOrComment(lnum, col) argument
78 return synIDattr(synID(a:lnum, a:col, 1), 'name') =~ s:syng_strcom
81 " Check if the character at lnum:col is inside a string.
82 function s:IsInString(lnum, col) argument
83 return synIDattr(synID(a:lnum, a:col, 1), 'name') =~ s:syng_string
86 " Check if the character at lnum:col is inside a string delimiter
87 function s:IsInStringDelimiter(lnum, col) argument
88 return synIDattr(synID(a:lnum, a:col, 1), 'name') == 'falconStringDelimiter'
172 let col = match(line, s:continuation_regex) + 1
173 if (col > 0 && !s:IsInStringOrComment(lnum, col))
251 let col = match(getline(a:lnum), '\C'.a:regex) + 1
252 return col > 0 && !s:IsInStringOrComment(a:lnum, col) ? col : 0
257 let col = match(line, '.*\zs' . a:regex)
258 while col != -1 && s:IsInStringOrComment(a:lnum, col)
259 let line = strpart(line, 0, col)
260 let col = match(line, '.*' . a:regex)
262 return col + 1
283 let col = matchend(line, '^\s*[]})]')
284 if col > 0 && !s:IsInStringOrComment(clnum, col)
285 call cursor(clnum, col)
286 let bs = strpart('(){}[]', stridx(')}]', line[col - 1]) * 2, 2)
288 if line[col-1]==')' && col('.') != col('$') - 1
306 if strpart(line, 0, col('.') - 1) =~ '=\s*$' &&
307 \ strpart(line, col('.') - 1, 2) !~ 'do'
352 if col('.') + 1 == col('$')
377 let col = s:Match(lnum, '\%(^\|[^.:@$]\)\<end\>\s*\%(#.*\)\=$')
378 if col > 0
379 call cursor(lnum, col)
392 let col = s:Match(lnum, s:falcon_indent_keywords)
393 if col > 0
394 call cursor(lnum, col)