JX Application Framework
Loading...
Searching...
No Matches
Functions | Variables
JStyledTextSetFont.th File Reference

Functions

 if (clearUndo)
 
FontIterator iter (itsStyles, JListT::kStartBefore, range.charRange.first)
 
 while (iter.GetNextItemIndex(&i) &&i<=range.charRange.last)
 
 if (changed)
 

Variables

bool isNew
 
JSTUndoStyleundo = nullptr
 
 else
 
JFont f = itsDefaultFont
 
bool changed = false
 
JIndex i
 

Function Documentation

◆ if() [1/2]

if ( changed  )

◆ if() [2/2]

if ( clearUndo  )

◆ iter()

FontIterator iter ( itsStyles  ,
JListT::kStartBefore  ,
range.charRange.  first 
)

◆ while()

while ( iter.GetNextItemIndex &i &&i<=range.charRange.  last)

Variable Documentation

◆ changed

return changed = false

◆ else

else
Initial value:
{
undo = GetStyleUndo(range, &isNew)
JSTUndoStyle * undo
Definition JStyledTextSetFont.th:21
bool isNew
Definition JStyledTextSetFont.th:20

◆ f

JFont f = itsDefaultFont

◆ i

JIndex i

◆ isNew

bool isNew

Use this file to instantiate code for JStyledText::SetFont*()

To use this file:

#define LocalVarName   ____
#define GetElementName ____
#define SetElementName ____
#include "JStyledTextSetFont.th"
#undef LocalVarName
#undef GetElementName
#undef SetElementName

◆ undo

JSTUndoStyle* undo = nullptr