wex v26.04.0
wex::property Class Reference

This class defines our scintilla properties. More...

#include <wex/syntax/property.h>

Public Member Functions

 property (const pugi::xml_node &node=pugi::xml_node())
 Default constructor.
 property (std::string name, std::string value)
 Constructor using name, value pair.
void apply (wxStyledTextCtrl *stc) const
 Applies this property to stc component.
void apply_reset (wxStyledTextCtrl *stc) const
 Resets this property (resets the value of this property on the stc component, but does not change the value).
bool is_ok () const
 Returns true if property is valid.
const std::string & name () const
 Returns the name of this property.
void set (const std::string &value)
 Override this property (so does not apply this property).
const std::string & value () const
 Returns the value of this property.

Detailed Description

This class defines our scintilla properties.