Editra 0.6.89
Editra API Documentation
Classes | Packages | Functions | Variables
ed_style.py File Reference

Classes

class  Editra.src.ed_style.StyleItem
 A storage class for holding styling information. More...
class  Editra.src.ed_style.StyleMgr
 Manages style definitions and provides them on request. More...

Packages

package  Editra.src.ed_style

Functions

def Editra::src::ed_style.NullStyleItem
 Create a null style item.
def Editra::src::ed_style.MergeFonts
 Does any string substitution that the style dictionary may need to have fonts and their sizes set.
def Editra::src::ed_style.MergeStyles
 Merges the styles from styles2 into styles1 overwriting any duplicate values already set in styles1 with the new data from styles2.

Variables

string Editra::src::ed_style.__author__ = "Cody Precord <cprecord@editra.org>"
 Name: ed_style.py # Purpose: Editra's style management system.
string Editra::src::ed_style.__svnid__ = "$Id: ed_style.py 69752 2011-11-13 23:15:40Z CJP $"
string Editra::src::ed_style.__revision__ = "$Revision: 69752 $"
tuple Editra::src::ed_style.STY_ATTRIBUTES = (u"face", u"fore", u"back", u"size", u"modifiers")
tuple Editra::src::ed_style.STY_EX_ATTRIBUTES = (u"eol", u"bold", u"italic", u"underline")
tuple Editra::src::ed_style.RE_ESS_COMMENT = re.compile("\/\*[^*]*\*+([^/][^*]*\*+)*\/")
tuple Editra::src::ed_style.RE_ESS_SCALAR = re.compile("\%\([a-zA-Z0-9]+\)")
tuple Editra::src::ed_style.RE_HEX_STR = re.compile("#[0-9a-fA-F]{3,6}")
 Editra::src::ed_style.DEF_STYLE_DICT = \
string Editra::src::ed_style.size = "%(size3)d"
string Editra::src::ed_style.face = "%(secondary)s"
list Editra::src::ed_style.ex = ["bold",]
 All Classes Namespaces Files Functions Variables Properties