Kate
KateView Class Reference
#include <kateview.h>

Detailed Description
Definition at line 57 of file kateview.h.
Constructor & Destructor Documentation
| KateView::KateView | ( | KateDocument * | doc, | |
| QWidget * | parent = 0L, |
|||
| const char * | name = 0 | |||
| ) |
Definition at line 84 of file kateview.cpp.
| KateView::~KateView | ( | ) |
Definition at line 168 of file kateview.cpp.
Member Function Documentation
| void KateView::aboutToShowCompletionBox | ( | ) | [signal] |
| void KateView::align | ( | ) | [inline, slot] |
Definition at line 305 of file kateview.h.
| void KateView::applyWordWrap | ( | ) | [slot] |
Definition at line 1079 of file kateview.cpp.
| void KateView::argHintHidden | ( | ) | [signal] |
| void KateView::backspace | ( | ) | [inline, virtual, slot] |
| bool KateView::blockSelectionMode | ( | ) | [slot] |
Definition at line 1848 of file kateview.cpp.
| void KateView::bottom | ( | ) | [inline, virtual, slot] |
| void KateView::bottomOfView | ( | ) | [inline, virtual, slot] |
| bool KateView::canDiscard | ( | ) | [virtual] |
Works exactly like closeURL() of KParts::ReadWritePart.
Reimplemented from Kate::View.
Definition at line 838 of file kateview.cpp.
| void KateView::capitalize | ( | ) | [inline, slot] |
Capitalizes the selection (makes each word start with an uppercase) or the word under the cursor.
Definition at line 322 of file kateview.h.
Definition at line 878 of file kateview.cpp.
| void KateView::cleanIndent | ( | ) | [inline, virtual, slot] |
Optimizes the selected indentation, replacing tabs and spaces as needed.
Reimplemented from Kate::View.
Definition at line 304 of file kateview.h.
| void KateView::clear | ( | ) |
Definition at line 1303 of file kateview.cpp.
Definition at line 1391 of file kateview.cpp.
| bool KateView::clearSelection | ( | ) | [slot] |
Definition at line 1386 of file kateview.cpp.
| void KateView::comment | ( | ) | [inline, virtual, slot] |
Comments out current line.
Reimplemented from Kate::View.
Definition at line 306 of file kateview.h.
| void KateView::completionAborted | ( | ) | [signal] |
| void KateView::completionDone | ( | KTextEditor::CompletionEntry | ) | [signal] |
| void KateView::completionDone | ( | ) | [signal] |
| KateViewConfig* KateView::config | ( | ) | [inline] |
| void KateView::contextMenuEvent | ( | QContextMenuEvent * | ev | ) | [protected] |
Definition at line 791 of file kateview.cpp.
| void KateView::copy | ( | ) | const [slot] |
Definition at line 1611 of file kateview.cpp.
| void KateView::copyHTML | ( | ) | [slot] |
| QString KateView::currentTextLine | ( | ) | [inline, virtual] |
Gets the text line where the cursor is on.
Reimplemented from Kate::View.
Definition at line 285 of file kateview.h.
| QString KateView::currentWord | ( | ) | [inline, virtual] |
Gets the word where the cursor is on.
Reimplemented from Kate::View.
Definition at line 287 of file kateview.h.
| uint KateView::cursorColumn | ( | ) | [slot] |
Definition at line 1336 of file kateview.cpp.
| uint KateView::cursorColumnReal | ( | ) | [inline, slot] |
Definition at line 142 of file kateview.h.
| QPoint KateView::cursorCoordinates | ( | ) | [inline, slot] |
Definition at line 129 of file kateview.h.
| void KateView::cursorLeft | ( | ) | [inline, virtual, slot] |
| uint KateView::cursorLine | ( | ) | [inline, slot] |
Definition at line 139 of file kateview.h.
Definition at line 131 of file kateview.h.
| void KateView::cursorPositionChanged | ( | ) | [signal] |
Definition at line 133 of file kateview.h.
| void KateView::cursorRight | ( | ) | [inline, virtual, slot] |
| void KateView::cut | ( | ) | [slot] |
Definition at line 1602 of file kateview.cpp.
| void KateView::deleteWordLeft | ( | ) | [inline, slot] |
Definition at line 331 of file kateview.h.
| void KateView::deleteWordRight | ( | ) | [inline, slot] |
Definition at line 333 of file kateview.h.
| void KateView::disableTextHints | ( | ) |
Definition at line 1074 of file kateview.cpp.
| KateDocument* KateView::doc | ( | ) | const [inline] |
Definition at line 430 of file kateview.h.
| KTextEditor::Document* KateView::document | ( | ) | const [inline] |
Definition at line 79 of file kateview.h.
| void KateView::down | ( | ) | [inline, virtual, slot] |
| void KateView::dropEventPass | ( | QDropEvent * | ) | [signal] |
| bool KateView::dynWordWrap | ( | ) | const [inline] |
Definition at line 178 of file kateview.h.
| int KateView::dynWrapIndicators | ( | ) |
Definition at line 1027 of file kateview.cpp.
| KActionCollection* KateView::editActionCollection | ( | ) | const [inline] |
Definition at line 432 of file kateview.h.
Definition at line 1271 of file kateview.cpp.
| void KateView::editSetCursor | ( | const KateTextCursor & | cursor | ) |
Definition at line 1276 of file kateview.cpp.
| void KateView::editStart | ( | ) |
Definition at line 1266 of file kateview.cpp.
| void KateView::enableTextHints | ( | int | timeout | ) |
Definition at line 1069 of file kateview.cpp.
| void KateView::end | ( | ) | [inline, virtual, slot] |
| void KateView::exportAsHTML | ( | ) | [slot] |
Definition at line 1792 of file kateview.cpp.
| void KateView::filterInsertString | ( | KTextEditor::CompletionEntry * | , | |
| QString * | ||||
| ) | [signal] |
| void KateView::find | ( | ) | [virtual, slot] |
Presents a search dialog to the user.
Reimplemented from Kate::View.
Definition at line 1092 of file kateview.cpp.
| void KateView::findAgain | ( | ) | [inline, virtual, slot] |
Searches for the last searched text forward from cursor position.
Searches forward from current cursor position.
Reimplemented from Kate::View.
Definition at line 385 of file kateview.h.
| void KateView::findAgain | ( | bool | back | ) | [virtual, slot] |
Highly confusing but KateSearch::findAgain() is backwards too.
Reimplemented from Kate::View.
Definition at line 1112 of file kateview.cpp.
| void KateView::findPrev | ( | ) | [inline, virtual, slot] |
Searches for the last searched text forward from cursor position.
Searches backward from current cursor position.
Reimplemented from Kate::View.
Definition at line 386 of file kateview.h.
| void KateView::flush | ( | ) | [virtual, slot] |
Flushes the document of the text widget.
The user is given a chance to save the current document if the current document has been modified.
Reimplemented from Kate::View.
Definition at line 843 of file kateview.cpp.
| bool KateView::foldingMarkersOn | ( | ) |
Definition at line 1031 of file kateview.cpp.
| Kate::Document* KateView::getDoc | ( | ) | [inline, virtual] |
Returns a pointer to the document of the view.
Reimplemented from Kate::View.
Definition at line 411 of file kateview.h.
| int KateView::getEol | ( | ) | [virtual, slot] |
Get the end of line mode (Unix, Macintosh or Dos).
Reimplemented from Kate::View.
Definition at line 944 of file kateview.cpp.
| void KateView::getIMSelectionValue | ( | uint * | imStartLine, | |
| uint * | imStart, | |||
| uint * | imEnd, | |||
| uint * | imSelStart, | |||
| uint * | imSelEnd | |||
| ) |
Definition at line 1909 of file kateview.cpp.
| void KateView::gotFocus | ( | Kate::View * | ) | [signal] |
Reimplemented from Kate::View.
| void KateView::gotoLine | ( | ) | [virtual, slot] |
Presents a "Goto Line" dialog to the user.
Reimplemented from Kate::View.
Definition at line 902 of file kateview.cpp.
| void KateView::gotoLineNumber | ( | int | linenumber | ) | [virtual, slot] |
| void KateView::gotoMark | ( | KTextEditor::Mark * | mark | ) | [inline, virtual, slot] |
| bool KateView::hasSelection | ( | ) | const [slot] |
Definition at line 1419 of file kateview.cpp.
| void KateView::home | ( | ) | [inline, virtual, slot] |
| bool KateView::iconBorder | ( | ) | [virtual] |
Returns whether iconborder is visible.
Reimplemented from Kate::View.
Definition at line 1015 of file kateview.cpp.
| bool KateView::imComposeEvent | ( | ) | const [inline] |
Definition at line 560 of file kateview.h.
| void KateView::indent | ( | ) | [inline, virtual, slot] |
Moves the current line or the selection one position to the right.
Reimplemented from Kate::View.
Definition at line 302 of file kateview.h.
| void KateView::insertText | ( | const QString & | mark | ) | [inline, virtual] |
Insert text at the current cursor position.
- Parameters:
-
mark is unused.
Reimplemented from Kate::View.
Definition at line 289 of file kateview.h.
| void KateView::installPopup | ( | QPopupMenu * | menu | ) | [inline] |
Definition at line 122 of file kateview.h.
| bool KateView::isActive | ( | ) | [inline, virtual] |
Definition at line 1903 of file kateview.cpp.
Definition at line 1897 of file kateview.cpp.
| bool KateView::isLastView | ( | ) | [inline, virtual] |
Returns true if this editor is the only owner of its document.
Implements Kate::View.
Definition at line 295 of file kateview.h.
| bool KateView::isOverwriteMode | ( | ) | const [virtual] |
| void KateView::joinLines | ( | ) | [slot] |
| void KateView::keyDelete | ( | ) | [inline, virtual, slot] |
| void KateView::keyReturn | ( | ) | [inline, virtual, slot] |
| void KateView::killLine | ( | ) | [inline, virtual, slot] |
Definition at line 1478 of file kateview.cpp.
Definition at line 1498 of file kateview.cpp.
Definition at line 1505 of file kateview.cpp.
Definition at line 1512 of file kateview.cpp.
| bool KateView::lineNumbersOn | ( | ) | [virtual] |
- Returns:
- Wheather line numbers display is on
Reimplemented from Kate::View.
Definition at line 1019 of file kateview.cpp.
Definition at line 1491 of file kateview.cpp.
| void KateView::lostFocus | ( | Kate::View * | ) | [signal] |
| void KateView::lowercase | ( | ) | [inline, slot] |
Lowercases selected text, or an alphabetic character next to the cursor.
Definition at line 317 of file kateview.h.
| void KateView::newStatus | ( | ) | [signal] |
| void KateView::pageDown | ( | ) | [inline, virtual, slot] |
| void KateView::pageUp | ( | ) | [inline, virtual, slot] |
| void KateView::paste | ( | ) | [slot] |
Definition at line 1595 of file kateview.cpp.
| QPopupMenu* KateView::popup | ( | ) | const [inline] |
Definition at line 123 of file kateview.h.
| void KateView::readSessionConfig | ( | KConfig * | ) | [virtual] |
Reads session config out of the KConfig object.
This also includes the actual cursor position and the bookmarks.
Reimplemented from Kate::View.
Definition at line 933 of file kateview.cpp.
| void KateView::reloadFile | ( | ) | [slot] |
Definition at line 733 of file kateview.cpp.
| bool KateView::removeSelectedText | ( | ) | [slot] |
Definition at line 1441 of file kateview.cpp.
| KateRenderer * KateView::renderer | ( | ) |
Definition at line 1155 of file kateview.cpp.
| void KateView::repaintText | ( | bool | paintOnlyDirty = false |
) |
Definition at line 1308 of file kateview.cpp.
| void KateView::replace | ( | ) | [virtual, slot] |
Presents a replace dialog to the user.
Reimplemented from Kate::View.
Definition at line 1102 of file kateview.cpp.
| KateView::saveResult KateView::save | ( | ) | [virtual, slot] |
Saves the file under the current file name.
If the current file name is Untitled, as it is after a call to newFile(), this routine will call saveAs().
Reimplemented from Kate::View.
Definition at line 848 of file kateview.cpp.
| KateView::saveResult KateView::saveAs | ( | ) | [virtual, slot] |
Allows the user to save the file under a new name.
Reimplemented from Kate::View.
Definition at line 859 of file kateview.cpp.
| bool KateView::scrollBarMarks | ( | ) |
Definition at line 1023 of file kateview.cpp.
| void KateView::scrollDown | ( | ) | [inline, virtual, slot] |
| void KateView::scrollUp | ( | ) | [inline, virtual, slot] |
| bool KateView::selectAll | ( | ) | [slot] |
Definition at line 1471 of file kateview.cpp.
| QString KateView::selection | ( | ) | const [slot] |
Definition at line 1424 of file kateview.cpp.
| void KateView::selectionChanged | ( | ) | [signal] |
| void KateView::selectLength | ( | const KateTextCursor & | cursor, | |
| int | length | |||
| ) |
Definition at line 1579 of file kateview.cpp.
| void KateView::selectLine | ( | const KateTextCursor & | cursor | ) |
Definition at line 1571 of file kateview.cpp.
| void KateView::selectWord | ( | const KateTextCursor & | cursor | ) |
Definition at line 1553 of file kateview.cpp.
| const KateSuperCursor& KateView::selEnd | ( | ) | const [inline] |
accessors to the selection end
- Returns:
- selection end cursor (read-only)
Definition at line 223 of file kateview.h.
| int KateView::selEndCol | ( | ) | [inline, slot] |
Definition at line 204 of file kateview.h.
| int KateView::selEndLine | ( | ) | [inline, slot] |
Definition at line 203 of file kateview.h.
| const KateSuperCursor& KateView::selStart | ( | ) | const [inline] |
accessors to the selection start
- Returns:
- selection start cursor (read-only)
Definition at line 217 of file kateview.h.
| int KateView::selStartCol | ( | ) | [inline, slot] |
Definition at line 202 of file kateview.h.
| int KateView::selStartLine | ( | ) | [inline, slot] |
Definition at line 201 of file kateview.h.
| void KateView::setActive | ( | bool | b | ) | [inline, virtual] |
Definition at line 1853 of file kateview.cpp.
Definition at line 135 of file kateview.h.
| bool KateView::setCursorPositionInternal | ( | uint | line, | |
| uint | col, | |||
| uint | tabwidth = 1, |
|||
| bool | calledExternally = false | |||
| ) |
Definition at line 800 of file kateview.cpp.
Definition at line 137 of file kateview.h.
| void KateView::setDynWordWrap | ( | bool | b | ) |
Definition at line 995 of file kateview.cpp.
| void KateView::setDynWrapIndicators | ( | int | mode | ) | [slot] |
Definition at line 691 of file kateview.cpp.
| void KateView::setEncoding | ( | QString | e | ) | [inline, virtual] |
| void KateView::setEol | ( | int | ) | [virtual, slot] |
Set the end of line mode (Unix, Macintosh or Dos).
Reimplemented from Kate::View.
Definition at line 949 of file kateview.cpp.
| void KateView::setFoldingMarkersOn | ( | bool | enable | ) | [slot] |
Definition at line 1005 of file kateview.cpp.
| void KateView::setIconBorder | ( | bool | enable | ) | [virtual, slot] |
Sets icon border on or off depending on.
- Parameters:
-
enable the flag
Reimplemented from Kate::View.
Definition at line 960 of file kateview.cpp.
| void KateView::setLineNumbersOn | ( | bool | enable | ) | [virtual, slot] |
Sets display of line numbers on/off depending on enable.
- Parameters:
-
enable the flag
Reimplemented from Kate::View.
Definition at line 970 of file kateview.cpp.
| void KateView::setOverwriteMode | ( | bool | ) | [virtual] |
| void KateView::setScrollBarMarks | ( | bool | enable | ) | [slot] |
Definition at line 980 of file kateview.cpp.
Definition at line 1371 of file kateview.cpp.
| bool KateView::setSelection | ( | const KateTextCursor & | start, | |
| const KateTextCursor & | end | |||
| ) | [slot] |
Definition at line 1348 of file kateview.cpp.
| void KateView::setTabWidth | ( | int | w | ) | [inline, virtual] |
| void KateView::shiftBottom | ( | ) | [inline, virtual, slot] |
| void KateView::shiftBottomOfView | ( | ) | [inline, slot] |
Definition at line 356 of file kateview.h.
| void KateView::shiftCursorLeft | ( | ) | [inline, virtual, slot] |
| void KateView::shiftCursorRight | ( | ) | [inline, virtual, slot] |
| void KateView::shiftDown | ( | ) | [inline, virtual, slot] |
| void KateView::shiftEnd | ( | ) | [inline, virtual, slot] |
| void KateView::shiftHome | ( | ) | [inline, virtual, slot] |
| void KateView::shiftPageDown | ( | ) | [inline, virtual, slot] |
| void KateView::shiftPageUp | ( | ) | [inline, virtual, slot] |
| void KateView::shiftToMatchingBracket | ( | ) | [inline, slot] |
Definition at line 366 of file kateview.h.
| void KateView::shiftTop | ( | ) | [inline, virtual, slot] |
| void KateView::shiftTopOfView | ( | ) | [inline, slot] |
Definition at line 354 of file kateview.h.
| void KateView::shiftUp | ( | ) | [inline, virtual, slot] |
| void KateView::shiftWordLeft | ( | ) | [inline, virtual, slot] |
| void KateView::shiftWordRight | ( | ) | [inline, virtual, slot] |
| void KateView::showArgHint | ( | QStringList | arg1, | |
| const QString & | arg2, | |||
| const QString & | arg3 | |||
| ) | [slot] |
Definition at line 1144 of file kateview.cpp.
| void KateView::showCmdLine | ( | bool | enable | ) | [slot] |
Definition at line 1035 of file kateview.cpp.
| void KateView::showCompletionBox | ( | QValueList< KTextEditor::CompletionEntry > | arg1, | |
| int | offset = 0, |
|||
| bool | cs = true | |||
| ) | [slot] |
Definition at line 1149 of file kateview.cpp.
| void KateView::slotNewUndo | ( | ) | [slot] |
Definition at line 769 of file kateview.cpp.
| void KateView::slotReadWriteChanged | ( | ) | [slot] |
Definition at line 746 of file kateview.cpp.
| void KateView::slotSelectionChanged | ( | ) | [slot] |
Definition at line 1117 of file kateview.cpp.
| void KateView::slotSelectionTypeChanged | ( | ) | [slot] |
Definition at line 721 of file kateview.cpp.
| void KateView::slotUpdate | ( | ) | [slot] |
Definition at line 739 of file kateview.cpp.
| void KateView::switchToCmdLine | ( | ) | [slot] |
Definition at line 1131 of file kateview.cpp.
| void KateView::syncSelectionCache | ( | ) |
Definition at line 1379 of file kateview.cpp.
| int KateView::tabWidth | ( | ) | [inline, virtual] |
| void KateView::tagAll | ( | ) |
Definition at line 1298 of file kateview.cpp.
| bool KateView::tagLine | ( | const KateTextCursor & | virtualCursor | ) |
Definition at line 1283 of file kateview.cpp.
| bool KateView::tagLines | ( | KateTextCursor | start, | |
| KateTextCursor | end, | |||
| bool | realCursors = false | |||
| ) |
Definition at line 1293 of file kateview.cpp.
Definition at line 1288 of file kateview.cpp.
| void KateView::tagSelection | ( | const KateTextCursor & | oldSelectStart, | |
| const KateTextCursor & | oldSelectEnd | |||
| ) |
Definition at line 1517 of file kateview.cpp.
| bool KateView::toggleBlockSelectionMode | ( | ) | [slot] |
Definition at line 1872 of file kateview.cpp.
| void KateView::toggleCmdLine | ( | ) | [slot] |
Definition at line 1059 of file kateview.cpp.
| void KateView::toggleDynWordWrap | ( | ) | [slot] |
Definition at line 990 of file kateview.cpp.
| void KateView::toggleFoldingMarkers | ( | ) | [slot] |
Definition at line 1010 of file kateview.cpp.
| void KateView::toggleIconBorder | ( | ) | [virtual, slot] |
| void KateView::toggleInsert | ( | ) | [slot] |
Definition at line 830 of file kateview.cpp.
| void KateView::toggleLineNumbersOn | ( | ) | [virtual, slot] |
Toggles display of lineNumbers.
Reimplemented from Kate::View.
Definition at line 975 of file kateview.cpp.
| void KateView::toggleScrollBarMarks | ( | ) | [slot] |
Definition at line 985 of file kateview.cpp.
| void KateView::toggleWriteLock | ( | ) | [slot] |
Definition at line 1064 of file kateview.cpp.
| void KateView::toggleWWMarker | ( | ) | [slot] |
Definition at line 1000 of file kateview.cpp.
| void KateView::toMatchingBracket | ( | ) | [inline, slot] |
Definition at line 365 of file kateview.h.
| void KateView::top | ( | ) | [inline, virtual, slot] |
| void KateView::topOfView | ( | ) | [inline, virtual, slot] |
| void KateView::transpose | ( | ) | [inline, slot] |
Definition at line 334 of file kateview.h.
| void KateView::uncomment | ( | ) | [inline, virtual, slot] |
Removes comment signs in the current line.
Reimplemented from Kate::View.
Definition at line 307 of file kateview.h.
| void KateView::unIndent | ( | ) | [inline, virtual, slot] |
Moves the current line or the selection one position to the left.
Reimplemented from Kate::View.
Definition at line 303 of file kateview.h.
| void KateView::up | ( | ) | [inline, virtual, slot] |
| void KateView::updateConfig | ( | ) |
Definition at line 1160 of file kateview.cpp.
| void KateView::updateDocumentConfig | ( | ) |
Definition at line 1210 of file kateview.cpp.
| void KateView::updateRendererConfig | ( | ) |
Definition at line 1227 of file kateview.cpp.
| void KateView::updateView | ( | bool | changed = false |
) |
Definition at line 1313 of file kateview.cpp.
| void KateView::uppercase | ( | ) | [inline, slot] |
Uppercases selected text, or an alphabetic character next to the cursor.
Definition at line 313 of file kateview.h.
| void KateView::viewStatusMsg | ( | const QString & | msg | ) | [signal] |
| void KateView::wordLeft | ( | ) | [inline, virtual, slot] |
| void KateView::wordRight | ( | ) | [inline, virtual, slot] |
| bool KateView::wrapCursor | ( | ) |
Definition at line 1878 of file kateview.cpp.
| void KateView::writeSessionConfig | ( | KConfig * | ) | [virtual] |
Writes session config into the KConfig object.
Reimplemented from Kate::View.
Definition at line 938 of file kateview.cpp.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference