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

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

Definition at line 889 of file TextEdit.h.

References InsertString(), OglGui::Window::mClipboardString, mSingleLine, and PublishChange().

Referenced by KeyboardFunc().

00890     {
00891         if (mClipboardString.empty())
00892             return;
00893         if (mSingleLine)
00894         {
00895             string str;
00896             int pos = mClipboardString.find_first_of("\n", 0);
00897             if (pos == string::npos)
00898                 pos = mClipboardString.length();
00899             str = mClipboardString.substr(0, pos);
00900             InsertString(str);
00901         }
00902         else
00903             InsertString(mClipboardString);
00904         PublishChange();
00905     }

Here is the call graph for this function:


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