Provides an editor dialog for graphically editing how the text is presented in the editor when syntax highlighting is turned on. It does this by taking the data from the controls and formating it into an Editra Style Sheet that the editor can load to configure the styles of the text.
Summary: Gui for creating custom Editra Style Sheets
DuplicateStyleDict | Duplicates the style dictionary to make a true copy of |
UpdateBufferStyles | Update the style used in all buffers |
PreviewPanel | Panel to hold the preview window and selector |
SettingsPanel | Panel holding all settings controls for changing the font, |
StyleEditor | This class creates the window that contains the controls |
StyleEditorBox | StyleEditor main Panel |
StyleEditorPanel | Main panel for the editor portion of the StyleEditor |
Duplicates the style dictionary to make a true copy of it, as simply assigning the dictionary to two different variables only copies a reference leaving both variables pointing to the same object.
Parameters: | style_dict – dictionary of tags->StyleItems |
---|---|
Returns: | a copy of the given styleitem dictionary |
Update the style used in all buffers
Parameters: | sheet – Style sheet to use |
---|