ed_style¶Provides a system for managing styles in the text control. Compiles the data in an Editra Style Sheet to a format that Scintilla can understand. The specification of Editra Style Sheets that this module implements can be found either in the _docs_ folder of the source distribution or on Editra’s home page http://editra.org/editra_style_sheets.
Functions Summary¶| MergeFonts | Does any string substitution that the style dictionary |
| MergeStyles | Merges the styles from styles2 into styles1 overwriting |
| NullStyleItem | Create a null style item |
Classes Summary¶| StyleItem | A storage class for holding styling information |
| StyleMgr | Manages style definitions and provides them on request. |
Does any string substitution that the style dictionary may need to have fonts and their sizes set.
| Parameters: |
|
|---|---|
| Returns: | style dictionary with all font format strings substituted in |
Merges the styles from styles2 into styles1 overwriting any duplicate values already set in styles1 with the new data from styles2.
| Parameters: |
|
|---|---|
| Returns: | style1 with all values from styles2 merged into it |
Create a null style item
| Returns: | empty style item that cannot be merged |
|---|