Lines Matching defs:text
666 // When releasing the first mouse button, we copy the selected text to the
823 BString text;
827 text.Truncate(0);
828 textBuffer->GetStringFromRegion(text, _start, _end);
829 text.Trim();
832 int32 colonIndex = text.FindFirst(':');
834 BString protocol(text, colonIndex);
836 _link = HyperLink(text, HyperLink::TYPE_URL);
865 text.Truncate(0);
866 textBuffer->GetStringFromRegion(text, _start, _end);
867 text.Trim();
868 if (text.IsEmpty())
872 // the text buffer. We do this up-front so we can unlock the text buffer
877 for (int32 index = 0; (index = text.FindFirst(':', index)) >= 0;) {
900 BString originalText = text;
935 originalText.CopyInto(text, startIndex, endIndex - startIndex);
936 if (text.IsEmpty())
941 if (_EntryExists(text, actualPath)) {
942 _link = HyperLink(text, actualPath, HyperLink::TYPE_PATH);
950 BString path = text;
965 ? text
966 : BString(actualPath) << (text.String() + colonIndex);
967 _link = HyperLink(text, address,
1155 data->AddData("text/plain", B_MIME_TYPE, toCopy.String(),