Classes | |
| class | Completer |
| CSS Code completion provider. More... | |
Functions | |
| def | IsPsuedoClass |
| Check the line to see if its a link pseudo class. | |
| def | GetWordLeft |
| Get the first valid word to the left of the end of line. | |
Variables | |
| string | __author__ = "Cody Precord <cprecord@editra.org>" |
| Simple autocompletion support for Cascading Style Sheets. | |
| string | __cvsid__ = "$Id: csscomp.py 70229 2012-01-01 01:27:10Z CJP $" |
| string | __revision__ = "$Revision: 70229 $" |
| tuple | RE_LINK_PSEUDO = re.compile("a:(link|visited|active|hover|focus)*") |
| tuple | RE_CSS_COMMENT = re.compile("\/\*[^*]*\*+([^/][^*]*\*+)*\/") |
| tuple | RE_CSS_BLOCK = re.compile("\{[^}]*\}") |
| tuple | PSUEDO_SYMBOLS |
| dictionary | PROP_OPTS |
| def Editra.src.autocomp.csscomp.GetWordLeft | ( | line | ) |
Get the first valid word to the left of the end of line.
| line | Line text |
| def Editra.src.autocomp.csscomp.IsPsuedoClass | ( | cmd, | |
| line | |||
| ) |
Check the line to see if its a link pseudo class.
| cmd | current command |
| line | line of the command |
| string __author__ = "Cody Precord <cprecord@editra.org>" |
Simple autocompletion support for Cascading Style Sheets.
| string __cvsid__ = "$Id: csscomp.py 70229 2012-01-01 01:27:10Z CJP $" |
| string __revision__ = "$Revision: 70229 $" |
| dictionary PROP_OPTS |
00001 { u'border-style' : [u'none', u'hidden', u'dotted', u'dashed', 00002 u'solid', u'double', u'groove', u'ridge', 00003 u'inset', u'outset'], 00004 u'float' : [u'left', u'right', u'none'], 00005 u'font-style' : [u'normal', u'italic', u'oblique'], 00006 u'font-weight' : [u'normal', u'bold', u'lighter', u'bolder'], 00007 u'list-style-type' : [u'none', u'disc', u'circle', u'square', 00008 u'decimal', u'decimal-leading-zero', 00009 u'lower-roman', u'upper-roman', 00010 u'lower-alpha', u'upper-alpha', 00011 u'lower-greek', u'lower-latin', u'hebrew', 00012 u'armenian', u'georgian', u'cjk-ideographic', 00013 u'hiragana', u'katakana', 00014 u'hiragana-iroha', u'katakana-iroha'], 00015 u'text-decoration' : [u'none', u'underline', u'line-through', 00016 u'overline', u'blink'], 00017 u'text-align' : [u'left', u'right', u'center', u'justify'], 00018 u'vertical-align' : [u'baseline', u'sub', u'super', u'top', 00019 u'text-top', u'middle', u'bottom', 00020 u'text-bottom', ] 00021 }
| tuple PSUEDO_SYMBOLS |
00001 completer.CreateSymbols([ u'active', u'focus', u'hover', 00002 u'link', u'visited' ], 00003 )
| tuple RE_CSS_BLOCK = re.compile("\{[^}]*\}") |
| tuple RE_CSS_COMMENT = re.compile("\/\*[^*]*\*+([^/][^*]*\*+)*\/") |
| tuple RE_LINK_PSEUDO = re.compile("a:(link|visited|active|hover|focus)*") |
1.7.6.1