Lines Matching refs:fTextView

146 	if (fTextView->TextLength() == 0 && fSaveMessage == NULL)
220 PageSetup(fTextView->Window()->Title());
223 Print(fTextView->Window()->Title());
239 fTextView->Undo(be_clipboard);
245 fTextView->MessageReceived(message);
248 fTextView->Clear();
421 fTextView->GetFontAndColor(&font, &sameProperties);
440 fTextView->GetFontAndColor(&font, &sameProperties);
456 fTextView->GetFontAndColor(&font, &sameProperties);
473 fTextView->GetFontAndColor(&font, &sameProperties);
490 fTextView->GetFontAndColor(&font, &sameProperties);
524 fTextView->SetAlignment(B_ALIGN_LEFT);
528 fTextView->SetAlignment(B_ALIGN_CENTER);
532 fTextView->SetAlignment(B_ALIGN_RIGHT);
538 if (fTextView->DoesWordWrap()) {
539 fTextView->SetWordWrap(false);
542 fTextView->SetWordWrap(true);
613 fTextView->SetEncoding(
621 bool readOnly = !fTextView->IsEditable();
670 fTextView->GoToLine(line);
671 fTextView->ScrollToSelection();
679 fTextView->Select(start, start + length);
680 fTextView->ScrollToOffset(start);
723 fTextView->GetFontAndColor(&font, &sameProperties, &color, &sameColor);
773 switch (fTextView->Alignment()) {
788 = BCharacterSetRoster::GetCharacterSetByFontID(fTextView->GetEncoding());
852 status = fTextView->WriteStyledEditFile(&file);
926 if (charset.GetFontID() == fTextView->GetEncoding())
1014 int32 lastLine = fTextView->CountLines();
1018 int32 linesInDocument = fTextView->CountLines();
1025 currentHeight += fTextView->LineHeight(currentLine);
1046 if (fTextView->CountLines() > 0 && fTextView->TextLength() > 0) {
1054 currentHeight += fTextView->LineHeight(printLine);
1061 top = fTextView->TextHeight(0, firstLineOnPage - 1);
1063 float bottom = fTextView->TextHeight(0, printLine - 1);
1066 printJob.DrawView(fTextView, textRect, B_ORIGIN);
1165 fTextView = new StyledEditView(viewFrame, textBounds, this);
1166 fTextView->SetInsets(TEXT_INSET, TEXT_INSET, TEXT_INSET, TEXT_INSET);
1167 fTextView->SetDoesUndo(true);
1168 fTextView->SetStylable(true);
1169 fTextView->SetEncoding(encoding);
1171 fScrollView = new BScrollView("scrollview", fTextView, B_FOLLOW_ALL, 0,
1371 fTextView->MakeFocus(true);
1448 fTextView->Select(position, position);
1449 fTextView->ScrollToOffset(position);
1496 fTextView->GetSelection(&start, &end);
1520 status = fTextView->GetStyledText(&file, forceEncoding);
1558 switch (fTextView->Alignment()) {
1572 fWrapItem->SetMarked(fTextView->DoesWordWrap());
1621 fTextView->GetEncoding());
1647 fTextView->Reset();
1738 BString viewText(fTextView->Text());
1740 fTextView->GetSelection(&textStart, &textFinish);
1768 fTextView->Select(start, finish);
1771 fTextView->ScrollToSelection();
1783 fTextView->GetSelection(&selectionStart, &selectionFinish);
1787 BString viewText = fTextView->Text();
1801 fTextView->GetSelection(&start, &finish);
1804 fTextView->SetSuppressChanges(true);
1805 fTextView->Delete(start, start + findThis.Length());
1806 fTextView->Insert(start, replaceWith.String(), replaceWith.Length());
1807 fTextView->SetSuppressChanges(false);
1808 fTextView->Select(start, start + replaceWith.Length());
1809 fTextView->ScrollToSelection();
1822 fTextView->SetSuppressChanges(true);
1825 fTextView->Select(0, 0);
1836 fTextView->GetSelection(&start, &finish);
1837 fTextView->Delete(start, start + findThis.Length());
1838 fTextView->Insert(start, replaceWith.String(), replaceWith.Length());
1842 fTextView->Select(start, start);
1844 fTextView->ScrollToSelection();
1845 fTextView->SetSuppressChanges(false);
1855 fTextView->GetFontAndColor(&font, &sameProperties);
1857 fTextView->SetFontAndColor(&font, B_FONT_SIZE);
1869 fTextView->GetFontAndColor(&font, &sameProperties, NULL, NULL);
1870 fTextView->SetFontAndColor(&font, 0, color);
1885 fTextView->GetFontAndColor(&font, &sameProperties);
1920 fTextView->SetFontAndColor(&font, B_FONT_FAMILY_AND_STYLE | B_FONT_FACE);
1942 size_t length = fTextView->TextLength();
1945 if (BUnicodeChar::IsWhitespace(fTextView->Text()[i])) {
1955 << B_TRANSLATE("Lines:") << ' ' << fTextView->CountLines() << '\n'
1975 fTextView->MakeEditable(!readOnly);