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

void OglGui::TextEdit::GetSelectionLeftRight ( int &  left,
int &  right 
) [inline]

Definition at line 439 of file TextEdit.h.

References mCaret, and mMark.

Referenced by Copy(), DoDeleteSelection(), GetSelection(), HandleInvertLineSelection(), UndoableInsertKey(), and UndoableInsertString().

00440     {
00441         if (mMark < mCaret)
00442         {
00443             left  = mMark;
00444             right = mCaret;
00445         }
00446         else
00447         {
00448             left  = mCaret;
00449             right = mMark;
00450         }
00451     }


Generated on Thu Jan 13 09:27:05 2011 for ImpalaSrc by  doxygen 1.5.1