Definition at line 115 of file TextEdit.h. References OglGui::TextEdit::ChangeInfo::Caret(), OglGui::TextEdit::ChangeInfo::End(), OglGui::TextEdit::ChangeInfo::Mark(), mCaret, mMark, mText, PublishChange(), RecomputeDocument(), redoDeque, OglGui::TextEdit::ChangeInfo::Start(), OglGui::TextEdit::ChangeInfo::Str(), and undoDeque. Referenced by KeyboardFunc(). 00116 { 00117 if (redoDeque.empty()) 00118 return; 00119 00120 ChangeInfo* undo = redoDeque.back(); 00121 redoDeque.pop_back(); 00122 00123 ChangeInfo* redo = redoDeque.back(); 00124 redoDeque.pop_back(); 00125 00126 mText.replace(redo->Start(), redo->End() - redo->Start(), redo->Str()); 00127 mCaret = redo->Caret(); 00128 mMark = redo->Mark(); 00129 00130 undoDeque.push_back(redo); 00131 undoDeque.push_back(undo); 00132 00133 RecomputeDocument(); 00134 PublishChange(); 00135 }
Here is the call graph for this function:
|