示例#1
0
	def html_elements_attributes(self, view, prefix, pos):
		tag         = cmpl.find_tag_name(view, pos)
		values      = HTML_ELEMENTS_ATTRIBUTES.get(tag, [])
		return [(v,   '%s\t@%s' % (v,v), '%s="$1"' % v) for v in values]
示例#2
0
 def html_elements_attributes(self, view, prefix, pos):
     tag = cmpl.find_tag_name(view, pos)
     values = HTML_ELEMENTS_ATTRIBUTES.get(tag, [])
     return [(v, '%s\t@%s' % (v, v), '%s="$1"' % v) for v in values]