wex  v21.04.0
Public Member Functions | List of all members
wex::marker Class Reference

This class defines our scintilla markers. More...

#include <wex/marker.h>

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

Public Member Functions

 marker (const pugi::xml_node &node=pugi::xml_node())
 Default constructor.
 
 marker (int no, int symbol=-1)
 Constructor. More...
 
int symbol () const
 Returns symbol no.
 
- Public Member Functions inherited from wex::presentation
 presentation (presentation_t t, const pugi::xml_node &node=pugi::xml_node())
 Constructor.
 
 presentation (presentation_t t, int no, int style=-1)
 Constructor. More...
 
bool operator< (const presentation &i) const
 < Operator.
 
bool operator== (const presentation &i) const
 == Operator. More...
 
bool operator!= (const presentation &i) const
 != 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.
 

Detailed Description

This class defines our scintilla markers.

Constructor & Destructor Documentation

◆ marker()

wex::marker::marker ( int  no,
int  symbol = -1 
)

Constructor.

Only sets no and symbol, and not the colours.