Vuo  2.0.2
Public Member Functions | List of all members
VuoNodeClassListItemHighlighter Class Reference

Description

Highlights (emboldens) target terms within the given text block.

Definition at line 15 of file VuoNodeClassListItemHighlighter.hh.

Public Member Functions

 VuoNodeClassListItemHighlighter (QObject *parent=0)
 Creates a new Node Library class list highlighter. More...
 
void highlightBlock (const QString &text)
 Highlights target terms within the given text block. More...
 
void addTargetTerm (QString regExp)
 Adds term to the list of target terms to highlight. More...
 
void setNodeClassNameStartIndex (int index)
 Designates index as the first position within the highlighted text that corresponds to a node class name rather than a human-readable node title. More...
 

Constructor & Destructor Documentation

◆ VuoNodeClassListItemHighlighter()

VuoNodeClassListItemHighlighter::VuoNodeClassListItemHighlighter ( QObject *  parent = 0)
explicit

Creates a new Node Library class list highlighter.

Definition at line 18 of file VuoNodeClassListItemHighlighter.cc.

Member Function Documentation

◆ addTargetTerm()

void VuoNodeClassListItemHighlighter::addTargetTerm ( QString  regExp)

Adds term to the list of target terms to highlight.

Definition at line 58 of file VuoNodeClassListItemHighlighter.cc.

◆ highlightBlock()

void VuoNodeClassListItemHighlighter::highlightBlock ( const QString &  text)

Highlights target terms within the given text block.

Definition at line 27 of file VuoNodeClassListItemHighlighter.cc.

◆ setNodeClassNameStartIndex()

void VuoNodeClassListItemHighlighter::setNodeClassNameStartIndex ( int  index)

Designates index as the first position within the highlighted text that corresponds to a node class name rather than a human-readable node title.

From this index onward, text will be tokenized on '.' rather than whitespace.

Definition at line 68 of file VuoNodeClassListItemHighlighter.cc.


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