WSF
wizard::TextSourceChange Struct Reference

#include <TextSourceChange.hpp>

Public Member Functions

 TextSourceChange ()
void ApplyChangeToRange (UtTextRange &aRange) const
size_t ApplyChangeToPos (size_t aPos) const
void ApplyToDocument (UtTextDocument &aDocument) const
void ApplyToPartialDocument (UtTextDocument &aDocument, UtTextRange &aSection) const
bool operator== (const TextSourceChange &aRhs)

Public Attributes

std::string mText
size_t mPos
size_t mCharsRemoved
long long mSequenceNumber
 Records the time the change was made.

Constructor & Destructor Documentation

◆ TextSourceChange()

wizard::TextSourceChange::TextSourceChange ( )
inline

References mCharsRemoved, mPos, mSequenceNumber, and mText.

Referenced by operator==().

Member Function Documentation

◆ ApplyChangeToPos()

size_t wizard::TextSourceChange::ApplyChangeToPos ( size_t aPos) const

◆ ApplyChangeToRange()

void wizard::TextSourceChange::ApplyChangeToRange ( UtTextRange & aRange) const

◆ ApplyToDocument()

void wizard::TextSourceChange::ApplyToDocument ( UtTextDocument & aDocument) const

References mCharsRemoved, mPos, and mText.

◆ ApplyToPartialDocument()

void wizard::TextSourceChange::ApplyToPartialDocument ( UtTextDocument & aDocument,
UtTextRange & aSection ) const

References mCharsRemoved, mPos, and mText.

◆ operator==()

bool wizard::TextSourceChange::operator== ( const TextSourceChange & aRhs)

Member Data Documentation

◆ mCharsRemoved

◆ mPos

◆ mSequenceNumber

long long wizard::TextSourceChange::mSequenceNumber

Records the time the change was made.

Referenced by operator<<(), operator>>(), and TextSourceChange().

◆ mText


The documentation for this struct was generated from the following files:
Copyrights Multiple, All Rights Reserved