wxMaxima
Classes | Enumerations
TextStyle.h File Reference
#include "precomp.h"
#include <wx/colour.h>
#include <wx/config.h>
#include <wx/font.h>
#include <wx/settings.h>
#include <cstdint>
#include <functional>
#include "FontAttribs.h"
Include dependency graph for TextStyle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AFontName
 
struct  std::hash< AFontName >
 
class  Style
 
struct  StyleFontHasher
 Hash functor of the font size and attributes of the style. More...
 
struct  StyleFontLess
 Less-than-comparator of the font size and attributes of the style. More...
 
struct  StyleFontEquals
 Equals-comparator of the font size and attributes of the style. More...
 

Enumerations

enum  TextStyle : int8_t {
  TS_DEFAULT = 0, TS_VARIABLE = 1, TS_NUMBER = 2, TS_FUNCTION = 3,
  TS_SPECIAL_CONSTANT = 4, TS_GREEK_CONSTANT = 5, TS_STRING = 6, TS_INPUT = 7,
  TS_MAIN_PROMPT = 8, TS_OTHER_PROMPT = 9, TS_LABEL = 10, TS_USERLABEL = 11,
  TS_HIGHLIGHT = 12, TS_WARNING = 13, TS_ERROR = 14, TS_ASCIIMATHS = 15,
  TS_TEXT = 16, TS_HEADING6 = 17, TS_HEADING5 = 18, TS_SUBSUBSECTION = 19,
  TS_SUBSECTION = 20, TS_SECTION = 21, TS_TITLE = 22, TS_TEXT_BACKGROUND = 23,
  TS_DOCUMENT_BACKGROUND = 24, TS_CELL_BRACKET = 25, TS_ACTIVE_CELL_BRACKET = 26, TS_CURSOR = 27,
  TS_SELECTION = 28, TS_EQUALSSELECTION = 29, TS_OUTDATED = 30, TS_CODE_VARIABLE = 31,
  TS_CODE_FUNCTION = 32, TS_CODE_COMMENT = 33, TS_CODE_NUMBER = 34, TS_CODE_STRING = 35,
  TS_CODE_OPERATOR = 36, TS_CODE_LISP = 37, TS_CODE_ENDOFLINE = 38, TS_MATH = 39,
  NUMBEROFSTYLES
}
 

Detailed Description

This file declares everything needed for the text style system used to style all the elements on the work sheet.

Enumeration Type Documentation

◆ TextStyle

enum TextStyle : int8_t

All text styles known to wxMaxima

Attention
If this list is changed, the config dialogue sometimes needs additional tweaking after that.
Enumerator
NUMBEROFSTYLES 

This is not a style, but its value tells us how many styles are defined.