Definition at line 321 of file TextEdit.h. References GetSelectionLeftRight(), mCaret, mMark, and mText. 00322 { 00323 if (mMark == mCaret) 00324 return ""; 00325 00326 int left, right; 00327 GetSelectionLeftRight(left, right); 00328 return mText.substr(left, right-left); 00329 }
Here is the call graph for this function:
|