geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Scintilla::Style Class Reference

#include <Style.h>

Inheritance diagram for Scintilla::Style:
[legend]
Collaboration diagram for Scintilla::Style:
[legend]

Public Types

enum  ecaseForced { caseMixed , caseUpper , caseLower , caseCamel }
 

Public Member Functions

 Style ()
 
 Style (const Style &source) noexcept
 
 Style (Style &&)=default
 
 ~Style ()
 
Styleoperator= (const Style &source) noexcept
 
Styleoperator= (Style &&)=delete
 
void Clear (ColourDesired fore_, ColourDesired back_, int size_, const char *fontName_, int characterSet_, int weight_, bool italic_, bool eolFilled_, bool underline_, ecaseForced caseForce_, bool visible_, bool changeable_, bool hotspot_) noexcept
 
void ClearTo (const Style &source) noexcept
 
void Copy (const Font &font_, const FontMeasurements &fm_) noexcept
 
bool IsProtected () const noexcept
 
- Public Member Functions inherited from Scintilla::FontSpecification
 FontSpecification () noexcept
 
bool operator== (const FontSpecification &other) const noexcept
 
bool operator< (const FontSpecification &other) const noexcept
 
- Public Member Functions inherited from Scintilla::FontMeasurements
 FontMeasurements () noexcept
 
void ClearMeasurements () noexcept
 

Public Attributes

ColourDesired fore
 
ColourDesired back
 
bool eolFilled
 
bool underline
 
ecaseForced caseForce
 
bool visible
 
bool changeable
 
bool hotspot
 
FontAlias font
 
- Public Attributes inherited from Scintilla::FontSpecification
const char * fontName
 
int weight
 
bool italic
 
int size
 
int characterSet
 
int extraFontFlag
 
- Public Attributes inherited from Scintilla::FontMeasurements
unsigned int ascent
 
unsigned int descent
 
XYPOSITION capitalHeight
 
XYPOSITION aveCharWidth
 
XYPOSITION spaceWidth
 
int sizeZoomed
 

Detailed Description

Definition at line 59 of file Style.h.

Member Enumeration Documentation

◆ ecaseForced

Enumerator
caseMixed 
caseUpper 
caseLower 
caseCamel 

Definition at line 65 of file Style.h.

Constructor & Destructor Documentation

◆ Style() [1/3]

◆ Style() [2/3]

Style::Style ( const Style source)
noexcept

Definition at line 83 of file Style.cxx.

References SC_WEIGHT_NORMAL.

◆ Style() [3/3]

Scintilla::Style::Style ( Style &&  )
default

◆ ~Style()

Style::~Style ( )

Definition at line 102 of file Style.cxx.

Member Function Documentation

◆ Clear()

void Style::Clear ( ColourDesired  fore_,
ColourDesired  back_,
int  size_,
const char *  fontName_,
int  characterSet_,
int  weight_,
bool  italic_,
bool  eolFilled_,
bool  underline_,
ecaseForced  caseForce_,
bool  visible_,
bool  changeable_,
bool  hotspot_ 
)
noexcept

Definition at line 126 of file Style.cxx.

References Scintilla::FontMeasurements::ClearMeasurements().

Referenced by Style().

◆ ClearTo()

void Style::ClearTo ( const Style source)
noexcept

Definition at line 148 of file Style.cxx.

◆ Copy()

void Style::Copy ( const Font font_,
const FontMeasurements fm_ 
)
noexcept

Definition at line 165 of file Style.cxx.

◆ IsProtected()

bool Scintilla::Style::IsProtected ( ) const
inlinenoexcept

Definition at line 88 of file Style.h.

◆ operator=() [1/2]

Style & Style::operator= ( const Style source)
noexcept

Definition at line 105 of file Style.cxx.

References SC_CHARSET_DEFAULT, and SC_WEIGHT_NORMAL.

◆ operator=() [2/2]

Style & Scintilla::Style::operator= ( Style &&  )
delete

Member Data Documentation

◆ back

ColourDesired Scintilla::Style::back

◆ caseForce

ecaseForced Scintilla::Style::caseForce

Definition at line 66 of file Style.h.

◆ changeable

bool Scintilla::Style::changeable

Definition at line 68 of file Style.h.

Referenced by Scintilla::ScintillaGTKAccessible::GetAttributesForStyle().

◆ eolFilled

bool Scintilla::Style::eolFilled

Definition at line 63 of file Style.h.

◆ font

FontAlias Scintilla::Style::font

Definition at line 71 of file Style.h.

Referenced by Scintilla::DrawTextNoClipPhase().

◆ fore

ColourDesired Scintilla::Style::fore

◆ hotspot

bool Scintilla::Style::hotspot

Definition at line 69 of file Style.h.

◆ underline

bool Scintilla::Style::underline

Definition at line 64 of file Style.h.

Referenced by Scintilla::ScintillaGTKAccessible::GetAttributesForStyle().

◆ visible

bool Scintilla::Style::visible

Definition at line 67 of file Style.h.

Referenced by Scintilla::ScintillaGTKAccessible::GetAttributesForStyle().


The documentation for this class was generated from the following files: