Kate
KateView Class Reference
#include <kateview.h>

Public Slots | |
void | align () |
void | backspace () |
void | bottom () |
void | bottomOfView () |
void | capitalize () |
void | cleanIndent () |
bool | clearSelection (bool redraw, bool finishedChangingSelection=true) |
bool | clearSelection () |
void | comment () |
void | copy () const |
void | cursorLeft () |
void | cursorRight () |
void | cut () |
void | deleteWordLeft () |
void | deleteWordRight () |
void | down () |
void | end () |
void | exportAsHTML () |
void | find () |
void | findNext () |
void | findPrevious () |
void | findSelectedBackwards () |
void | findSelectedForwards () |
void | gotoLine () |
void | hideViModeBar () |
void | home () |
void | indent () |
void | joinLines () |
void | keyDelete () |
void | keyReturn () |
void | killLine () |
void | lowercase () |
void | pageDown () |
void | pageUp () |
void | paste () |
void | reloadFile () |
void | removeActions (KTextEditor::SmartRange *topRange) |
void | removeExternalHighlight (KTextEditor::SmartRange *topRange) |
bool | removeSelectedText () |
virtual bool | removeSelection () |
virtual bool | removeSelectionText () |
void | replace () |
void | scrollDown () |
void | scrollUp () |
bool | selectAll () |
virtual bool | setBlockSelection (bool on) |
bool | setBlockSelectionMode (bool on) |
void | setDynWrapIndicators (int mode) |
void | setEol (int eol) |
void | setFoldingMarkersOn (bool enable) |
void | setIconBorder (bool enable) |
void | setLineNumbersOn (bool enable) |
void | setScrollBarMarks (bool enable) |
bool | setSelection (const KTextEditor::Cursor &c, int i, bool b) |
virtual bool | setSelection (const KTextEditor::Range &selection) |
void | shiftBottom () |
void | shiftBottomOfView () |
void | shiftCursorLeft () |
void | shiftCursorRight () |
void | shiftDown () |
void | shiftEnd () |
void | shiftHome () |
void | shiftPageDown () |
void | shiftPageUp () |
void | shiftToMatchingBracket () |
void | shiftTop () |
void | shiftTopOfView () |
void | shiftUp () |
void | shiftWordLeft () |
void | shiftWordRight () |
void | showViModeBar () |
void | slotNewUndo () |
void | slotReadWriteChanged () |
void | slotUpdate () |
void | smartNewline () |
void | switchToCmdLine () |
bool | toggleBlockSelectionMode () |
void | toggleDynWordWrap () |
void | toggleFoldingMarkers () |
void | toggleIconBorder () |
void | toggleInsert () |
void | toggleLineNumbersOn () |
void | toggleScrollBarMarks () |
void | toggleViInputMode () |
void | toggleWriteLock () |
void | toggleWWMarker () |
void | toMatchingBracket () |
void | top () |
void | topOfView () |
void | transpose () |
void | uncomment () |
void | unIndent () |
void | up () |
void | uppercase () |
void | userInvokedCompletion () |
void | wordLeft () |
void | wordRight () |
Signals | |
void | annotationActivated (KTextEditor::View *view, int line) |
void | annotationBorderVisibilityChanged (View *view, bool visible) |
void | annotationContextMenuAboutToShow (KTextEditor::View *view, QMenu *menu, int line) |
void | completionAborted (KTextEditor::View *view) |
void | completionExecuted (KTextEditor::View *view, const KTextEditor::Cursor &position, KTextEditor::CodeCompletionModel *model, const QModelIndex &) |
void | dropEventPass (QDropEvent *) |
void | dynamicHighlightAdded (KateSmartRange *range) |
void | dynamicHighlightRemoved (KateSmartRange *range) |
void | navigateAccept () |
void | navigateBack () |
void | navigateDown () |
void | navigateLeft () |
void | navigateRight () |
void | navigateUp () |
void | needTextHint (const KTextEditor::Cursor &position, QString &text) |
Public Member Functions | |
virtual void | abortCompletion () |
const QList < KTextEditor::SmartRange * > & | actions () const |
void | activateEditActions () |
void | addActions (KTextEditor::SmartRange *topRange) |
void | addExternalHighlight (KTextEditor::SmartRange *topRange, bool supportDynamic) |
void | addInternalHighlight (KTextEditor::SmartRange *topRange) |
KTextEditor::AnnotationModel * | annotationModel () const |
virtual bool | blockSelection () const |
bool | blockSelectionMode () const |
void | clear () |
void | clearActions () |
void | clearExternalHighlights () |
KateCmdLine * | cmdLine () |
KateCompletionWidget * | completionWidget () const |
KateViewConfig * | config () |
QStringList | configKeys () const |
QVariant | configValue (const QString &key) |
QMenu * | contextMenu () const |
KTextEditor::Cursor | coordinatesToCursor (const QPoint &coord) const |
QString | currentTextLine () |
QString | currentWord () |
KTextEditor::Cursor | cursorPosition () const |
QPoint | cursorPositionCoordinates () const |
KTextEditor::Cursor | cursorPositionVirtual () const |
bool | cursorSelected (const KTextEditor::Cursor &cursor) |
QPoint | cursorToCoordinate (const KTextEditor::Cursor &cursor) const |
void | deactivateEditActions () |
QMenu * | defaultContextMenu (QMenu *menu=0L) const |
void | disableTextHints () |
KateDocument * | doc () |
KTextEditor::Document * | document () const |
bool | dynWordWrap () const |
int | dynWrapIndicators () |
void | editEnd (int editTagLineStart, int editTagLineEnd, bool tagFrom) |
void | editSetCursor (const KTextEditor::Cursor &cursor) |
void | editStart () |
void | emitNavigateAccept () |
void | emitNavigateBack () |
void | emitNavigateDown () |
void | emitNavigateLeft () |
void | emitNavigateRight () |
void | emitNavigateUp () |
void | enableTextHints (int timeout) |
void | ensureCursorColumnValid () |
const QList < KTextEditor::SmartRange * > & | externalHighlights () const |
bool | foldingMarkersOn () |
virtual void | forceCompletion () |
ViMode | getCurrentViMode () const |
int | getEol () const |
KateGotoBar * | gotoBar () |
bool | iconBorder () |
bool | imComposeEvent () const |
virtual bool | insertTemplateTextImplementation (const KTextEditor::Cursor &, const QString &templateString, const QMap< QString, QString > &initialValues) |
const QList < KTextEditor::SmartRange * > & | internalHighlights () const |
bool | isAnnotationBorderVisible () const |
virtual bool | isAutomaticInvocationEnabled () const |
virtual bool | isCompletionActive () const |
bool | isOverwriteMode () const |
KateView (KateDocument *doc, QWidget *parent) | |
bool | lineEndSelected (const KTextEditor::Cursor &lineEndPos) |
bool | lineHasSelected (int line) |
bool | lineIsSelection (int line) |
bool | lineNumbersOn () |
bool | lineSelected (int line) |
virtual bool | mouseTrackingEnabled () const |
void | readSessionConfig (const KConfigGroup &) |
virtual void | registerCompletionModel (KTextEditor::CodeCompletionModel *model) |
void | relayoutRange (const KTextEditor::Range &range, bool realLines=false) |
void | removeInternalHighlight (KTextEditor::SmartRange *topRange) |
KateRenderer * | renderer () |
void | repaintText (bool paintOnlyDirty=false) |
bool | scrollBarMarks () |
KateSearchBar * | searchBar (bool initHintAsPower=false) |
virtual bool | selection () const |
virtual const KTextEditor::Range & | selectionRange () const |
virtual QString | selectionText () const |
void | selectLine (const KTextEditor::Cursor &cursor) |
void | selectWord (const KTextEditor::Cursor &cursor) |
void | sendCompletionAborted () |
void | sendCompletionExecuted (const KTextEditor::Cursor &position, KTextEditor::CodeCompletionModel *model, const QModelIndex &index) |
void | setAnnotationBorderVisible (bool visible) |
void | setAnnotationModel (KTextEditor::AnnotationModel *model) |
virtual void | setAutomaticInvocationEnabled (bool enabled=true) |
void | setConfigValue (const QString &key, const QVariant &value) |
void | setContextMenu (QMenu *menu) |
bool | setCursorPosition (KTextEditor::Cursor position) |
bool | setCursorPositionInternal (const KTextEditor::Cursor &position, uint tabwidth=1, bool calledExternally=false) |
bool | setCursorPositionVisual (const KTextEditor::Cursor &position) |
void | setImComposeEvent (bool imComposeEvent) |
virtual bool | setMouseTrackingEnabled (bool enable) |
void | slotTextInserted (KTextEditor::View *view, const KTextEditor::Cursor &position, const QString &text) |
virtual void | startCompletion (const KTextEditor::Range &word, KTextEditor::CodeCompletionModel *model) |
void | tagAll () |
bool | tagLine (const KTextEditor::Cursor &virtualCursor) |
bool | tagLines (KTextEditor::Range range, bool realRange=false) |
bool | tagLines (KTextEditor::Cursor start, KTextEditor::Cursor end, bool realCursors=false) |
bool | tagLines (int start, int end, bool realLines=false) |
bool | tagRange (const KTextEditor::Range &range, bool realLines=false) |
void | tagSelection (const KTextEditor::Range &oldSelection) |
virtual void | unregisterCompletionModel (KTextEditor::CodeCompletionModel *model) |
void | updateConfig () |
void | updateDocumentConfig () |
void | updateRendererConfig () |
void | updateView (bool changed=false) |
void | updateViModeBarCmd () |
void | updateViModeBarMode () |
KateViewBar * | viewBar () const |
enum KTextEditor::View::EditMode | viewEditMode () const |
QString | viewMode () const |
bool | viInputMode () const |
bool | viInputModeStealKeys () const |
KateViModeBar * | viModeBar () |
int | virtualCursorColumn () const |
bool | wrapCursor () |
void | writeSessionConfig (KConfigGroup &) |
~KateView () | |
Public Attributes | |
KateCompletionWidget * | m_completionWidget |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *) |
Detailed Description
Definition at line 75 of file kateview.h.
Constructor & Destructor Documentation
KateView::KateView | ( | KateDocument * | doc, | |
QWidget * | parent | |||
) |
Definition at line 107 of file kateview.cpp.
KateView::~KateView | ( | ) |
Definition at line 255 of file kateview.cpp.
Member Function Documentation
void KateView::abortCompletion | ( | ) | [virtual] |
Definition at line 2314 of file kateview.cpp.
const QList< KTextEditor::SmartRange * > & KateView::actions | ( | ) | const |
Definition at line 2257 of file kateview.cpp.
void KateView::activateEditActions | ( | ) |
Definition at line 2278 of file kateview.cpp.
void KateView::addActions | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 2235 of file kateview.cpp.
void KateView::addExternalHighlight | ( | KTextEditor::SmartRange * | topRange, | |
bool | supportDynamic | |||
) |
Definition at line 2194 of file kateview.cpp.
void KateView::addInternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 2169 of file kateview.cpp.
void KateView::align | ( | ) | [slot] |
Definition at line 2421 of file kateview.cpp.
void KateView::annotationActivated | ( | KTextEditor::View * | view, | |
int | line | |||
) | [signal] |
void KateView::annotationBorderVisibilityChanged | ( | View * | view, | |
bool | visible | |||
) | [signal] |
void KateView::annotationContextMenuAboutToShow | ( | KTextEditor::View * | view, | |
QMenu * | menu, | |||
int | line | |||
) | [signal] |
KTextEditor::AnnotationModel * KateView::annotationModel | ( | ) | const |
Definition at line 2841 of file kateview.cpp.
void KateView::backspace | ( | ) | [slot] |
Definition at line 2475 of file kateview.cpp.
virtual bool KateView::blockSelection | ( | ) | const [inline, virtual] |
Definition at line 274 of file kateview.h.
bool KateView::blockSelectionMode | ( | ) | const |
Definition at line 2112 of file kateview.cpp.
void KateView::bottom | ( | ) | [slot] |
Definition at line 2657 of file kateview.cpp.
void KateView::bottomOfView | ( | ) | [slot] |
Definition at line 2615 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 2458 of file kateview.cpp.
void KateView::cleanIndent | ( | ) | [slot] |
Definition at line 2416 of file kateview.cpp.
void KateView::clear | ( | ) |
Definition at line 1586 of file kateview.cpp.
void KateView::clearActions | ( | ) |
Definition at line 2267 of file kateview.cpp.
void KateView::clearExternalHighlights | ( | ) |
Definition at line 2262 of file kateview.cpp.
bool KateView::clearSelection | ( | bool | redraw, | |
bool | finishedChangingSelection = true | |||
) | [slot] |
Definition at line 1661 of file kateview.cpp.
bool KateView::clearSelection | ( | ) | [slot] |
Definition at line 1656 of file kateview.cpp.
KateCmdLine * KateView::cmdLine | ( | ) |
Definition at line 2796 of file kateview.cpp.
void KateView::comment | ( | ) | [slot] |
Definition at line 2433 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 2301 of file kateview.cpp.
KateViewConfig* KateView::config | ( | ) | [inline] |
QStringList KateView::configKeys | ( | ) | const |
Definition at line 2751 of file kateview.cpp.
Definition at line 2756 of file kateview.cpp.
QMenu * KateView::contextMenu | ( | ) | const |
Definition at line 2704 of file kateview.cpp.
void KateView::contextMenuEvent | ( | QContextMenuEvent * | ev | ) | [protected] |
Definition at line 1078 of file kateview.cpp.
KTextEditor::Cursor KateView::coordinatesToCursor | ( | const QPoint & | coord | ) | const |
Definition at line 2381 of file kateview.cpp.
void KateView::copy | ( | ) | const [slot] |
Definition at line 1865 of file kateview.cpp.
QString KateView::currentTextLine | ( | ) |
Definition at line 2396 of file kateview.cpp.
QString KateView::currentWord | ( | ) |
Definition at line 2401 of file kateview.cpp.
void KateView::cursorLeft | ( | ) | [slot] |
Definition at line 2505 of file kateview.cpp.
KTextEditor::Cursor KateView::cursorPosition | ( | ) | const |
Definition at line 2366 of file kateview.cpp.
QPoint KateView::cursorPositionCoordinates | ( | ) | const |
Definition at line 2386 of file kateview.cpp.
KTextEditor::Cursor KateView::cursorPositionVirtual | ( | ) | const |
Definition at line 2371 of file kateview.cpp.
void KateView::cursorRight | ( | ) | [slot] |
Definition at line 2515 of file kateview.cpp.
bool KateView::cursorSelected | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1759 of file kateview.cpp.
QPoint KateView::cursorToCoordinate | ( | const KTextEditor::Cursor & | cursor | ) | const |
Definition at line 2376 of file kateview.cpp.
void KateView::cut | ( | ) | [slot] |
Definition at line 1856 of file kateview.cpp.
void KateView::deactivateEditActions | ( | ) |
Definition at line 2272 of file kateview.cpp.
Definition at line 2709 of file kateview.cpp.
void KateView::deleteWordLeft | ( | ) | [slot] |
Definition at line 2481 of file kateview.cpp.
void KateView::deleteWordRight | ( | ) | [slot] |
Definition at line 2493 of file kateview.cpp.
void KateView::disableTextHints | ( | ) |
Definition at line 1255 of file kateview.cpp.
KateDocument* KateView::doc | ( | ) | [inline] |
accessor to katedocument pointer
- Returns:
- pointer to document
Definition at line 556 of file kateview.h.
KTextEditor::Document * KateView::document | ( | ) | const |
Definition at line 2688 of file kateview.cpp.
void KateView::down | ( | ) | [slot] |
Definition at line 2581 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 244 of file kateview.h.
int KateView::dynWrapIndicators | ( | ) |
Definition at line 1237 of file kateview.cpp.
void KateView::editEnd | ( | int | editTagLineStart, | |
int | editTagLineEnd, | |||
bool | tagFrom | |||
) |
Definition at line 1544 of file kateview.cpp.
void KateView::editSetCursor | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1549 of file kateview.cpp.
void KateView::editStart | ( | ) |
Definition at line 1539 of file kateview.cpp.
void KateView::emitNavigateAccept | ( | ) | [inline] |
Definition at line 421 of file kateview.h.
void KateView::emitNavigateBack | ( | ) | [inline] |
Definition at line 424 of file kateview.h.
void KateView::emitNavigateDown | ( | ) | [inline] |
Definition at line 418 of file kateview.h.
void KateView::emitNavigateLeft | ( | ) | [inline] |
Definition at line 409 of file kateview.h.
void KateView::emitNavigateRight | ( | ) | [inline] |
Definition at line 412 of file kateview.h.
void KateView::emitNavigateUp | ( | ) | [inline] |
Definition at line 415 of file kateview.h.
void KateView::enableTextHints | ( | int | timeout | ) |
Definition at line 1250 of file kateview.cpp.
void KateView::end | ( | ) | [slot] |
Definition at line 2561 of file kateview.cpp.
void KateView::ensureCursorColumnValid | ( | ) |
Definition at line 1523 of file kateview.cpp.
void KateView::exportAsHTML | ( | ) | [slot] |
Definition at line 2054 of file kateview.cpp.
const QList< KTextEditor::SmartRange * > & KateView::externalHighlights | ( | ) | const |
Definition at line 2230 of file kateview.cpp.
void KateView::find | ( | ) | [slot] |
Definition at line 1333 of file kateview.cpp.
void KateView::findNext | ( | ) | [slot] |
Definition at line 1367 of file kateview.cpp.
void KateView::findPrevious | ( | ) | [slot] |
Definition at line 1372 of file kateview.cpp.
void KateView::findSelectedBackwards | ( | ) | [slot] |
Definition at line 1350 of file kateview.cpp.
void KateView::findSelectedForwards | ( | ) | [slot] |
Definition at line 1344 of file kateview.cpp.
bool KateView::foldingMarkersOn | ( | ) |
Definition at line 1241 of file kateview.cpp.
void KateView::forceCompletion | ( | ) | [virtual] |
Definition at line 2319 of file kateview.cpp.
ViMode KateView::getCurrentViMode | ( | ) | const |
- Returns:
- boolean indicating whether vi mode is active or not
Definition at line 1323 of file kateview.cpp.
int KateView::getEol | ( | ) | const |
Definition at line 1159 of file kateview.cpp.
KateGotoBar * KateView::gotoBar | ( | ) |
Definition at line 2824 of file kateview.cpp.
void KateView::gotoLine | ( | ) | [slot] |
Definition at line 1129 of file kateview.cpp.
void KateView::hideViModeBar | ( | ) | [slot] |
Definition at line 1299 of file kateview.cpp.
void KateView::home | ( | ) | [slot] |
Definition at line 2549 of file kateview.cpp.
bool KateView::iconBorder | ( | ) |
Definition at line 1225 of file kateview.cpp.
bool KateView::imComposeEvent | ( | ) | const [inline] |
Definition at line 665 of file kateview.h.
void KateView::indent | ( | ) | [slot] |
Definition at line 2406 of file kateview.cpp.
const QList< KTextEditor::SmartRange * > & KateView::internalHighlights | ( | ) | const |
Definition at line 2183 of file kateview.cpp.
bool KateView::isAnnotationBorderVisible | ( | ) | const |
Definition at line 2851 of file kateview.cpp.
bool KateView::isAutomaticInvocationEnabled | ( | ) | const [virtual] |
Definition at line 2334 of file kateview.cpp.
bool KateView::isCompletionActive | ( | ) | const [virtual] |
Definition at line 2296 of file kateview.cpp.
bool KateView::isOverwriteMode | ( | ) | const |
void KateView::joinLines | ( | ) | [slot] |
void KateView::keyDelete | ( | ) | [slot] |
Definition at line 2487 of file kateview.cpp.
void KateView::keyReturn | ( | ) | [slot] |
Definition at line 2463 of file kateview.cpp.
void KateView::killLine | ( | ) | [slot] |
Definition at line 2448 of file kateview.cpp.
bool KateView::lineEndSelected | ( | const KTextEditor::Cursor & | lineEndPos | ) |
Definition at line 1776 of file kateview.cpp.
bool KateView::lineHasSelected | ( | int | line | ) |
Definition at line 1783 of file kateview.cpp.
bool KateView::lineIsSelection | ( | int | line | ) |
Definition at line 1788 of file kateview.cpp.
bool KateView::lineNumbersOn | ( | ) |
Definition at line 1229 of file kateview.cpp.
bool KateView::lineSelected | ( | int | line | ) |
Definition at line 1771 of file kateview.cpp.
void KateView::lowercase | ( | ) | [slot] |
Lowercases selected text, or an alphabetic character next to the cursor.
Definition at line 2453 of file kateview.cpp.
bool KateView::mouseTrackingEnabled | ( | ) | const [virtual] |
Definition at line 2284 of file kateview.cpp.
void KateView::navigateAccept | ( | ) | [signal] |
void KateView::navigateBack | ( | ) | [signal] |
void KateView::navigateDown | ( | ) | [signal] |
void KateView::navigateLeft | ( | ) | [signal] |
void KateView::navigateRight | ( | ) | [signal] |
void KateView::navigateUp | ( | ) | [signal] |
void KateView::needTextHint | ( | const KTextEditor::Cursor & | position, | |
QString & | text | |||
) | [signal] |
void KateView::pageDown | ( | ) | [slot] |
Definition at line 2637 of file kateview.cpp.
void KateView::pageUp | ( | ) | [slot] |
Definition at line 2627 of file kateview.cpp.
void KateView::paste | ( | ) | [slot] |
Definition at line 2354 of file kateview.cpp.
void KateView::readSessionConfig | ( | const KConfigGroup & | config | ) |
Definition at line 1148 of file kateview.cpp.
void KateView::registerCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) | [virtual] |
Definition at line 2324 of file kateview.cpp.
void KateView::relayoutRange | ( | const KTextEditor::Range & | range, | |
bool | realLines = false | |||
) |
Definition at line 1581 of file kateview.cpp.
void KateView::reloadFile | ( | ) | [slot] |
Definition at line 1022 of file kateview.cpp.
void KateView::removeActions | ( | KTextEditor::SmartRange * | topRange | ) | [slot] |
Definition at line 2246 of file kateview.cpp.
void KateView::removeExternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) | [slot] |
Definition at line 2212 of file kateview.cpp.
void KateView::removeInternalHighlight | ( | KTextEditor::SmartRange * | topRange | ) |
Definition at line 2176 of file kateview.cpp.
bool KateView::removeSelectedText | ( | ) | [slot] |
Definition at line 1705 of file kateview.cpp.
virtual bool KateView::removeSelection | ( | ) | [inline, virtual, slot] |
Definition at line 256 of file kateview.h.
virtual bool KateView::removeSelectionText | ( | ) | [inline, virtual, slot] |
Definition at line 258 of file kateview.h.
KateRenderer * KateView::renderer | ( | ) |
Definition at line 1404 of file kateview.cpp.
void KateView::repaintText | ( | bool | paintOnlyDirty = false |
) |
Definition at line 1591 of file kateview.cpp.
void KateView::replace | ( | ) | [slot] |
Definition at line 1356 of file kateview.cpp.
bool KateView::scrollBarMarks | ( | ) |
Definition at line 1233 of file kateview.cpp.
void KateView::scrollDown | ( | ) | [slot] |
Definition at line 2597 of file kateview.cpp.
void KateView::scrollUp | ( | ) | [slot] |
Definition at line 2591 of file kateview.cpp.
KateSearchBar * KateView::searchBar | ( | bool | initHintAsPower = false |
) |
Definition at line 2806 of file kateview.cpp.
bool KateView::selectAll | ( | ) | [slot] |
Definition at line 1751 of file kateview.cpp.
bool KateView::selection | ( | ) | const [virtual] |
Definition at line 1685 of file kateview.cpp.
const KTextEditor::Range & KateView::selectionRange | ( | ) | const [virtual] |
Definition at line 2679 of file kateview.cpp.
QString KateView::selectionText | ( | ) | const [virtual] |
Definition at line 1693 of file kateview.cpp.
void KateView::selectLine | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1847 of file kateview.cpp.
void KateView::selectWord | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 1829 of file kateview.cpp.
void KateView::sendCompletionAborted | ( | ) |
Definition at line 2349 of file kateview.cpp.
void KateView::sendCompletionExecuted | ( | const KTextEditor::Cursor & | position, | |
KTextEditor::CodeCompletionModel * | model, | |||
const QModelIndex & | index | |||
) |
Definition at line 2344 of file kateview.cpp.
void KateView::setAnnotationBorderVisible | ( | bool | visible | ) |
Definition at line 2846 of file kateview.cpp.
void KateView::setAnnotationModel | ( | KTextEditor::AnnotationModel * | model | ) |
Definition at line 2834 of file kateview.cpp.
void KateView::setAutomaticInvocationEnabled | ( | bool | enabled = true |
) | [virtual] |
Definition at line 2339 of file kateview.cpp.
virtual bool KateView::setBlockSelection | ( | bool | on | ) | [inline, virtual, slot] |
Definition at line 260 of file kateview.h.
bool KateView::setBlockSelectionMode | ( | bool | on | ) | [slot] |
Definition at line 2117 of file kateview.cpp.
Definition at line 2769 of file kateview.cpp.
void KateView::setContextMenu | ( | QMenu * | menu | ) |
Definition at line 2693 of file kateview.cpp.
bool KateView::setCursorPosition | ( | KTextEditor::Cursor | position | ) |
Definition at line 2361 of file kateview.cpp.
bool KateView::setCursorPositionInternal | ( | const KTextEditor::Cursor & | position, | |
uint | tabwidth = 1 , |
|||
bool | calledExternally = false | |||
) |
Definition at line 1088 of file kateview.cpp.
bool KateView::setCursorPositionVisual | ( | const KTextEditor::Cursor & | position | ) |
Definition at line 2391 of file kateview.cpp.
void KateView::setDynWrapIndicators | ( | int | mode | ) | [slot] |
Definition at line 1012 of file kateview.cpp.
void KateView::setEol | ( | int | eol | ) | [slot] |
Definition at line 1164 of file kateview.cpp.
void KateView::setFoldingMarkersOn | ( | bool | enable | ) | [slot] |
Definition at line 1215 of file kateview.cpp.
void KateView::setIconBorder | ( | bool | enable | ) | [slot] |
Definition at line 1175 of file kateview.cpp.
void KateView::setImComposeEvent | ( | bool | imComposeEvent | ) | [inline] |
void KateView::setLineNumbersOn | ( | bool | enable | ) | [slot] |
Definition at line 1185 of file kateview.cpp.
bool KateView::setMouseTrackingEnabled | ( | bool | enable | ) | [virtual] |
Definition at line 2290 of file kateview.cpp.
void KateView::setScrollBarMarks | ( | bool | enable | ) | [slot] |
Definition at line 1195 of file kateview.cpp.
bool KateView::setSelection | ( | const KTextEditor::Cursor & | c, | |
int | i, | |||
bool | b | |||
) | [inline, slot] |
Definition at line 253 of file kateview.h.
bool KateView::setSelection | ( | const KTextEditor::Range & | selection | ) | [virtual, slot] |
Definition at line 1640 of file kateview.cpp.
void KateView::shiftBottom | ( | ) | [slot] |
Definition at line 2662 of file kateview.cpp.
void KateView::shiftBottomOfView | ( | ) | [slot] |
Definition at line 2621 of file kateview.cpp.
void KateView::shiftCursorLeft | ( | ) | [slot] |
Definition at line 2510 of file kateview.cpp.
void KateView::shiftCursorRight | ( | ) | [slot] |
Definition at line 2520 of file kateview.cpp.
void KateView::shiftDown | ( | ) | [slot] |
Definition at line 2586 of file kateview.cpp.
void KateView::shiftEnd | ( | ) | [slot] |
Definition at line 2566 of file kateview.cpp.
void KateView::shiftHome | ( | ) | [slot] |
Definition at line 2555 of file kateview.cpp.
void KateView::shiftPageDown | ( | ) | [slot] |
Definition at line 2642 of file kateview.cpp.
void KateView::shiftPageUp | ( | ) | [slot] |
Definition at line 2632 of file kateview.cpp.
void KateView::shiftToMatchingBracket | ( | ) | [slot] |
Definition at line 2673 of file kateview.cpp.
void KateView::shiftTop | ( | ) | [slot] |
Definition at line 2652 of file kateview.cpp.
void KateView::shiftTopOfView | ( | ) | [slot] |
Definition at line 2609 of file kateview.cpp.
void KateView::shiftUp | ( | ) | [slot] |
Definition at line 2576 of file kateview.cpp.
void KateView::shiftWordLeft | ( | ) | [slot] |
Definition at line 2531 of file kateview.cpp.
void KateView::shiftWordRight | ( | ) | [slot] |
Definition at line 2543 of file kateview.cpp.
void KateView::showViModeBar | ( | ) | [slot] |
Definition at line 1291 of file kateview.cpp.
void KateView::slotNewUndo | ( | ) | [slot] |
Definition at line 1056 of file kateview.cpp.
void KateView::slotReadWriteChanged | ( | ) | [slot] |
Definition at line 1033 of file kateview.cpp.
void KateView::slotTextInserted | ( | KTextEditor::View * | view, | |
const KTextEditor::Cursor & | position, | |||
const QString & | text | |||
) |
Definition at line 2155 of file kateview.cpp.
void KateView::slotUpdate | ( | ) | [slot] |
Definition at line 1028 of file kateview.cpp.
void KateView::smartNewline | ( | ) | [slot] |
Definition at line 2469 of file kateview.cpp.
void KateView::startCompletion | ( | const KTextEditor::Range & | word, | |
KTextEditor::CodeCompletionModel * | model | |||
) | [virtual] |
Definition at line 2309 of file kateview.cpp.
void KateView::switchToCmdLine | ( | ) | [slot] |
Definition at line 1391 of file kateview.cpp.
void KateView::tagAll | ( | ) |
Definition at line 1576 of file kateview.cpp.
bool KateView::tagLine | ( | const KTextEditor::Cursor & | virtualCursor | ) |
Definition at line 1556 of file kateview.cpp.
bool KateView::tagLines | ( | KTextEditor::Range | range, | |
bool | realRange = false | |||
) |
Definition at line 2164 of file kateview.cpp.
bool KateView::tagLines | ( | KTextEditor::Cursor | start, | |
KTextEditor::Cursor | end, | |||
bool | realCursors = false | |||
) |
Definition at line 1571 of file kateview.cpp.
bool KateView::tagLines | ( | int | start, | |
int | end, | |||
bool | realLines = false | |||
) |
Definition at line 1566 of file kateview.cpp.
bool KateView::tagRange | ( | const KTextEditor::Range & | range, | |
bool | realLines = false | |||
) |
Definition at line 1561 of file kateview.cpp.
void KateView::tagSelection | ( | const KTextEditor::Range & | oldSelection | ) |
Definition at line 1793 of file kateview.cpp.
bool KateView::toggleBlockSelectionMode | ( | ) | [slot] |
Definition at line 2141 of file kateview.cpp.
void KateView::toggleDynWordWrap | ( | ) | [slot] |
Definition at line 1205 of file kateview.cpp.
void KateView::toggleFoldingMarkers | ( | ) | [slot] |
Definition at line 1220 of file kateview.cpp.
void KateView::toggleIconBorder | ( | ) | [slot] |
Definition at line 1180 of file kateview.cpp.
void KateView::toggleInsert | ( | ) | [slot] |
Definition at line 1114 of file kateview.cpp.
void KateView::toggleLineNumbersOn | ( | ) | [slot] |
Definition at line 1190 of file kateview.cpp.
void KateView::toggleScrollBarMarks | ( | ) | [slot] |
Definition at line 1200 of file kateview.cpp.
void KateView::toggleViInputMode | ( | ) | [slot] |
Definition at line 1270 of file kateview.cpp.
void KateView::toggleWriteLock | ( | ) | [slot] |
Definition at line 1245 of file kateview.cpp.
void KateView::toggleWWMarker | ( | ) | [slot] |
Definition at line 1210 of file kateview.cpp.
void KateView::toMatchingBracket | ( | ) | [slot] |
Definition at line 2667 of file kateview.cpp.
void KateView::top | ( | ) | [slot] |
Definition at line 2647 of file kateview.cpp.
void KateView::topOfView | ( | ) | [slot] |
Definition at line 2603 of file kateview.cpp.
void KateView::transpose | ( | ) | [slot] |
Definition at line 2499 of file kateview.cpp.
void KateView::uncomment | ( | ) | [slot] |
Definition at line 2438 of file kateview.cpp.
void KateView::unIndent | ( | ) | [slot] |
Definition at line 2411 of file kateview.cpp.
void KateView::unregisterCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) | [virtual] |
Definition at line 2329 of file kateview.cpp.
void KateView::up | ( | ) | [slot] |
Definition at line 2571 of file kateview.cpp.
void KateView::updateConfig | ( | ) |
Definition at line 1409 of file kateview.cpp.
void KateView::updateDocumentConfig | ( | ) |
Definition at line 1462 of file kateview.cpp.
void KateView::updateRendererConfig | ( | ) |
Definition at line 1482 of file kateview.cpp.
void KateView::updateView | ( | bool | changed = false |
) |
Definition at line 1599 of file kateview.cpp.
void KateView::updateViModeBarCmd | ( | ) |
Update vi mode statusbar with the (partial) vi command being typed.
Definition at line 1314 of file kateview.cpp.
void KateView::updateViModeBarMode | ( | ) |
Update vi mode statusbar according to the current mode.
Definition at line 1306 of file kateview.cpp.
void KateView::uppercase | ( | ) | [slot] |
Uppercases selected text, or an alphabetic character next to the cursor.
Definition at line 2443 of file kateview.cpp.
void KateView::userInvokedCompletion | ( | ) | [slot] |
Definition at line 2786 of file kateview.cpp.
KateViewBar * KateView::viewBar | ( | ) | const |
enum KTextEditor::View::EditMode KateView::viewEditMode | ( | ) | const [inline] |
Definition at line 431 of file kateview.h.
QString KateView::viewMode | ( | ) | const |
Definition at line 974 of file kateview.cpp.
bool KateView::viInputMode | ( | ) | const |
- Returns:
- boolean indicating whether vi mode is active or not
Definition at line 1260 of file kateview.cpp.
bool KateView::viInputModeStealKeys | ( | ) | const |
- Returns:
- boolean indicating whether vi mode will override actions or not
Definition at line 1265 of file kateview.cpp.
KateViModeBar * KateView::viModeBar | ( | ) |
Definition at line 2815 of file kateview.cpp.
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 1623 of file kateview.cpp.
void KateView::wordLeft | ( | ) | [slot] |
Definition at line 2525 of file kateview.cpp.
void KateView::wordRight | ( | ) | [slot] |
Definition at line 2537 of file kateview.cpp.
bool KateView::wrapCursor | ( | ) |
Definition at line 2147 of file kateview.cpp.
void KateView::writeSessionConfig | ( | KConfigGroup & | config | ) |
Definition at line 1153 of file kateview.cpp.
Member Data Documentation
KateCompletionWidget* KateView::m_completionWidget [mutable] |
Definition at line 229 of file kateview.h.
The documentation for this class was generated from the following files: