clearAllStyles();
The clearAllStyles method of the JadeTextEdit class clears all text style information (for example, font, color, and so on) previously defined for the text editor (for example, when changing the programming language from text to JADE) and resets the text style values to the default values defined by the control properties.
The following actions are performed.
Initializes the default text style (STYLE_DEFAULT).
Sets the default text style attributes to the values of the fontName, fontSize, fontItalic, fontBold, fontUnderline, foreColor, and backColor properties for the control.
Copies the default style to all other styles.
Sets the line number margin style (STYLE_LINENUMBER) foreground color to the light gray RGB value (that is, to #C0C0C0).
Sets brace highlighting style (STYLE_BRACELIGHT) foreground color to the bright blue RGB value (that is, to #0000FF).
Sets the unmatched braces style (STYLE_BRACEBAD) foreground color to the red RGB value (that is, to #FF0000).
Sets the indent guides style(STYLE_INDENTGUIDE) foreground color to the light gray RGB value (that is, to #C0C0C0) and background color to the white RGB value (that is, to #FFFFFF).
For details about setting the individual attributes of a text style, see the setStyleAttributes method.