#include <view.h>
Inherits View, ClipboardInterface, PopupMenuInterface, ViewCursorInterface, CodeCompletionInterface, and DynWordWrapInterface.
Inherited by KateView.
List of all members.
Detailed Description
The Kate::View text editor interface.
- Author:
- Cullmann Christoph, modified by rokrau (6/21/01)
Definition at line 42 of file view.h.
Member Enumeration Documentation
Return values for "save" related commands.
Definition at line 52 of file view.h.
Constructor & Destructor Documentation
Constructor (should much rather take a reference to the document).
Definition at line 77 of file interfaces.cpp.
Destructor, you need a destructor if Scott Meyers says so.
Definition at line 81 of file interfaces.cpp.
Member Function Documentation
Optimizes the selected indentation, replacing tabs and spaces as needed.
Definition at line 130 of file view.h.
Comments out current line.
Definition at line 134 of file view.h.
Gets the text line where the cursor is on.
Definition at line 72 of file view.h.
Gets the word where the cursor is on.
Definition at line 76 of file view.h.
Move cursor in the view.
Definition at line 149 of file view.h.
Presents a search dialog to the user.
Definition at line 180 of file view.h.
Searches for the last searched text forward from cursor position.
- Parameters:
-
forward | determines the search direction. |
Definition at line 219 of file view.h.
Searches for the last searched text forward from cursor position.
Searches forward from current cursor position.
Definition at line 224 of file view.h.
Searches for the last searched text forward from cursor position.
Searches backward from current cursor position.
Definition at line 229 of file view.h.
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.
Definition at line 108 of file view.h.
Returns a pointer to the document of the view.
Definition at line 267 of file view.h.
Get the end of line mode (Unix, Macintosh or Dos).
Definition at line 205 of file view.h.
Presents a "Goto Line" dialog to the user.
Definition at line 188 of file view.h.
Returns whether iconborder is visible.
Definition at line 259 of file view.h.
Moves the current line or the selection one position to the right.
Definition at line 122 of file view.h.
Insert text at the current cursor position.
- Parameters:
-
Definition at line 86 of file view.h.
Returns true if this editor is the only owner of its document.
Set editor mode.
Definition at line 64 of file view.h.
Some simply key commands.
Definition at line 142 of file view.h.
- Returns:
- Wheather line numbers display is on
Definition at line 263 of file view.h.
Reads session config out of the TDEConfig object.
This also includes the actual cursor position and the bookmarks.
Definition at line 195 of file view.h.
Presents a replace dialog to the user.
Definition at line 184 of file view.h.
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().
Definition at line 114 of file view.h.
Allows the user to save the file under a new name.
Definition at line 118 of file view.h.
Set the end of line mode (Unix, Macintosh or Dos).
Definition at line 209 of file view.h.
Set focus to the current window.
Definition at line 214 of file view.h.
Sets icon border on or off depending on.
- Parameters:
-
Definition at line 240 of file view.h.
Sets display of line numbers on/off depending on enable
.
- Parameters:
-
Definition at line 249 of file view.h.
Get editor mode.
Definition at line 68 of file view.h.
Decrease font size.
Definition at line 277 of file view.h.
Presents an edit command popup window, where the user can apply a shell command to the contents of the current window.
Definition at line 234 of file view.h.
Increase font size.
Definition at line 273 of file view.h.
- Deprecated:
- No longer does anything.
Use KTextEditor equivalents
Definition at line 286 of file view.h.
Toggles icon border.
Definition at line 244 of file view.h.
Toggles display of lineNumbers.
Definition at line 253 of file view.h.
Removes comment signs in the current line.
Definition at line 138 of file view.h.
Moves the current line or the selection one position to the left.
Definition at line 126 of file view.h.
Gets the word at position x, y.
Can be used to find the word under the mouse cursor
Definition at line 81 of file view.h.
The documentation for this class was generated from the following files: