Workspace 6.21.5
Public Member Functions | List of all members
HighlightingStringFragment Class Reference

Keeps track of the starting pos and length of a string fragment, and whether it should be highlighted or not. More...

#include <Tools/Widgets/textdifferencer.h>

Inheritance diagram for HighlightingStringFragment:
[legend]

Public Member Functions

 HighlightingStringFragment ()
 
 HighlightingStringFragment (int start, int count, bool highlight=true)
 
int getCount ()
 
int getStart ()
 
int isHighlighted ()
 
- Public Member Functions inherited from StringFragment
 StringFragment ()
 
 StringFragment (int start, int count)
 

Additional Inherited Members

- Public Attributes inherited from StringFragment
int count {0}
 
int start {0}
 

Detailed Description

Constructor & Destructor Documentation

◆ HighlightingStringFragment() [1/2]

HighlightingStringFragment ( int  start,
int  count,
bool  highlight = true 
)
inline

◆ HighlightingStringFragment() [2/2]

Member Function Documentation

◆ getCount()

int getCount ( )
inline

◆ getStart()

int getStart ( )
inline

◆ isHighlighted()

int isHighlighted ( )
inline