Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void OglGui::TextEdit::BackSpace (  )  [inline]

Definition at line 853 of file TextEdit.h.

References ComputeCaretPosition(), DeleteSelection(), mCaret, mMark, mText, PublishChange(), and UndoableDeleteKey().

Referenced by KeyboardFunc().

00854     {
00855         bool changed = mCaret != mMark;
00856 
00857         if (mCaret != mMark)
00858             DeleteSelection();
00859         else if (mCaret > 0)
00860         {
00861             changed = true;
00862             UndoableDeleteKey(-1);
00863             mMark = --mCaret;
00864             //mText = mText.erase(mCaret, 1);
00865 mText.erase(mCaret, 1);
00866         }
00867         ComputeCaretPosition();
00868         if (changed)
00869             PublishChange();
00870     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:08:08 2010 for ImpalaSrc by  doxygen 1.5.1