wex v24.04.0
Public Member Functions | List of all members
wex::indicator Class Reference

This class defines our scintilla indicators. More...

#include <wex/syntax/indicator.h>

Inheritance diagram for wex::indicator:
Inheritance graph
[legend]

Public Member Functions

 indicator (const pugi::xml_node &node=pugi::xml_node())
 Default constructor.
 
 indicator (int no, int style=-1)
 Constructor.
 
- Public Member Functions inherited from wex::presentation
 presentation (presentation_t t, const pugi::xml_node &node=pugi::xml_node())
 Constructor from xml node.
 
 presentation (presentation_t t, int no, int style=-1)
 Constructor.
 
auto operator<=> (presentation const &rhs) const
 Spaceship operator.
 
bool operator== (const presentation &) const =default
 == Operator.
 
void apply (wxStyledTextCtrl *stc) const
 Applies this presentation to stc component.
 
const auto & background_colour () const
 Returns background colour.
 
const auto & foreground_colour () const
 Returns foreground colour.
 
bool is_ok () const
 Returns true if this presentation is valid.
 
bool is_underlined () const
 Returns underlined.
 
const std::string name () const
 Returns name of presentation.
 
int number () const
 Returns the no.
 
int style () const
 Returns the style.
 

Additional Inherited Members

- Public Types inherited from wex::presentation
enum  presentation_t { INDICATOR , MARKER }
 The presentation types. More...
 

Detailed Description

This class defines our scintilla indicators.

Constructor & Destructor Documentation

◆ indicator()

wex::indicator::indicator ( int no,
int style = -1 )
explicit

Constructor.

Only sets no and style, and not the colour and under.