Kate
KateView Class Reference
#include <kateview.h>

Detailed Description
Definition at line 73 of file kateview.h.
Constructor & Destructor Documentation
KateView::KateView | ( | KateDocument * | doc, | |
QWidget * | parent | |||
) |
Definition at line 105 of file kateview.cpp.
KateView::~KateView | ( | ) |
Definition at line 224 of file kateview.cpp.
Member Function Documentation
void KateView::abortCompletion | ( | ) | [virtual] |
const QList< KTextEditor::SmartRange * > & KateView::actions | ( | ) | const |
Definition at line 2023 of file kateview.cpp.
void KateView::addActions | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 2001 of file kateview.cpp.
void KateView::addExternalHighlight | ( | KTextEditor::SmartRange * | topRange, | |
bool | supportDynamic | |||
) |
Definition at line 1960 of file kateview.cpp.
void KateView::addInternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 1935 of file kateview.cpp.
void KateView::align | ( | ) | [slot] |
Definition at line 2170 of file kateview.cpp.
void KateView::annotationActivated | ( | KTextEditor::View * | view, | |
int | line | |||
) | [virtual, signal] |
Implements KTextEditor::AnnotationViewInterface.
void KateView::annotationContextMenuAboutToShow | ( | KTextEditor::View * | view, | |
QMenu * | menu, | |||
int | line | |||
) | [virtual, signal] |
Implements KTextEditor::AnnotationViewInterface.
KTextEditor::AnnotationModel * KateView::annotationModel | ( | ) | const [virtual] |
void KateView::backspace | ( | ) | [slot] |
Definition at line 2210 of file kateview.cpp.
virtual bool KateView::blockSelection | ( | ) | const [inline, virtual] |
bool KateView::blockSelectionMode | ( | ) | const |
Definition at line 1875 of file kateview.cpp.
void KateView::bottom | ( | ) | [slot] |
Definition at line 2375 of file kateview.cpp.
void KateView::bottomOfView | ( | ) | [slot] |
Definition at line 2335 of file kateview.cpp.
void KateView::capitalize | ( | ) | [slot] |
Capitalizes the selection (makes each word start with an uppercase) or the word under the cursor.
Definition at line 2200 of file kateview.cpp.
void KateView::cleanIndent | ( | ) | [slot] |
Definition at line 2165 of file kateview.cpp.
void KateView::clear | ( | ) |
Definition at line 1373 of file kateview.cpp.
void KateView::clearActions | ( | ) |
Definition at line 2033 of file kateview.cpp.
void KateView::clearExternalHighlights | ( | ) |
Definition at line 2028 of file kateview.cpp.
Definition at line 1447 of file kateview.cpp.
bool KateView::clearSelection | ( | ) | [slot] |
Definition at line 1442 of file kateview.cpp.
KateCmdLine * KateView::cmdLine | ( | ) |
Definition at line 2507 of file kateview.cpp.
void KateView::comment | ( | ) | [slot] |
Definition at line 2175 of file kateview.cpp.
void KateView::completionAborted | ( | KTextEditor::View * | view | ) | [signal] |
void KateView::completionExecuted | ( | KTextEditor::View * | view, | |
const KTextEditor::Cursor & | position, | |||
KTextEditor::CodeCompletionModel * | model, | |||
const QModelIndex & | ||||
) | [signal] |
KateCompletionWidget * KateView::completionWidget | ( | ) | const |
Definition at line 2055 of file kateview.cpp.
KateViewConfig* KateView::config | ( | ) | [inline] |
QStringList KateView::configKeys | ( | ) | const [virtual] |
QMenu * KateView::contextMenu | ( | ) | const [virtual] |
void KateView::contextMenuEvent | ( | QContextMenuEvent * | ev | ) | [protected] |
void KateView::copy | ( | ) | const [slot] |
Definition at line 1628 of file kateview.cpp.
QString KateView::currentTextLine | ( | ) |
Definition at line 2145 of file kateview.cpp.
QString KateView::currentWord | ( | ) |
Definition at line 2150 of file kateview.cpp.
void KateView::cursorLeft | ( | ) | [slot] |
Definition at line 2235 of file kateview.cpp.
KTextEditor::Cursor KateView::cursorPosition | ( | ) | const [virtual] |
QPoint KateView::cursorPositionCoordinates | ( | ) | const [virtual] |
KTextEditor::Cursor KateView::cursorPositionVirtual | ( | ) | const [virtual] |
void KateView::cursorRight | ( | ) | [slot] |
Definition at line 2245 of file kateview.cpp.
bool KateView::cursorSelected | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1522 of file kateview.cpp.
QPoint KateView::cursorToCoordinate | ( | const KTextEditor::Cursor & | cursor | ) | const [virtual] |
void KateView::cut | ( | ) | [slot] |
Definition at line 1619 of file kateview.cpp.
void KateView::deleteWordLeft | ( | ) | [slot] |
Definition at line 2215 of file kateview.cpp.
void KateView::deleteWordRight | ( | ) | [slot] |
Definition at line 2225 of file kateview.cpp.
void KateView::disableTextHints | ( | ) | [virtual] |
KateDocument* KateView::doc | ( | ) | [inline] |
accessor to katedocument pointer
- Returns:
- pointer to document
Definition at line 510 of file kateview.h.
KTextEditor::Document * KateView::document | ( | ) | const [virtual] |
void KateView::down | ( | ) | [slot] |
Definition at line 2305 of file kateview.cpp.
void KateView::dropEventPass | ( | QDropEvent * | ) | [signal] |
void KateView::dynamicHighlightAdded | ( | KateSmartRange * | range | ) | [signal] |
void KateView::dynamicHighlightRemoved | ( | KateSmartRange * | range | ) | [signal] |
bool KateView::dynWordWrap | ( | ) | const [inline] |
Definition at line 236 of file kateview.h.
int KateView::dynWrapIndicators | ( | ) |
Definition at line 1128 of file kateview.cpp.
KActionCollection* KateView::editActionCollection | ( | ) | const [inline] |
Definition at line 512 of file kateview.h.
void KateView::editEnd | ( | int | editTagLineStart, | |
int | editTagLineEnd, | |||
bool | tagFrom | |||
) |
Definition at line 1331 of file kateview.cpp.
void KateView::editSetCursor | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1336 of file kateview.cpp.
void KateView::editStart | ( | ) |
Definition at line 1326 of file kateview.cpp.
void KateView::enableTextHints | ( | int | timeout | ) | [virtual] |
void KateView::end | ( | ) | [slot] |
Definition at line 2285 of file kateview.cpp.
void KateView::exportAsHTML | ( | ) | [slot] |
Definition at line 1817 of file kateview.cpp.
const QList< KTextEditor::SmartRange * > & KateView::externalHighlights | ( | ) | const |
Definition at line 1996 of file kateview.cpp.
void KateView::find | ( | ) | [slot] |
Definition at line 1156 of file kateview.cpp.
void KateView::findNext | ( | ) | [slot] |
Definition at line 1186 of file kateview.cpp.
void KateView::findPrevious | ( | ) | [slot] |
Definition at line 1191 of file kateview.cpp.
void KateView::findSelectedBackwards | ( | ) | [slot] |
Definition at line 1171 of file kateview.cpp.
void KateView::findSelectedForwards | ( | ) | [slot] |
Definition at line 1165 of file kateview.cpp.
bool KateView::foldingMarkersOn | ( | ) |
Definition at line 1132 of file kateview.cpp.
void KateView::forceCompletion | ( | ) | [virtual] |
int KateView::getEol | ( | ) | const |
Definition at line 1050 of file kateview.cpp.
KateGotoBar * KateView::gotoBar | ( | ) |
Definition at line 2528 of file kateview.cpp.
void KateView::gotoLine | ( | ) | [slot] |
Definition at line 1020 of file kateview.cpp.
void KateView::home | ( | ) | [slot] |
Definition at line 2275 of file kateview.cpp.
bool KateView::iconBorder | ( | ) |
Definition at line 1116 of file kateview.cpp.
bool KateView::imComposeEvent | ( | ) | const [inline] |
Definition at line 620 of file kateview.h.
void KateView::indent | ( | ) | [slot] |
Definition at line 2155 of file kateview.cpp.
bool KateView::insertTemplateTextImplementation | ( | const KTextEditor::Cursor & | c, | |
const QString & | templateString, | |||
const QMap< QString, QString > & | initialValues | |||
) | [virtual] |
Template stuff.
Implements KTextEditor::TemplateInterface.
Definition at line 1926 of file kateview.cpp.
const QList< KTextEditor::SmartRange * > & KateView::internalHighlights | ( | ) | const |
Definition at line 1949 of file kateview.cpp.
bool KateView::isAnnotationBorderVisible | ( | ) | const [virtual] |
bool KateView::isAutomaticInvocationEnabled | ( | ) | const [virtual] |
bool KateView::isCompletionActive | ( | ) | const [virtual] |
bool KateView::isOverwriteMode | ( | ) | const |
void KateView::joinLines | ( | ) | [slot] |
void KateView::keyDelete | ( | ) | [slot] |
Definition at line 2220 of file kateview.cpp.
void KateView::keyReturn | ( | ) | [slot] |
Definition at line 2205 of file kateview.cpp.
void KateView::killLine | ( | ) | [slot] |
Definition at line 2190 of file kateview.cpp.
bool KateView::lineEndSelected | ( | const KTextEditor::Cursor & | lineEndPos | ) |
Definition at line 1539 of file kateview.cpp.
bool KateView::lineHasSelected | ( | int | line | ) |
Definition at line 1546 of file kateview.cpp.
bool KateView::lineIsSelection | ( | int | line | ) |
Definition at line 1551 of file kateview.cpp.
bool KateView::lineNumbersOn | ( | ) |
Definition at line 1120 of file kateview.cpp.
bool KateView::lineSelected | ( | int | line | ) |
Definition at line 1534 of file kateview.cpp.
void KateView::lowercase | ( | ) | [slot] |
Lowercases selected text, or an alphabetic character next to the cursor.
Definition at line 2195 of file kateview.cpp.
bool KateView::mouseTrackingEnabled | ( | ) | const [virtual] |
void KateView::needTextHint | ( | const KTextEditor::Cursor & | position, | |
QString & | text | |||
) | [virtual, signal] |
Implements KTextEditor::TextHintInterface.
void KateView::pageDown | ( | ) | [slot] |
Definition at line 2355 of file kateview.cpp.
void KateView::pageUp | ( | ) | [slot] |
Definition at line 2345 of file kateview.cpp.
void KateView::paste | ( | ) | [slot] |
Definition at line 2108 of file kateview.cpp.
void KateView::readSessionConfig | ( | const KConfigGroup & | config | ) | [virtual] |
void KateView::registerCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) | [virtual] |
void KateView::relayoutRange | ( | const KTextEditor::Range & | range, | |
bool | realLines = false | |||
) |
Definition at line 1368 of file kateview.cpp.
void KateView::reloadFile | ( | ) | [slot] |
Definition at line 913 of file kateview.cpp.
void KateView::removeActions | ( | KTextEditor::SmartRange * | topRange | ) | [slot] |
Definition at line 2012 of file kateview.cpp.
void KateView::removeExternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) | [slot] |
Definition at line 1978 of file kateview.cpp.
void KateView::removeInternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 1942 of file kateview.cpp.
bool KateView::removeSelectedText | ( | ) | [slot] |
Definition at line 1491 of file kateview.cpp.
virtual bool KateView::removeSelection | ( | ) | [inline, virtual, slot] |
virtual bool KateView::removeSelectionText | ( | ) | [inline, virtual, slot] |
KateRenderer * KateView::renderer | ( | ) |
Definition at line 1216 of file kateview.cpp.
void KateView::repaintText | ( | bool | paintOnlyDirty = false |
) |
Definition at line 1378 of file kateview.cpp.
void KateView::replace | ( | ) | [slot] |
Definition at line 1177 of file kateview.cpp.
bool KateView::scrollBarMarks | ( | ) |
Definition at line 1124 of file kateview.cpp.
void KateView::scrollDown | ( | ) | [slot] |
Definition at line 2320 of file kateview.cpp.
void KateView::scrollUp | ( | ) | [slot] |
Definition at line 2315 of file kateview.cpp.
KateSearchBar * KateView::searchBar | ( | bool | initHintAsPower = false |
) |
Definition at line 2520 of file kateview.cpp.
bool KateView::selectAll | ( | ) | [slot] |
Definition at line 1515 of file kateview.cpp.
bool KateView::selection | ( | ) | const [virtual] |
const KTextEditor::Range & KateView::selectionRange | ( | ) | const [virtual] |
QString KateView::selectionText | ( | ) | const [virtual] |
void KateView::selectLine | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1610 of file kateview.cpp.
void KateView::selectWord | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1592 of file kateview.cpp.
void KateView::sendCompletionAborted | ( | ) |
Definition at line 2103 of file kateview.cpp.
void KateView::sendCompletionExecuted | ( | const KTextEditor::Cursor & | position, | |
KTextEditor::CodeCompletionModel * | model, | |||
const QModelIndex & | index | |||
) |
Definition at line 2098 of file kateview.cpp.
void KateView::setAnnotationBorderVisible | ( | bool | visible | ) | [virtual] |
void KateView::setAnnotationModel | ( | KTextEditor::AnnotationModel * | model | ) | [virtual] |
void KateView::setAutomaticInvocationEnabled | ( | bool | enabled = true |
) | [virtual] |
Definition at line 1880 of file kateview.cpp.
void KateView::setContextMenu | ( | QMenu * | menu | ) | [virtual] |
bool KateView::setCursorPosition | ( | KTextEditor::Cursor | position | ) | [virtual] |
bool KateView::setCursorPositionInternal | ( | const KTextEditor::Cursor & | position, | |
uint | tabwidth = 1 , |
|||
bool | calledExternally = false | |||
) |
Definition at line 979 of file kateview.cpp.
bool KateView::setCursorPositionVisual | ( | const KTextEditor::Cursor & | position | ) |
Definition at line 2140 of file kateview.cpp.
void KateView::setDynWrapIndicators | ( | int | mode | ) | [slot] |
Definition at line 903 of file kateview.cpp.
void KateView::setEol | ( | int | eol | ) | [slot] |
Definition at line 1055 of file kateview.cpp.
void KateView::setFoldingMarkersOn | ( | bool | enable | ) | [slot] |
Definition at line 1106 of file kateview.cpp.
void KateView::setIconBorder | ( | bool | enable | ) | [slot] |
Definition at line 1066 of file kateview.cpp.
void KateView::setImComposeEvent | ( | bool | imComposeEvent | ) | [inline] |
void KateView::setLineNumbersOn | ( | bool | enable | ) | [slot] |
Definition at line 1076 of file kateview.cpp.
void KateView::setScrollBarMarks | ( | bool | enable | ) | [slot] |
Definition at line 1086 of file kateview.cpp.
bool KateView::setSelection | ( | const KTextEditor::Cursor & | c, | |
int | i, | |||
bool | b | |||
) | [inline, virtual, slot] |
bool KateView::setSelection | ( | const KTextEditor::Range & | selection | ) | [virtual, slot] |
void KateView::shiftBottom | ( | ) | [slot] |
Definition at line 2380 of file kateview.cpp.
void KateView::shiftBottomOfView | ( | ) | [slot] |
Definition at line 2340 of file kateview.cpp.
void KateView::shiftCursorLeft | ( | ) | [slot] |
Definition at line 2240 of file kateview.cpp.
void KateView::shiftCursorRight | ( | ) | [slot] |
Definition at line 2250 of file kateview.cpp.
void KateView::shiftDown | ( | ) | [slot] |
Definition at line 2310 of file kateview.cpp.
void KateView::shiftEnd | ( | ) | [slot] |
Definition at line 2290 of file kateview.cpp.
void KateView::shiftHome | ( | ) | [slot] |
Definition at line 2280 of file kateview.cpp.
void KateView::shiftPageDown | ( | ) | [slot] |
Definition at line 2360 of file kateview.cpp.
void KateView::shiftPageUp | ( | ) | [slot] |
Definition at line 2350 of file kateview.cpp.
void KateView::shiftToMatchingBracket | ( | ) | [slot] |
Definition at line 2390 of file kateview.cpp.
void KateView::shiftTop | ( | ) | [slot] |
Definition at line 2370 of file kateview.cpp.
void KateView::shiftTopOfView | ( | ) | [slot] |
Definition at line 2330 of file kateview.cpp.
void KateView::shiftUp | ( | ) | [slot] |
Definition at line 2300 of file kateview.cpp.
void KateView::shiftWordLeft | ( | ) | [slot] |
Definition at line 2260 of file kateview.cpp.
void KateView::shiftWordRight | ( | ) | [slot] |
Definition at line 2270 of file kateview.cpp.
void KateView::slotNewUndo | ( | ) | [slot] |
Definition at line 947 of file kateview.cpp.
void KateView::slotReadWriteChanged | ( | ) | [slot] |
Definition at line 924 of file kateview.cpp.
void KateView::slotTextInserted | ( | KTextEditor::View * | view, | |
const KTextEditor::Cursor & | position, | |||
const QString & | text | |||
) |
Definition at line 1921 of file kateview.cpp.
void KateView::slotUpdate | ( | ) | [slot] |
Definition at line 919 of file kateview.cpp.
void KateView::startCompletion | ( | const KTextEditor::Range & | word, | |
KTextEditor::CodeCompletionModel * | model | |||
) | [virtual] |
void KateView::switchToCmdLine | ( | ) | [slot] |
Definition at line 1210 of file kateview.cpp.
void KateView::tagAll | ( | ) |
Definition at line 1363 of file kateview.cpp.
bool KateView::tagLine | ( | const KTextEditor::Cursor & | virtualCursor | ) |
Definition at line 1343 of file kateview.cpp.
bool KateView::tagLines | ( | KTextEditor::Range | range, | |
bool | realRange = false | |||
) |
Definition at line 1930 of file kateview.cpp.
bool KateView::tagLines | ( | KTextEditor::Cursor | start, | |
KTextEditor::Cursor | end, | |||
bool | realCursors = false | |||
) |
Definition at line 1358 of file kateview.cpp.
Definition at line 1353 of file kateview.cpp.
bool KateView::tagRange | ( | const KTextEditor::Range & | range, | |
bool | realLines = false | |||
) |
Definition at line 1348 of file kateview.cpp.
void KateView::tagSelection | ( | const KTextEditor::Range & | oldSelection | ) |
Definition at line 1556 of file kateview.cpp.
bool KateView::toggleBlockSelectionMode | ( | ) | [slot] |
Definition at line 1907 of file kateview.cpp.
void KateView::toggleDynWordWrap | ( | ) | [slot] |
Definition at line 1096 of file kateview.cpp.
void KateView::toggleFoldingMarkers | ( | ) | [slot] |
Definition at line 1111 of file kateview.cpp.
void KateView::toggleIconBorder | ( | ) | [slot] |
Definition at line 1071 of file kateview.cpp.
void KateView::toggleInsert | ( | ) | [slot] |
Definition at line 1005 of file kateview.cpp.
void KateView::toggleLineNumbersOn | ( | ) | [slot] |
Definition at line 1081 of file kateview.cpp.
void KateView::toggleScrollBarMarks | ( | ) | [slot] |
Definition at line 1091 of file kateview.cpp.
void KateView::toggleWriteLock | ( | ) | [slot] |
Definition at line 1136 of file kateview.cpp.
void KateView::toggleWWMarker | ( | ) | [slot] |
Definition at line 1101 of file kateview.cpp.
void KateView::toMatchingBracket | ( | ) | [slot] |
Definition at line 2385 of file kateview.cpp.
void KateView::top | ( | ) | [slot] |
Definition at line 2365 of file kateview.cpp.
void KateView::topOfView | ( | ) | [slot] |
Definition at line 2325 of file kateview.cpp.
void KateView::transpose | ( | ) | [slot] |
Definition at line 2230 of file kateview.cpp.
void KateView::uncomment | ( | ) | [slot] |
Definition at line 2180 of file kateview.cpp.
void KateView::unIndent | ( | ) | [slot] |
Definition at line 2160 of file kateview.cpp.
void KateView::unregisterCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) | [virtual] |
void KateView::up | ( | ) | [slot] |
Definition at line 2295 of file kateview.cpp.
void KateView::updateConfig | ( | ) |
Definition at line 1221 of file kateview.cpp.
void KateView::updateDocumentConfig | ( | ) |
Definition at line 1267 of file kateview.cpp.
void KateView::updateRendererConfig | ( | ) |
Definition at line 1284 of file kateview.cpp.
void KateView::updateView | ( | bool | changed = false |
) |
Definition at line 1386 of file kateview.cpp.
void KateView::uppercase | ( | ) | [slot] |
Uppercases selected text, or an alphabetic character next to the cursor.
Definition at line 2185 of file kateview.cpp.
void KateView::userInvokedCompletion | ( | ) | [slot] |
Definition at line 2502 of file kateview.cpp.
KateViewBar * KateView::viewBar | ( | ) | const |
enum KTextEditor::View::EditMode KateView::viewEditMode | ( | ) | const [inline, virtual] |
QString KateView::viewMode | ( | ) | const [virtual] |
int KateView::virtualCursorColumn | ( | ) | const |
Return the virtual cursor column, each tab is expanded into the document's tabWidth characters.
If word wrap is off, the cursor may be behind the line's length.
Definition at line 1409 of file kateview.cpp.
void KateView::wordLeft | ( | ) | [slot] |
Definition at line 2255 of file kateview.cpp.
void KateView::wordRight | ( | ) | [slot] |
Definition at line 2265 of file kateview.cpp.
bool KateView::wrapCursor | ( | ) |
Definition at line 1913 of file kateview.cpp.
void KateView::writeSessionConfig | ( | KConfigGroup & | config | ) | [virtual] |
Member Data Documentation
KateCompletionWidget* KateView::m_completionWidget [mutable] |
Definition at line 221 of file kateview.h.
The documentation for this class was generated from the following files: