Lines Matching refs:b

76 		let b:entitiescompl = 1
77 let b:compl_context = ''
81 let b:compl_context = getline('.')[0:(compl_begin)]
82 if b:compl_context !~ '<[^>]*$'
90 let context_lines = getline(curline-i, curline-1) + [b:compl_context]
91 let b:compl_context = join(context_lines, ' ')
96 let b:compl_context = ''
104 let b:compl_context = matchstr(b:compl_context, '.*\zs<.*')
107 unlet! b:xml_namespace
108 let b:xml_namespace = matchstr(b:compl_context, '^<\zs\k*\ze:')
109 if b:xml_namespace == ''
110 let b:xml_namespace = 'DEFAULT'
120 if len(b:compl_context) == 0 && !exists("b:entitiescompl")
123 let context = matchstr(b:compl_context, '^<\zs.*')
124 unlet! b:compl_context
128 let b:unaryTagsStack = "base meta link hr br param img area input col"
130 let opentag = xmlcomplete#GetLastOpenTag("b:unaryTagsStack")
138 if exists("b:entitiescompl")
139 unlet! b:entitiescompl
193 let tag = substitute(tag, '^'.b:xml_namespace.':', '', '')
212 …s_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, tag) && has_key(g:xmldata{'_'.g:xmldat…
213 let values = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][attrname]
256 if !has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, tag)
260 let attrs = keys(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1])
272 if has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, 'vimxmlattrinfo')
275 if has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmlattrinfo'], item)
276 let m_menu = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmlattrinfo'][item][0]
277 let m_info = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmlattrinfo'][item][1]
282 …en(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmld…
292 …en(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmld…
304 let b:unaryTagsStack = "base meta link hr br param img area input col"
306 let opentag = xmlcomplete#GetLastOpenTag("b:unaryTagsStack")
350 let opentag = xmlcomplete#GetLastOpenTag("b:unaryTagsStack")
354 let tags = keys(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]})
357 if !has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, opentag)
361 let tags = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[opentag][0]
374 if b:xml_namespace == 'DEFAULT'
377 let xml_namespace = b:xml_namespace.':'
379 if has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, 'vimxmltaginfo')
383 if has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmltaginfo'], item)
384 let m_menu = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmltaginfo'][item][0]
385 let m_info = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}['vimxmltaginfo'][item][1]
413 let b:TagStack='' " main stack of tags
416 if exists("b:xml_namespace")
417 if b:xml_namespace == 'DEFAULT'
420 let tagpat='</\='.b:xml_namespace.':\(\k\|[.-]\)\+\|/>'
432 let b:lineTagStack=''
434 let b:TagCol=0
438 let b:TagCol=b:TagCol+mpos
441 if exists('b:closetag_disable_synID') || startInComment==s:InCommentAt(linenum, b:TagCol)
442 let b:TagLine=linenum
443 call s:Push(matchstr(tag,'[^<>]\+'),'b:lineTagStack')
449 while (!s:EmptystackP('b:lineTagStack'))
450 let tag=s:Pop('b:lineTagStack')
452 call s:Push(tag,'b:TagStack')
453 elseif s:EmptystackP('b:TagStack') && !s:Instack(tag, a:unaryTagsStack) "found unclosed tag
456 let endtag=s:Peekstack('b:TagStack')
458 call s:Pop('b:TagStack') "found a open/close tag pair