• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Kate

KateView Class Reference

#include <kateview.h>

Inheritance diagram for KateView:

Inheritance graph
[legend]

List of all members.


Public Slots

void align ()
void applyWordWrap ()
void backspace ()
bool blockSelectionMode ()
void bottom ()
void bottomOfView ()
void capitalize ()
void cleanIndent ()
bool clearSelection (bool redraw, bool finishedChangingSelection=true)
bool clearSelection ()
void comment ()
void copy () const
void copyHTML ()
uint cursorColumn ()
uint cursorColumnReal ()
QPoint cursorCoordinates ()
void cursorLeft ()
uint cursorLine ()
void cursorPosition (uint *l, uint *c)
void cursorPositionReal (uint *l, uint *c)
void cursorRight ()
void cut ()
void deleteWordLeft ()
void deleteWordRight ()
void down ()
void end ()
void exportAsHTML ()
void find (const QString &, long, bool add=true)
void find ()
void findAgain ()
void findAgain (bool back)
void findPrev ()
void flush ()
int getEol ()
void gotoLine ()
void gotoLineNumber (int linenumber)
void gotoMark (KTextEditor::Mark *mark)
bool hasSelection () const
void home ()
void indent ()
void joinLines ()
void keyDelete ()
void keyReturn ()
void killLine ()
void lowercase ()
void pageDown ()
void pageUp ()
void paste ()
void reloadFile ()
bool removeSelectedText ()
void replace (const QString &, const QString &, long)
void replace ()
saveResult save ()
saveResult saveAs ()
void scrollDown ()
void scrollUp ()
bool selectAll ()
QString selection () const
int selEndCol ()
int selEndLine ()
int selStartCol ()
int selStartLine ()
bool setBlockSelectionMode (bool on)
bool setCursorPosition (uint line, uint col)
bool setCursorPositionReal (uint line, uint col)
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 (uint startLine, uint startCol, uint endLine, uint endCol)
bool setSelection (const KateTextCursor &start, const KateTextCursor &end)
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 showArgHint (QStringList arg1, const QString &arg2, const QString &arg3)
void showCmdLine (bool enable)
void showCompletionBox (QValueList< KTextEditor::CompletionEntry > arg1, int offset=0, bool cs=true)
void slotNewUndo ()
void slotReadWriteChanged ()
void slotSelectionChanged ()
void slotSelectionTypeChanged ()
void slotUpdate ()
void switchToCmdLine ()
bool toggleBlockSelectionMode ()
void toggleCmdLine ()
void toggleDynWordWrap ()
void toggleFoldingMarkers ()
void toggleIconBorder ()
void toggleInsert ()
void toggleLineNumbersOn ()
void toggleScrollBarMarks ()
void toggleWriteLock ()
void toggleWWMarker ()
void toMatchingBracket ()
void top ()
void topOfView ()
void transpose ()
void uncomment ()
void unIndent ()
void up ()
void uppercase ()
void wordLeft ()
void wordRight ()

Signals

void aboutToShowCompletionBox ()
void argHintHidden ()
void completionAborted ()
void completionDone (KTextEditor::CompletionEntry)
void completionDone ()
void cursorPositionChanged ()
void dropEventPass (QDropEvent *)
void filterInsertString (KTextEditor::CompletionEntry *, QString *)
void gotFocus (Kate::View *)
void lostFocus (Kate::View *)
void needTextHint (int line, int col, QString &text)
void newStatus ()
void selectionChanged ()
void viewStatusMsg (const QString &msg)

Public Member Functions

bool canDiscard ()
void clear ()
KateViewConfig * config ()
QString currentTextLine ()
QString currentWord ()
void disableTextHints ()
KateDocument * doc () const
KTextEditor::Document * document () const
bool dynWordWrap () const
int dynWrapIndicators ()
KActionCollection * editActionCollection () const
void editEnd (int editTagLineStart, int editTagLineEnd, bool tagFrom)
void editSetCursor (const KateTextCursor &cursor)
void editStart ()
void enableTextHints (int timeout)
bool foldingMarkersOn ()
Kate::Document * getDoc ()
void getIMSelectionValue (uint *imStartLine, uint *imStart, uint *imEnd, uint *imSelStart, uint *imSelEnd)
bool iconBorder ()
bool imComposeEvent () const
void insertText (const QString &mark)
void installPopup (QPopupMenu *menu)
bool isActive ()
bool isIMEdit (int _line, int _column)
bool isIMSelection (int _line, int _column)
bool isLastView ()
bool isOverwriteMode () const
 KateView (KateDocument *doc, QWidget *parent=0L, const char *name=0)
bool lineColSelected (int line, int col)
bool lineEndSelected (int line, int endCol)
bool lineHasSelected (int line)
bool lineIsSelection (int line)
bool lineNumbersOn ()
bool lineSelected (int line)
QPopupMenu * popup () const
void readSessionConfig (KConfig *)
KateRenderer * renderer ()
void repaintText (bool paintOnlyDirty=false)
bool scrollBarMarks ()
void selectLength (const KateTextCursor &cursor, int length)
void selectLine (const KateTextCursor &cursor)
void selectWord (const KateTextCursor &cursor)
const KateSuperCursor & selEnd () const
const KateSuperCursor & selStart () const
void setActive (bool b)
bool setCursorPositionInternal (uint line, uint col, uint tabwidth=1, bool calledExternally=false)
void setDynWordWrap (bool b)
void setEncoding (QString e)
void setIMSelectionValue (uint imStartLine, uint imStart, uint imEnd, uint imSelStart, uint imSelEnd, bool m_imComposeEvent)
void setOverwriteMode (bool b)
void setTabWidth (int w)
void syncSelectionCache ()
int tabWidth ()
void tagAll ()
bool tagLine (const KateTextCursor &virtualCursor)
bool tagLines (KateTextCursor start, KateTextCursor end, bool realCursors=false)
bool tagLines (int start, int end, bool realLines=false)
void tagSelection (const KateTextCursor &oldSelectStart, const KateTextCursor &oldSelectEnd)
void updateConfig ()
void updateDocumentConfig ()
void updateRendererConfig ()
void updateView (bool changed=false)
bool wrapCursor ()
void writeSessionConfig (KConfig *)
 ~KateView ()

Protected Member Functions

bool checkOverwrite (KURL)
void contextMenuEvent (QContextMenuEvent *)

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]

Reimplemented from Kate::View.

Definition at line 330 of file kateview.h.

bool KateView::blockSelectionMode (  )  [slot]

Definition at line 1848 of file kateview.cpp.

void KateView::bottom (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 363 of file kateview.h.

void KateView::bottomOfView (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 355 of file kateview.h.

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.

bool KateView::checkOverwrite ( KURL  u  )  [protected]

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.

bool KateView::clearSelection ( bool  redraw,
bool  finishedChangingSelection = true 
) [slot]

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]

Configuration.

Definition at line 526 of file kateview.h.

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]

internal use, copy text as HTML to clipboard

Definition at line 1619 of file kateview.cpp.

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]

Move cursor in the view.

Reimplemented from Kate::View.

Definition at line 335 of file kateview.h.

uint KateView::cursorLine (  )  [inline, slot]

Definition at line 139 of file kateview.h.

void KateView::cursorPosition ( uint *  l,
uint *  c 
) [inline, slot]

Definition at line 131 of file kateview.h.

void KateView::cursorPositionChanged (  )  [signal]

void KateView::cursorPositionReal ( uint *  l,
uint *  c 
) [inline, slot]

Definition at line 133 of file kateview.h.

void KateView::cursorRight (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 337 of file kateview.h.

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]

Reimplemented from Kate::View.

Definition at line 349 of file kateview.h.

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.

void KateView::editEnd ( int  editTagLineStart,
int  editTagLineEnd,
bool  tagFrom 
)

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]

Reimplemented from Kate::View.

Definition at line 345 of file kateview.h.

void KateView::exportAsHTML (  )  [slot]

Definition at line 1792 of file kateview.cpp.

void KateView::filterInsertString ( KTextEditor::CompletionEntry *  ,
QString *   
) [signal]

void KateView::find ( const QString &  pattern,
long  flags,
bool  add = true 
) [slot]

proxy for KateSearch

Definition at line 1097 of file kateview.cpp.

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]

Implements Kate::View.

Definition at line 912 of file kateview.cpp.

void KateView::gotoMark ( KTextEditor::Mark *  mark  )  [inline, virtual, slot]

Implements Kate::View.

Definition at line 417 of file kateview.h.

bool KateView::hasSelection (  )  const [slot]

Definition at line 1419 of file kateview.cpp.

void KateView::home (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 343 of file kateview.h.

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]

Implements Kate::View.

Definition at line 414 of file kateview.h.

bool KateView::isIMEdit ( int  _line,
int  _column 
)

Definition at line 1903 of file kateview.cpp.

bool KateView::isIMSelection ( int  _line,
int  _column 
)

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]

Set editor mode.

Reimplemented from Kate::View.

Definition at line 728 of file kateview.cpp.

void KateView::joinLines (  )  [slot]

Joins lines touched by the selection.

Definition at line 920 of file kateview.cpp.

void KateView::keyDelete (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 332 of file kateview.h.

void KateView::keyReturn (  )  [inline, virtual, slot]

Some simply key commands.

Reimplemented from Kate::View.

Definition at line 329 of file kateview.h.

void KateView::killLine (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 308 of file kateview.h.

bool KateView::lineColSelected ( int  line,
int  col 
)

Definition at line 1478 of file kateview.cpp.

bool KateView::lineEndSelected ( int  line,
int  endCol 
)

Definition at line 1498 of file kateview.cpp.

bool KateView::lineHasSelected ( int  line  ) 

Definition at line 1505 of file kateview.cpp.

bool KateView::lineIsSelection ( int  line  ) 

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.

bool KateView::lineSelected ( int  line  ) 

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::needTextHint ( int  line,
int  col,
QString &  text 
) [signal]

void KateView::newStatus (  )  [signal]

void KateView::pageDown (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 359 of file kateview.h.

void KateView::pageUp (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 357 of file kateview.h.

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 ( const QString &  pattern,
const QString &  replacement,
long  flags 
) [slot]

proxy for KateSearch

Definition at line 1107 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]

Reimplemented from Kate::View.

Definition at line 352 of file kateview.h.

void KateView::scrollUp (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 351 of file kateview.h.

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]

Implements Kate::View.

Definition at line 413 of file kateview.h.

bool KateView::setBlockSelectionMode ( bool  on  )  [slot]

Definition at line 1853 of file kateview.cpp.

bool KateView::setCursorPosition ( uint  line,
uint  col 
) [inline, slot]

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.

bool KateView::setCursorPositionReal ( uint  line,
uint  col 
) [inline, slot]

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]

Implements Kate::View.

Definition at line 294 of file kateview.h.

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::setIMSelectionValue ( uint  imStartLine,
uint  imStart,
uint  imEnd,
uint  imSelStart,
uint  imSelEnd,
bool  m_imComposeEvent 
)

IM input stuff.

Definition at line 1886 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]

Get editor mode.

Reimplemented from Kate::View.

Definition at line 820 of file kateview.cpp.

void KateView::setScrollBarMarks ( bool  enable  )  [slot]

Definition at line 980 of file kateview.cpp.

bool KateView::setSelection ( uint  startLine,
uint  startCol,
uint  endLine,
uint  endCol 
) [slot]

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]

Implements Kate::View.

Definition at line 293 of file kateview.h.

void KateView::shiftBottom (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 364 of file kateview.h.

void KateView::shiftBottomOfView (  )  [inline, slot]

Definition at line 356 of file kateview.h.

void KateView::shiftCursorLeft (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 336 of file kateview.h.

void KateView::shiftCursorRight (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 338 of file kateview.h.

void KateView::shiftDown (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 350 of file kateview.h.

void KateView::shiftEnd (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 346 of file kateview.h.

void KateView::shiftHome (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 344 of file kateview.h.

void KateView::shiftPageDown (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 360 of file kateview.h.

void KateView::shiftPageUp (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 358 of file kateview.h.

void KateView::shiftToMatchingBracket (  )  [inline, slot]

Definition at line 366 of file kateview.h.

void KateView::shiftTop (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 362 of file kateview.h.

void KateView::shiftTopOfView (  )  [inline, slot]

Definition at line 354 of file kateview.h.

void KateView::shiftUp (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 348 of file kateview.h.

void KateView::shiftWordLeft (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 340 of file kateview.h.

void KateView::shiftWordRight (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 342 of file kateview.h.

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]

Implements Kate::View.

Definition at line 292 of file kateview.h.

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.

bool KateView::tagLines ( int  start,
int  end,
bool  realLines = false 
)

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]

Toggles icon border.

Reimplemented from Kate::View.

Definition at line 965 of file kateview.cpp.

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]

Reimplemented from Kate::View.

Definition at line 361 of file kateview.h.

void KateView::topOfView (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 353 of file kateview.h.

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]

Reimplemented from Kate::View.

Definition at line 347 of file kateview.h.

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]

Reimplemented from Kate::View.

Definition at line 339 of file kateview.h.

void KateView::wordRight (  )  [inline, virtual, slot]

Reimplemented from Kate::View.

Definition at line 341 of file kateview.h.

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:
  • kateview.h
  • kateview.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal