wex v24.10.0
Public Member Functions | List of all members
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 (const std::string &name, const 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 auto & name () const
 Returns the name of this property.
 
void set (const std::string &value)
 Override this property (so does not apply this property).
 
const auto & value () const
 Returns the value of this property.
 

Detailed Description

This class defines our scintilla properties.