Kate
KateDocument Class Reference
#include <katedocument.h>

Public Types | |
enum | TextTransform { Uppercase, Lowercase, Capitalize } |
Public Slots | |
void | addMark (int line, uint markType) |
virtual bool | clear () |
void | clearMark (int line) |
void | clearMarks () |
void | clearRedo () |
void | clearUndo () |
bool | documentReload () |
bool | documentSave () |
bool | documentSaveAs () |
void | exportAs (const QString &) |
virtual bool | insertLine (int line, const QString &s) |
virtual bool | insertLines (int line, const QStringList &s) |
virtual bool | insertText (const KTextEditor::Cursor &position, const QStringList &text, bool block=false) |
virtual bool | insertText (const KTextEditor::Cursor &position, const QString &s, bool block=false) |
bool | print () |
bool | printDialog () |
void | redo () |
virtual void | removeActionsFromDocument (KTextEditor::SmartRange *topRange) |
virtual void | removeHighlightFromDocument (KTextEditor::SmartRange *topRange) |
bool | removeLine (int line) |
void | removeMark (int line, uint markType) |
bool | removeText (const KTextEditor::Range &range, bool block=false) |
bool | replaceText (const KTextEditor::Range &r, const QStringList &l, bool b) |
bool | replaceText (const KTextEditor::Range &range, const QString &s, bool block=false) |
virtual bool | save () |
QVector< KTextEditor::Range > | searchText (const KTextEditor::Range &range, const QString &pattern, const KTextEditor::Search::SearchOptions options) |
void | setEditableMarks (uint markMask) |
void | setMark (int line, uint markType) |
void | setMarkDescription (MarkInterface::MarkTypes, const QString &) |
void | setMarkPixmap (MarkInterface::MarkTypes, const QPixmap &) |
void | setPageUpDownMovesCursor (bool on) |
virtual bool | setText (const QStringList &text) |
virtual bool | setText (const QString &) |
void | setWordWrap (bool on) |
void | setWordWrapAt (uint col) |
void | slotModifiedOnDisk (KTextEditor::View *v=0) |
void | slotQueryClose_save (bool *handled, bool *abortClosing) |
KTextEditor::Search::SearchOptions | supportedSearchOptions () const |
void | tagLines (KTextEditor::Cursor start, KTextEditor::Cursor end) |
void | tagLines (int start, int end) |
void | undo () |
Signals | |
void | aboutToRemoveText (const KTextEditor::Range &) |
void | activeViewSelectionChanged (KTextEditor::View *view) |
void | annotationModelChanged (KTextEditor::AnnotationModel *, KTextEditor::AnnotationModel *) |
void | charactersSemiInteractivelyInserted (const KTextEditor::Cursor &position, const QString &text) |
void | codeFoldingUpdated () |
void | dynamicHighlightAdded (KateSmartRange *range) |
void | dynamicHighlightRemoved (KateSmartRange *range) |
void | editLineUnWrapped (int line, int col) |
void | editLineWrapped (int line, int col, int len) |
void | highlightingModeChanged (KTextEditor::Document *document) |
void | markChanged (KTextEditor::Document *, KTextEditor::Mark, KTextEditor::MarkInterface::MarkChangeAction) |
void | marksChanged (KTextEditor::Document *) |
void | modeChanged (KTextEditor::Document *document) |
void | modifiedOnDisk (KTextEditor::Document *doc, bool isModified, KTextEditor::ModificationInterface::ModifiedOnDiskReason reason) |
void | preHighlightChanged (uint) |
void | textRemoved () |
void | undoChanged () |
void | variableChanged (KTextEditor::Document *, const QString &, const QString &) |
Public Member Functions | |
KateView * | activeKateView () const |
virtual KTextEditor::View * | activeView () const |
virtual void | addActionsToDocument (KTextEditor::SmartRange *topRange) |
virtual void | addActionsToView (KTextEditor::View *view, KTextEditor::SmartRange *topRange) |
virtual void | addHighlightToDocument (KTextEditor::SmartRange *topRange, bool supportDynamic) |
virtual void | addHighlightToView (KTextEditor::View *view, KTextEditor::SmartRange *topRange, bool supportDynamic) |
void | addView (KTextEditor::View *) |
void | align (KateView *view, const KTextEditor::Range &range) |
virtual KTextEditor::AnnotationModel * | annotationModel () const |
void | backspace (KateView *view, const KTextEditor::Cursor &) |
KateBrowserExtension * | browserExtension () |
bool | browserView () const |
void | bufferHlChanged () |
virtual QChar | character (const KTextEditor::Cursor &position) const |
virtual void | clearDocumentActions () |
virtual void | clearDocumentHighlights () |
virtual void | clearSmartInterface () |
virtual void | clearViewActions (KTextEditor::View *view) |
virtual void | clearViewHighlights (KTextEditor::View *view) |
bool | closeUrl () |
void | comment (KateView *view, uint line, uint column, int change) |
KateDocumentConfig * | config () const |
KateDocumentConfig * | config () |
KTextEditor::View * | createView (QWidget *parent) |
virtual int | currentRevision () const |
void | del (KateView *view, const KTextEditor::Cursor &) |
virtual void | deleteCursors () |
virtual void | deleteRanges () |
virtual const QList < KTextEditor::SmartRange * > | documentActions () const |
virtual KTextEditor::Cursor | documentEnd () const |
virtual const QList < KTextEditor::SmartRange * > | documentHighlights () const |
const QString & | documentName () const |
uint | editableMarks () const |
void | editBegin (Kate::EditSource editSource=Kate::NoEditSource) |
void | editEnd () |
bool | editInsertLine (int line, const QString &s, Kate::EditSource editSource=Kate::NoEditSource) |
bool | editInsertText (int line, int col, const QString &s, Kate::EditSource editSource=Kate::NoEditSource) |
bool | editMarkLineAutoWrapped (int line, bool autowrapped) |
KTextEditor::Editor * | editor () |
bool | editRemoveLine (int line, Kate::EditSource editSource=Kate::NoEditSource) |
bool | editRemoveText (int line, int col, int len, Kate::EditSource editSource=Kate::NoEditSource) |
void | editStart (bool withUndo=true, Kate::EditSource editSource=Kate::NoEditSource) |
bool | editUnWrapLine (int line, bool removeLine=true, int length=0) |
bool | editWrapLine (int line, int col, bool newLine=true, bool *newLineAdded=0) |
const QString & | encoding () const |
bool | endEditing () |
QString | fileType () const |
bool | findMatchingBracket (KTextEditor::Range &range, int maxLines=-1) |
KateCodeFoldingTree * | foldingTree () |
uint | getRealLine (unsigned int virtualLine) |
uint | getVirtualLine (unsigned int realLine) |
QString | getWord (const KTextEditor::Cursor &cursor) |
KateHighlighting * | highlight () const |
virtual QString | highlightingMode () const |
virtual QStringList | highlightingModes () const |
virtual QString | highlightingModeSection (int index) const |
class KateEditHistory * | history () const |
void | ignoreModifiedOnDiskOnce () |
void | indent (KateView *view, uint line, int change) |
bool | insertTemplateTextImplementation (const KTextEditor::Cursor &c, const QString &templateString, const QMap< QString, QString > &initialValues, QWidget *) |
bool | invokeTabInterceptor (int key) |
bool | isEditRunning () const |
bool | isModifiedOnDisc () |
bool | isWithUndo () const |
void | joinLines (uint first, uint last) |
KateDocument (bool bSingleViewMode=false, bool bBrowserView=false, bool bReadOnly=false, QWidget *parentWidget=0, QObject *=0) | |
KateTextLine::Ptr | kateTextLine (uint i) |
int | lastLine () const |
virtual QString | line (int line) const |
void | lineInfo (KateLineInfo *info, unsigned int line) |
int | lineLength (int line) const |
int | lines () const |
void | makeAttribs (bool needInvalidate=true) |
uint | mark (int line) |
QColor | markColor (MarkInterface::MarkTypes) const |
QString | markDescription (MarkInterface::MarkTypes) const |
QPixmap | markPixmap (MarkInterface::MarkTypes) const |
const QHash< int, KTextEditor::Mark * > & | marks () |
QString | mimeType () |
KMimeType::Ptr | mimeTypeForContent () |
virtual QString | mode () const |
virtual QStringList | modes () const |
virtual QString | modeSection (int index) const |
void | newBracketMark (const KTextEditor::Cursor &start, KTextEditor::Range &bm, int maxLines=-1) |
void | newLine (KateView *view) |
virtual KTextEditor::SmartCursor * | newSmartCursor (const KTextEditor::Cursor &position, KTextEditor::SmartCursor::InsertBehavior insertBehavior=KTextEditor::SmartCursor::MoveOnInsert) |
virtual KTextEditor::SmartRange * | newSmartRange (KTextEditor::SmartCursor *start, KTextEditor::SmartCursor *end, KTextEditor::SmartRange *parent=0L, KTextEditor::SmartRange::InsertBehaviors insertBehavior=KTextEditor::SmartRange::DoNotExpand) |
virtual KTextEditor::SmartRange * | newSmartRange (const KTextEditor::Range &range, KTextEditor::SmartRange *parent=0L, KTextEditor::SmartRange::InsertBehaviors insertBehavior=KTextEditor::SmartRange::DoNotExpand) |
int | numVisLines () const |
bool | openFile () |
bool | ownedView (KateView *) |
bool | pageUpDownMovesCursor () const |
void | paste (KateView *view, QClipboard::Mode=QClipboard::Clipboard) |
KateTextLine::Ptr | plainKateTextLine (uint i) |
void | popEditState () |
KEncodingProber::ProberType | proberTypeForEncodingAutoDetection () const |
void | pushEditState () |
virtual bool | queryClose () |
bool | readOnly () const |
void | readSessionConfig (const KConfigGroup &) |
uint | redoCount () const |
virtual void | releaseRevision (int revision) const |
virtual void | removeActionsFromView (KTextEditor::View *view, KTextEditor::SmartRange *topRange) |
virtual void | removeHighlightFromView (KTextEditor::View *view, KTextEditor::SmartRange *topRange) |
bool | removeTabInterceptor (KateKeyInterceptorFunctor *interceptor) |
void | removeView (KTextEditor::View *) |
void | repaintViews (bool paintOnlyDirty=true) |
virtual bool | saveAs (const KUrl &url) |
bool | saveFile () |
void | setActiveView (KTextEditor::View *) |
virtual void | setAnnotationModel (KTextEditor::AnnotationModel *model) |
void | setDocName (QString docName) |
bool | setEncoding (const QString &e) |
virtual bool | setHighlightingMode (const QString &name) |
void | setMergeAllEdits (bool merge) |
virtual bool | setMode (const QString &name) |
void | setModified (bool m) |
void | setModifiedOnDisk (ModifiedOnDiskReason reason) |
void | setModifiedOnDiskWarning (bool on) |
void | setProberTypeForEncodingAutoDetection (KEncodingProber::ProberType) |
void | setReadWrite (bool rw=true) |
bool | setTabInterceptor (KateKeyInterceptorFunctor *interceptor) |
void | setUndoDontMerge (bool dontMerge) |
void | setUndoDontMergeComplex (bool dontMerge) |
bool | singleViewMode () const |
KateSmartManager * | smartManager () const |
bool | startEditing () |
void | tagAll () |
virtual QString | text () const |
virtual QString | text (const KTextEditor::Range &range, bool blockwise=false) const |
virtual QStringList | textLines (const KTextEditor::Range &range, bool block=false) const |
int | totalCharacters () const |
uint | toVirtualColumn (const KTextEditor::Cursor &) |
void | transform (KateView *view, const KTextEditor::Cursor &, TextTransform) |
virtual KTextEditor::Range | translateFromRevision (const KTextEditor::Range &range, KTextEditor::SmartRange::InsertBehaviors insertBehavior=KTextEditor::SmartRange::ExpandLeft|KTextEditor::SmartRange::ExpandRight) const |
virtual KTextEditor::Cursor | translateFromRevision (const KTextEditor::Cursor &cursor, KTextEditor::SmartCursor::InsertBehavior insertBehavior=KTextEditor::SmartCursor::StayOnInsert) const |
void | transpose (const KTextEditor::Cursor &) |
bool | typeChars (KateView *type, const QString &chars) |
virtual void | unbindSmartRange (KTextEditor::SmartRange *range) |
uint | undoCount () const |
bool | undoDontMerge () const |
bool | undoDontMergeComplex () const |
void | undoSafePoint () |
void | updateConfig () |
void | updateFileType (const QString &newType, bool user=false) |
virtual void | useRevision (int revision=-1) |
QString | variable (const QString &name) const |
virtual const QList < KTextEditor::SmartRange * > | viewActions (KTextEditor::View *view) const |
virtual const QList < KTextEditor::SmartRange * > | viewHighlights (KTextEditor::View *view) const |
const QList< KTextEditor::View * > & | views () const |
uint | visibleLines () |
virtual QWidget * | widget () |
bool | wordWrap () const |
uint | wordWrapAt () const |
bool | wrapText (int startLine, int endLine) |
void | writeSessionConfig (KConfigGroup &) |
~KateDocument () | |
Static Public Member Functions | |
static bool | checkOverwrite (KUrl u, QWidget *parent) |
static void | escapePlaintext (QString &text, QList< ReplacementPart > *parts=NULL, bool replacementGoodies=false) |
static int | repairPattern (QString &pattern, bool &stillMultiLine) |
static bool | simpleMode () |
Protected Slots | |
void | dumpRegionTree () |
void | testTemplateCode () |
Protected Member Functions | |
virtual void | attributeDynamic (KTextEditor::Attribute::Ptr a) |
virtual void | attributeNotDynamic (KTextEditor::Attribute::Ptr a) |
Protected Attributes | |
KateKeyInterceptorFunctor * | m_tabInterceptor |
Detailed Description
Definition at line 93 of file katedocument.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KateDocument::KateDocument | ( | bool | bSingleViewMode = false , |
|
bool | bBrowserView = false , |
|||
bool | bReadOnly = false , |
|||
QWidget * | parentWidget = 0 , |
|||
QObject * | parent = 0 | |||
) | [explicit] |
Definition at line 175 of file katedocument.cpp.
KateDocument::~KateDocument | ( | ) |
Definition at line 303 of file katedocument.cpp.
Member Function Documentation
void KateDocument::aboutToRemoveText | ( | const KTextEditor::Range & | ) | [signal] |
KateView * KateDocument::activeKateView | ( | ) | const |
Definition at line 5999 of file katedocument.cpp.
virtual KTextEditor::View* KateDocument::activeView | ( | ) | const [inline, virtual] |
Definition at line 152 of file katedocument.h.
void KateDocument::activeViewSelectionChanged | ( | KTextEditor::View * | view | ) | [signal] |
void KateDocument::addActionsToDocument | ( | KTextEditor::SmartRange * | topRange | ) | [virtual] |
Definition at line 6128 of file katedocument.cpp.
void KateDocument::addActionsToView | ( | KTextEditor::View * | view, | |
KTextEditor::SmartRange * | topRange | |||
) | [virtual] |
Definition at line 6153 of file katedocument.cpp.
void KateDocument::addHighlightToDocument | ( | KTextEditor::SmartRange * | topRange, | |
bool | supportDynamic | |||
) | [virtual] |
Definition at line 6072 of file katedocument.cpp.
void KateDocument::addHighlightToView | ( | KTextEditor::View * | view, | |
KTextEditor::SmartRange * | topRange, | |||
bool | supportDynamic | |||
) | [virtual] |
Definition at line 6113 of file katedocument.cpp.
void KateDocument::addMark | ( | int | line, | |
uint | markType | |||
) | [slot] |
Definition at line 3161 of file katedocument.cpp.
void KateDocument::addView | ( | KTextEditor::View * | view | ) |
Definition at line 3922 of file katedocument.cpp.
void KateDocument::align | ( | KateView * | view, | |
const KTextEditor::Range & | range | |||
) |
Definition at line 4321 of file katedocument.cpp.
KTextEditor::AnnotationModel * KateDocument::annotationModel | ( | ) | const [virtual] |
Definition at line 6309 of file katedocument.cpp.
void KateDocument::annotationModelChanged | ( | KTextEditor::AnnotationModel * | , | |
KTextEditor::AnnotationModel * | ||||
) | [signal] |
void KateDocument::attributeDynamic | ( | KTextEditor::Attribute::Ptr | a | ) | [protected, virtual] |
Definition at line 6168 of file katedocument.cpp.
void KateDocument::attributeNotDynamic | ( | KTextEditor::Attribute::Ptr | a | ) | [protected, virtual] |
Definition at line 6173 of file katedocument.cpp.
void KateDocument::backspace | ( | KateView * | view, | |
const KTextEditor::Cursor & | c | |||
) |
Definition at line 4141 of file katedocument.cpp.
KateBrowserExtension* KateDocument::browserExtension | ( | ) | [inline] |
Definition at line 135 of file katedocument.h.
bool KateDocument::browserView | ( | ) | const [inline] |
Definition at line 133 of file katedocument.h.
void KateDocument::bufferHlChanged | ( | ) |
Definition at line 3051 of file katedocument.cpp.
QChar KateDocument::character | ( | const KTextEditor::Cursor & | position | ) | const [virtual] |
Definition at line 460 of file katedocument.cpp.
void KateDocument::charactersSemiInteractivelyInserted | ( | const KTextEditor::Cursor & | position, | |
const QString & | text | |||
) | [signal] |
bool KateDocument::checkOverwrite | ( | KUrl | u, | |
QWidget * | parent | |||
) | [static] |
Definition at line 5954 of file katedocument.cpp.
bool KateDocument::clear | ( | ) | [virtual, slot] |
Definition at line 583 of file katedocument.cpp.
void KateDocument::clearDocumentActions | ( | ) | [virtual] |
Definition at line 6209 of file katedocument.cpp.
void KateDocument::clearDocumentHighlights | ( | ) | [virtual] |
Definition at line 6199 of file katedocument.cpp.
void KateDocument::clearMark | ( | int | line | ) | [slot] |
Definition at line 3145 of file katedocument.cpp.
void KateDocument::clearMarks | ( | ) | [slot] |
Definition at line 3236 of file katedocument.cpp.
void KateDocument::clearRedo | ( | ) | [slot] |
Definition at line 1735 of file katedocument.cpp.
void KateDocument::clearSmartInterface | ( | ) | [virtual] |
Definition at line 6178 of file katedocument.cpp.
void KateDocument::clearUndo | ( | ) | [slot] |
Definition at line 1724 of file katedocument.cpp.
void KateDocument::clearViewActions | ( | KTextEditor::View * | view | ) | [virtual] |
Definition at line 6214 of file katedocument.cpp.
void KateDocument::clearViewHighlights | ( | KTextEditor::View * | view | ) | [virtual] |
Definition at line 6204 of file katedocument.cpp.
bool KateDocument::closeUrl | ( | ) |
Definition at line 3773 of file katedocument.cpp.
void KateDocument::codeFoldingUpdated | ( | ) | [signal] |
void KateDocument::comment | ( | KateView * | view, | |
uint | line, | |||
uint | column, | |||
int | change | |||
) |
Definition at line 4684 of file katedocument.cpp.
KateDocumentConfig* KateDocument::config | ( | ) | const [inline] |
Definition at line 1085 of file katedocument.h.
KateDocumentConfig* KateDocument::config | ( | ) | [inline] |
KTextEditor::View * KateDocument::createView | ( | QWidget * | parent | ) |
Definition at line 363 of file katedocument.cpp.
int KateDocument::currentRevision | ( | ) | const [virtual] |
Definition at line 6011 of file katedocument.cpp.
void KateDocument::del | ( | KateView * | view, | |
const KTextEditor::Cursor & | c | |||
) |
Definition at line 4225 of file katedocument.cpp.
void KateDocument::deleteCursors | ( | ) | [virtual] |
Definition at line 6189 of file katedocument.cpp.
void KateDocument::deleteRanges | ( | ) | [virtual] |
Definition at line 6194 of file katedocument.cpp.
const QList< KTextEditor::SmartRange * > KateDocument::documentActions | ( | ) | const [virtual] |
Definition at line 6148 of file katedocument.cpp.
KTextEditor::Cursor KateDocument::documentEnd | ( | ) | const [virtual] |
Definition at line 6004 of file katedocument.cpp.
const QList< KTextEditor::SmartRange * > KateDocument::documentHighlights | ( | ) | const [virtual] |
Definition at line 6108 of file katedocument.cpp.
const QString& KateDocument::documentName | ( | ) | const [inline] |
Definition at line 915 of file katedocument.h.
bool KateDocument::documentReload | ( | ) | [slot] |
Reloads the current document from disk if possible.
Definition at line 5243 of file katedocument.cpp.
bool KateDocument::documentSave | ( | ) | [slot] |
Definition at line 5328 of file katedocument.cpp.
bool KateDocument::documentSaveAs | ( | ) | [slot] |
Definition at line 5336 of file katedocument.cpp.
void KateDocument::dumpRegionTree | ( | ) | [protected, slot] |
Definition at line 5381 of file katedocument.cpp.
void KateDocument::dynamicHighlightAdded | ( | KateSmartRange * | range | ) | [signal] |
void KateDocument::dynamicHighlightRemoved | ( | KateSmartRange * | range | ) | [signal] |
uint KateDocument::editableMarks | ( | ) | const |
Definition at line 3292 of file katedocument.cpp.
void KateDocument::editBegin | ( | Kate::EditSource | editSource = Kate::NoEditSource |
) | [inline] |
void KateDocument::editEnd | ( | ) |
bool KateDocument::editInsertLine | ( | int | line, | |
const QString & | s, | |||
Kate::EditSource | editSource = Kate::NoEditSource | |||
) |
Insert a string at the given line.
- Parameters:
-
line line number s string to insert
- Returns:
- true on success
Definition at line 1480 of file katedocument.cpp.
bool KateDocument::editInsertText | ( | int | line, | |
int | col, | |||
const QString & | s, | |||
Kate::EditSource | editSource = Kate::NoEditSource | |||
) |
Add a string in the given line/column.
- Parameters:
-
line line number col column s string to be inserted
- Returns:
- true on success
Definition at line 1238 of file katedocument.cpp.
void KateDocument::editLineUnWrapped | ( | int | line, | |
int | col | |||
) | [signal] |
Emitted each time text from nextLine
was upwrapped onto line
.
void KateDocument::editLineWrapped | ( | int | line, | |
int | col, | |||
int | len | |||
) | [signal] |
Emmitted when text from line
was wrapped at position pos onto line nextLine
.
bool KateDocument::editMarkLineAutoWrapped | ( | int | line, | |
bool | autowrapped | |||
) |
Mark line
as autowrapped
.
This is necessary if static word warp is enabled, because we have to know whether to insert a new line or add the wrapped words to the followin line.
- Parameters:
-
line line number autowrapped autowrapped?
- Returns:
- true on success
Definition at line 1297 of file katedocument.cpp.
KTextEditor::Editor * KateDocument::editor | ( | ) |
Definition at line 380 of file katedocument.cpp.
bool KateDocument::editRemoveLine | ( | int | line, | |
Kate::EditSource | editSource = Kate::NoEditSource | |||
) |
Remove a line.
- Parameters:
-
line line number
- Returns:
- true on success
Definition at line 1540 of file katedocument.cpp.
bool KateDocument::editRemoveText | ( | int | line, | |
int | col, | |||
int | len, | |||
Kate::EditSource | editSource = Kate::NoEditSource | |||
) |
Remove a string in the given line/column.
- Parameters:
-
line line number col column len length of text to be removed
- Returns:
- true on success
Definition at line 1267 of file katedocument.cpp.
void KateDocument::editStart | ( | bool | withUndo = true , |
|
Kate::EditSource | editSource = Kate::NoEditSource | |||
) |
Enclose editor actions with editStart()
and editEnd()
to group them.
- Parameters:
-
withUndo if true, add undo history
Definition at line 937 of file katedocument.cpp.
bool KateDocument::editUnWrapLine | ( | int | line, | |
bool | removeLine = true , |
|||
int | length = 0 | |||
) |
Unwrap line
.
If removeLine
is true, we force to join the lines. If removeLine
is true, length
is ignored (eg not needed).
- Parameters:
-
line line number removeLine if true, force to remove the next line
- Returns:
- true on success
Definition at line 1407 of file katedocument.cpp.
bool KateDocument::editWrapLine | ( | int | line, | |
int | col, | |||
bool | newLine = true , |
|||
bool * | newLineAdded = 0 | |||
) |
Wrap line
.
If newLine
is true, ignore the textline's flag KateTextLine::flagAutoWrapped and force a new line. Whether a new line was needed/added you can grab with newLineAdded
.
- Parameters:
-
line line number col column newLine if true, force a new line newLineAdded return value is true, if new line was added (may be 0)
- Returns:
- true on success
Definition at line 1323 of file katedocument.cpp.
const QString & KateDocument::encoding | ( | ) | const |
Definition at line 5402 of file katedocument.cpp.
bool KateDocument::endEditing | ( | ) | [inline] |
Definition at line 222 of file katedocument.h.
void KateDocument::escapePlaintext | ( | QString & | text, | |
QList< ReplacementPart > * | parts = NULL , |
|||
bool | replacementGoodies = false | |||
) | [static] |
Resolves escape sequences (e.g.
"\\n" to "\n") in text
if parts
is NULL. Otherwise it leaves code>text unmodified and creates a list of text and capture references out of it. These two modes are fused into one function to avoid code duplication.
- Parameters:
-
text Text to process parts List of text and references replacementGoodies Enable , , and #
Definition at line 2383 of file katedocument.cpp.
void KateDocument::exportAs | ( | const QString & | ) | [inline, slot] |
Definition at line 783 of file katedocument.h.
QString KateDocument::fileType | ( | ) | const [inline] |
Definition at line 1040 of file katedocument.h.
bool KateDocument::findMatchingBracket | ( | KTextEditor::Range & | range, | |
int | maxLines = -1 | |||
) |
Definition at line 5020 of file katedocument.cpp.
KateCodeFoldingTree * KateDocument::foldingTree | ( | ) |
Definition at line 5392 of file katedocument.cpp.
uint KateDocument::getRealLine | ( | unsigned int | virtualLine | ) |
Definition at line 6229 of file katedocument.cpp.
uint KateDocument::getVirtualLine | ( | unsigned int | realLine | ) |
Definition at line 6234 of file katedocument.cpp.
QString KateDocument::getWord | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 4944 of file katedocument.cpp.
KateHighlighting * KateDocument::highlight | ( | ) | const |
Definition at line 6224 of file katedocument.cpp.
QString KateDocument::highlightingMode | ( | ) | const [virtual] |
Return the name of the currently used mode.
- Returns:
- name of the used mode
Definition at line 3026 of file katedocument.cpp.
void KateDocument::highlightingModeChanged | ( | KTextEditor::Document * | document | ) | [signal] |
Warn anyone listening that the current document's highlighting mode has changed.
- Parameters:
-
document the document which's mode has changed
QStringList KateDocument::highlightingModes | ( | ) | const [virtual] |
Return a list of the names of all possible modes.
- Returns:
- list of mode names
Definition at line 3031 of file katedocument.cpp.
QString KateDocument::highlightingModeSection | ( | int | index | ) | const [virtual] |
Returns the name of the section for a highlight given its index in the highlight list (as returned by highlightModes()).
You can use this function to build a tree of the highlight names, organized in sections.
- Parameters:
-
name the name of the highlight for which to find the section name.
Definition at line 3041 of file katedocument.cpp.
class KateEditHistory* KateDocument::history | ( | ) | const [inline] |
Definition at line 351 of file katedocument.h.
void KateDocument::ignoreModifiedOnDiskOnce | ( | ) |
Definition at line 6219 of file katedocument.cpp.
void KateDocument::indent | ( | KateView * | view, | |
uint | line, | |||
int | change | |||
) |
Definition at line 4299 of file katedocument.cpp.
bool KateDocument::insertLine | ( | int | line, | |
const QString & | s | |||
) | [virtual, slot] |
Definition at line 856 of file katedocument.cpp.
bool KateDocument::insertLines | ( | int | line, | |
const QStringList & | s | |||
) | [virtual, slot] |
Definition at line 867 of file katedocument.cpp.
bool KateDocument::insertTemplateTextImplementation | ( | const KTextEditor::Cursor & | c, | |
const QString & | templateString, | |||
const QMap< QString, QString > & | initialValues, | |||
QWidget * | ||||
) |
Definition at line 5972 of file katedocument.cpp.
bool KateDocument::insertText | ( | const KTextEditor::Cursor & | position, | |
const QStringList & | text, | |||
bool | block = false | |||
) | [virtual, slot] |
Definition at line 689 of file katedocument.cpp.
bool KateDocument::insertText | ( | const KTextEditor::Cursor & | position, | |
const QString & | s, | |||
bool | block = false | |||
) | [virtual, slot] |
Definition at line 599 of file katedocument.cpp.
bool KateDocument::invokeTabInterceptor | ( | int | key | ) |
Definition at line 5982 of file katedocument.cpp.
bool KateDocument::isEditRunning | ( | ) | const |
Definition at line 6275 of file katedocument.cpp.
bool KateDocument::isModifiedOnDisc | ( | ) | [inline] |
- Returns:
- wheather the document is modified on disk since last saved.
Definition at line 927 of file katedocument.h.
bool KateDocument::isWithUndo | ( | ) | const [inline] |
Definition at line 322 of file katedocument.h.
void KateDocument::joinLines | ( | uint | first, | |
uint | last | |||
) |
KateTextLine::Ptr KateDocument::kateTextLine | ( | uint | i | ) |
Definition at line 6244 of file katedocument.cpp.
int KateDocument::lastLine | ( | ) | const [inline] |
QString KateDocument::line | ( | int | line | ) | const [virtual] |
Definition at line 521 of file katedocument.cpp.
void KateDocument::lineInfo | ( | KateLineInfo * | info, | |
unsigned int | line | |||
) |
Definition at line 5387 of file katedocument.cpp.
int KateDocument::lineLength | ( | int | line | ) | const |
Definition at line 919 of file katedocument.cpp.
int KateDocument::lines | ( | ) | const |
Definition at line 909 of file katedocument.cpp.
void KateDocument::makeAttribs | ( | bool | needInvalidate = true |
) |
Definition at line 3905 of file katedocument.cpp.
uint KateDocument::mark | ( | int | line | ) |
Definition at line 3131 of file katedocument.cpp.
void KateDocument::markChanged | ( | KTextEditor::Document * | , | |
KTextEditor::Mark | , | |||
KTextEditor::MarkInterface::MarkChangeAction | ||||
) | [signal] |
QColor KateDocument::markColor | ( | MarkInterface::MarkTypes | type | ) | const |
Definition at line 3271 of file katedocument.cpp.
QString KateDocument::markDescription | ( | MarkInterface::MarkTypes | type | ) | const |
Definition at line 3281 of file katedocument.cpp.
QPixmap KateDocument::markPixmap | ( | MarkInterface::MarkTypes | type | ) | const |
Definition at line 3265 of file katedocument.cpp.
const QHash< int, KTextEditor::Mark * > & KateDocument::marks | ( | ) |
Definition at line 3231 of file katedocument.cpp.
void KateDocument::marksChanged | ( | KTextEditor::Document * | ) | [signal] |
QString KateDocument::mimeType | ( | ) |
- Returns:
- the name of the mimetype for the document.
Definition at line 3311 of file katedocument.cpp.
KMimeType::Ptr KateDocument::mimeTypeForContent | ( | ) |
- Returns:
- a pointer to the KMimeType for this document, found by analyzing the actual content.
Definition at line 3325 of file katedocument.cpp.
QString KateDocument::mode | ( | ) | const [virtual] |
Return the name of the currently used mode.
- Returns:
- name of the used mode
Definition at line 2997 of file katedocument.cpp.
void KateDocument::modeChanged | ( | KTextEditor::Document * | document | ) | [signal] |
Warn anyone listening that the current document's mode has changed.
- Parameters:
-
document the document which's mode has changed
QStringList KateDocument::modes | ( | ) | const [virtual] |
Return a list of the names of all possible modes.
- Returns:
- list of mode names
Definition at line 3002 of file katedocument.cpp.
QString KateDocument::modeSection | ( | int | index | ) | const [virtual] |
Returns the name of the section for a mode given its index in the highlight list (as returned by modes()).
You can use this function to build a tree of the mode names, organized in sections.
- Parameters:
-
name the name of the highlight for which to find the section name.
Definition at line 3046 of file katedocument.cpp.
void KateDocument::modifiedOnDisk | ( | KTextEditor::Document * | doc, | |
bool | isModified, | |||
KTextEditor::ModificationInterface::ModifiedOnDiskReason | reason | |||
) | [signal] |
Indicate this file is modified on disk.
- Parameters:
-
doc the KTextEditor::Document object that represents the file on disk isModified indicates the file was modified rather than created or deleted reason the reason we are emitting the signal.
void KateDocument::newBracketMark | ( | const KTextEditor::Cursor & | start, | |
KTextEditor::Range & | bm, | |||
int | maxLines = -1 | |||
) |
Definition at line 5005 of file katedocument.cpp.
void KateDocument::newLine | ( | KateView * | view | ) |
Definition at line 4076 of file katedocument.cpp.
KTextEditor::SmartCursor * KateDocument::newSmartCursor | ( | const KTextEditor::Cursor & | position, | |
KTextEditor::SmartCursor::InsertBehavior | insertBehavior = KTextEditor::SmartCursor::MoveOnInsert | |||
) | [virtual] |
Definition at line 6036 of file katedocument.cpp.
KTextEditor::SmartRange * KateDocument::newSmartRange | ( | KTextEditor::SmartCursor * | start, | |
KTextEditor::SmartCursor * | end, | |||
KTextEditor::SmartRange * | parent = 0L , |
|||
KTextEditor::SmartRange::InsertBehaviors | insertBehavior = KTextEditor::SmartRange::DoNotExpand | |||
) | [virtual] |
Definition at line 6046 of file katedocument.cpp.
KTextEditor::SmartRange * KateDocument::newSmartRange | ( | const KTextEditor::Range & | range, | |
KTextEditor::SmartRange * | parent = 0L , |
|||
KTextEditor::SmartRange::InsertBehaviors | insertBehavior = KTextEditor::SmartRange::DoNotExpand | |||
) | [virtual] |
Definition at line 6041 of file katedocument.cpp.
int KateDocument::numVisLines | ( | ) | const |
Definition at line 914 of file katedocument.cpp.
bool KateDocument::openFile | ( | ) |
open the file obtained by the kparts framework the framework abstracts the loading of remote files
- Returns:
- success
Definition at line 3356 of file katedocument.cpp.
bool KateDocument::ownedView | ( | KateView * | view | ) |
Definition at line 3970 of file katedocument.cpp.
bool KateDocument::pageUpDownMovesCursor | ( | ) | const |
Definition at line 5376 of file katedocument.cpp.
void KateDocument::paste | ( | KateView * | view, | |
QClipboard::Mode | mode = QClipboard::Clipboard | |||
) |
Definition at line 4242 of file katedocument.cpp.
KateTextLine::Ptr KateDocument::plainKateTextLine | ( | uint | i | ) |
Definition at line 6250 of file katedocument.cpp.
void KateDocument::popEditState | ( | ) |
Definition at line 1094 of file katedocument.cpp.
void KateDocument::preHighlightChanged | ( | uint | ) | [signal] |
bool KateDocument::print | ( | ) | [slot] |
Definition at line 3304 of file katedocument.cpp.
bool KateDocument::printDialog | ( | ) | [slot] |
Definition at line 3299 of file katedocument.cpp.
KEncodingProber::ProberType KateDocument::proberTypeForEncodingAutoDetection | ( | ) | const |
Definition at line 5412 of file katedocument.cpp.
void KateDocument::pushEditState | ( | ) |
Definition at line 1089 of file katedocument.cpp.
bool KateDocument::queryClose | ( | ) | [virtual] |
Definition at line 6316 of file katedocument.cpp.
bool KateDocument::readOnly | ( | ) | const [inline] |
Definition at line 132 of file katedocument.h.
void KateDocument::readSessionConfig | ( | const KConfigGroup & | kconfig | ) |
Definition at line 3069 of file katedocument.cpp.
void KateDocument::redo | ( | ) | [slot] |
Definition at line 1635 of file katedocument.cpp.
uint KateDocument::redoCount | ( | ) | const |
Definition at line 1615 of file katedocument.cpp.
void KateDocument::releaseRevision | ( | int | revision | ) | const [virtual] |
Definition at line 6016 of file katedocument.cpp.
void KateDocument::removeActionsFromDocument | ( | KTextEditor::SmartRange * | topRange | ) | [virtual, slot] |
Definition at line 6139 of file katedocument.cpp.
void KateDocument::removeActionsFromView | ( | KTextEditor::View * | view, | |
KTextEditor::SmartRange * | topRange | |||
) | [virtual] |
Definition at line 6158 of file katedocument.cpp.
void KateDocument::removeHighlightFromDocument | ( | KTextEditor::SmartRange * | topRange | ) | [virtual, slot] |
Definition at line 6091 of file katedocument.cpp.
void KateDocument::removeHighlightFromView | ( | KTextEditor::View * | view, | |
KTextEditor::SmartRange * | topRange | |||
) | [virtual] |
Definition at line 6118 of file katedocument.cpp.
bool KateDocument::removeLine | ( | int | line | ) | [slot] |
Definition at line 883 of file katedocument.cpp.
void KateDocument::removeMark | ( | int | line, | |
uint | markType | |||
) | [slot] |
Definition at line 3198 of file katedocument.cpp.
bool KateDocument::removeTabInterceptor | ( | KateKeyInterceptorFunctor * | interceptor | ) |
Definition at line 5993 of file katedocument.cpp.
bool KateDocument::removeText | ( | const KTextEditor::Range & | range, | |
bool | block = false | |||
) | [slot] |
Definition at line 779 of file katedocument.cpp.
void KateDocument::removeView | ( | KTextEditor::View * | view | ) |
removes the view from the list of views.
The view is *not* deleted. That's your job. Or, easier, just delete the view in the first place. It will remove itself. TODO: this could be converted to a private slot connected to the view's destroyed() signal. It is not currently called anywhere except from the KateView destructor.
Definition at line 3944 of file katedocument.cpp.
void KateDocument::repaintViews | ( | bool | paintOnlyDirty = true |
) |
Definition at line 4979 of file katedocument.cpp.
int KateDocument::repairPattern | ( | QString & | pattern, | |
bool & | stillMultiLine | |||
) | [static] |
Repairs a regular Expression pattern.
This is a workaround to make "." and "\s" not match newlines, which currently is the unconfigurable default in QRegExp.
- Parameters:
-
pattern Regular expression stillMultiLine Multi-line after reparation flag
- Returns:
- Number of replacements done
Definition at line 2767 of file katedocument.cpp.
bool KateDocument::replaceText | ( | const KTextEditor::Range & | r, | |
const QStringList & | l, | |||
bool | b | |||
) | [inline, slot] |
Definition at line 184 of file katedocument.h.
bool KateDocument::replaceText | ( | const KTextEditor::Range & | range, | |
const QString & | s, | |||
bool | block = false | |||
) | [slot] |
Definition at line 6062 of file katedocument.cpp.
bool KateDocument::save | ( | ) | [virtual, slot] |
Definition at line 6383 of file katedocument.cpp.
bool KateDocument::saveAs | ( | const KUrl & | url | ) | [virtual] |
Definition at line 6388 of file katedocument.cpp.
bool KateDocument::saveFile | ( | ) |
save the file obtained by the kparts framework the framework abstracts the uploading of remote files
- Returns:
- success
Definition at line 3501 of file katedocument.cpp.
QVector< KTextEditor::Range > KateDocument::searchText | ( | const KTextEditor::Range & | range, | |
const QString & | pattern, | |||
const KTextEditor::Search::SearchOptions | options | |||
) | [slot] |
Definition at line 2291 of file katedocument.cpp.
void KateDocument::setActiveView | ( | KTextEditor::View * | view | ) |
Definition at line 3955 of file katedocument.cpp.
void KateDocument::setAnnotationModel | ( | KTextEditor::AnnotationModel * | model | ) | [virtual] |
Definition at line 6302 of file katedocument.cpp.
void KateDocument::setDocName | ( | QString | docName | ) |
Definition at line 5109 of file katedocument.cpp.
void KateDocument::setEditableMarks | ( | uint | markMask | ) | [slot] |
Definition at line 3287 of file katedocument.cpp.
bool KateDocument::setEncoding | ( | const QString & | e | ) |
Definition at line 5397 of file katedocument.cpp.
bool KateDocument::setHighlightingMode | ( | const QString & | name | ) | [virtual] |
Set the current mode of the document by giving its name.
- Parameters:
-
name name of the mode to use for this document
- Returns:
- true on success, otherwise false
Definition at line 3013 of file katedocument.cpp.
void KateDocument::setMark | ( | int | line, | |
uint | markType | |||
) | [slot] |
Definition at line 3139 of file katedocument.cpp.
void KateDocument::setMarkDescription | ( | MarkInterface::MarkTypes | type, | |
const QString & | description | |||
) | [slot] |
Definition at line 3260 of file katedocument.cpp.
void KateDocument::setMarkPixmap | ( | MarkInterface::MarkTypes | type, | |
const QPixmap & | pixmap | |||
) | [slot] |
Definition at line 3255 of file katedocument.cpp.
void KateDocument::setMergeAllEdits | ( | bool | merge | ) | [inline] |
Definition at line 324 of file katedocument.h.
bool KateDocument::setMode | ( | const QString & | name | ) | [virtual] |
Set the current mode of the document by giving its name.
- Parameters:
-
name name of the mode to use for this document
- Returns:
- true on success, otherwise false
Definition at line 2991 of file katedocument.cpp.
void KateDocument::setModified | ( | bool | m | ) |
Definition at line 3873 of file katedocument.cpp.
void KateDocument::setModifiedOnDisk | ( | ModifiedOnDiskReason | reason | ) |
Definition at line 5224 of file katedocument.cpp.
void KateDocument::setModifiedOnDiskWarning | ( | bool | on | ) |
Definition at line 5238 of file katedocument.cpp.
void KateDocument::setPageUpDownMovesCursor | ( | bool | on | ) | [slot] |
Definition at line 5371 of file katedocument.cpp.
void KateDocument::setProberTypeForEncodingAutoDetection | ( | KEncodingProber::ProberType | proberType | ) |
Definition at line 5407 of file katedocument.cpp.
void KateDocument::setReadWrite | ( | bool | rw = true |
) |
Definition at line 3859 of file katedocument.cpp.
bool KateDocument::setTabInterceptor | ( | KateKeyInterceptorFunctor * | interceptor | ) |
Definition at line 5987 of file katedocument.cpp.
bool KateDocument::setText | ( | const QStringList & | text | ) | [virtual, slot] |
Definition at line 557 of file katedocument.cpp.
bool KateDocument::setText | ( | const QString & | s | ) | [virtual, slot] |
Definition at line 531 of file katedocument.cpp.
void KateDocument::setUndoDontMerge | ( | bool | dontMerge | ) |
Definition at line 6270 of file katedocument.cpp.
void KateDocument::setUndoDontMergeComplex | ( | bool | dontMerge | ) |
Definition at line 6260 of file katedocument.cpp.
void KateDocument::setWordWrap | ( | bool | on | ) | [slot] |
Definition at line 5351 of file katedocument.cpp.
void KateDocument::setWordWrapAt | ( | uint | col | ) | [slot] |
Definition at line 5361 of file katedocument.cpp.
bool KateDocument::simpleMode | ( | ) | [static] |
Definition at line 6290 of file katedocument.cpp.
bool KateDocument::singleViewMode | ( | ) | const [inline] |
Definition at line 134 of file katedocument.h.
void KateDocument::slotModifiedOnDisk | ( | KTextEditor::View * | v = 0 |
) | [slot] |
Ask the user what to do, if the file has been modified on disk.
Reimplemented from KTextEditor::Document.
Definition at line 5150 of file katedocument.cpp.
void KateDocument::slotQueryClose_save | ( | bool * | handled, | |
bool * | abortClosing | |||
) | [slot] |
Definition at line 5928 of file katedocument.cpp.
KateSmartManager* KateDocument::smartManager | ( | ) | const [inline] |
Definition at line 696 of file katedocument.h.
bool KateDocument::startEditing | ( | ) | [inline] |
Definition at line 221 of file katedocument.h.
KTextEditor::Search::SearchOptions KateDocument::supportedSearchOptions | ( | ) | const [slot] |
Definition at line 2368 of file katedocument.cpp.
void KateDocument::tagAll | ( | ) |
Definition at line 4985 of file katedocument.cpp.
void KateDocument::tagLines | ( | KTextEditor::Cursor | start, | |
KTextEditor::Cursor | end | |||
) | [slot] |
Definition at line 4966 of file katedocument.cpp.
void KateDocument::tagLines | ( | int | start, | |
int | end | |||
) | [slot] |
Definition at line 4960 of file katedocument.cpp.
void KateDocument::testTemplateCode | ( | ) | [protected, slot] |
Definition at line 5976 of file katedocument.cpp.
QString KateDocument::text | ( | ) | const [virtual] |
Definition at line 387 of file katedocument.cpp.
QString KateDocument::text | ( | const KTextEditor::Range & | range, | |
bool | blockwise = false | |||
) | const [virtual] |
Definition at line 407 of file katedocument.cpp.
QStringList KateDocument::textLines | ( | const KTextEditor::Range & | range, | |
bool | block = false | |||
) | const [virtual] |
Definition at line 473 of file katedocument.cpp.
void KateDocument::textRemoved | ( | ) | [signal] |
int KateDocument::totalCharacters | ( | ) | const |
Definition at line 894 of file katedocument.cpp.
uint KateDocument::toVirtualColumn | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 3975 of file katedocument.cpp.
void KateDocument::transform | ( | KateView * | view, | |
const KTextEditor::Cursor & | c, | |||
KateDocument::TextTransform | t | |||
) |
Handling uppercase, lowercase and capitalize for the view.
If there is a selection, that is transformed, otherwise for uppercase or lowercase the character right of the cursor is transformed, for capitalize the word under the cursor is transformed.
Definition at line 4798 of file katedocument.cpp.
KTextEditor::Range KateDocument::translateFromRevision | ( | const KTextEditor::Range & | range, | |
KTextEditor::SmartRange::InsertBehaviors | insertBehavior = KTextEditor::SmartRange::ExpandLeft | KTextEditor::SmartRange::ExpandRight | |||
) | const [virtual] |
Definition at line 6031 of file katedocument.cpp.
KTextEditor::Cursor KateDocument::translateFromRevision | ( | const KTextEditor::Cursor & | cursor, | |
KTextEditor::SmartCursor::InsertBehavior | insertBehavior = KTextEditor::SmartCursor::StayOnInsert | |||
) | const [virtual] |
Definition at line 6026 of file katedocument.cpp.
void KateDocument::transpose | ( | const KTextEditor::Cursor & | cursor | ) |
Definition at line 4110 of file katedocument.cpp.
void KateDocument::unbindSmartRange | ( | KTextEditor::SmartRange * | range | ) | [virtual] |
Definition at line 6057 of file katedocument.cpp.
void KateDocument::undo | ( | ) | [slot] |
Definition at line 1620 of file katedocument.cpp.
void KateDocument::undoChanged | ( | ) | [signal] |
uint KateDocument::undoCount | ( | ) | const |
Definition at line 1610 of file katedocument.cpp.
bool KateDocument::undoDontMerge | ( | ) | const |
Definition at line 6255 of file katedocument.cpp.
bool KateDocument::undoDontMergeComplex | ( | ) | const |
Definition at line 6265 of file katedocument.cpp.
void KateDocument::undoSafePoint | ( | ) |
Definition at line 1040 of file katedocument.cpp.
void KateDocument::updateConfig | ( | ) |
Definition at line 5417 of file katedocument.cpp.
void KateDocument::updateFileType | ( | const QString & | newType, | |
bool | user = false | |||
) |
Definition at line 5886 of file katedocument.cpp.
void KateDocument::useRevision | ( | int | revision = -1 |
) | [virtual] |
Definition at line 6021 of file katedocument.cpp.
Definition at line 5757 of file katedocument.cpp.
void KateDocument::variableChanged | ( | KTextEditor::Document * | , | |
const QString & | , | |||
const QString & | ||||
) | [signal] |
const QList< KTextEditor::SmartRange * > KateDocument::viewActions | ( | KTextEditor::View * | view | ) | const [virtual] |
Definition at line 6163 of file katedocument.cpp.
const QList< KTextEditor::SmartRange * > KateDocument::viewHighlights | ( | KTextEditor::View * | view | ) | const [virtual] |
Definition at line 6123 of file katedocument.cpp.
const QList< KTextEditor::View * > & KateDocument::views | ( | ) | const |
Definition at line 375 of file katedocument.cpp.
uint KateDocument::visibleLines | ( | ) |
Definition at line 6239 of file katedocument.cpp.
QWidget * KateDocument::widget | ( | ) | [virtual] |
- Returns:
- The widget defined by this part, set by setWidget().
Definition at line 344 of file katedocument.cpp.
bool KateDocument::wordWrap | ( | ) | const |
Definition at line 5356 of file katedocument.cpp.
unsigned int KateDocument::wordWrapAt | ( | ) | const |
Definition at line 5366 of file katedocument.cpp.
bool KateDocument::wrapText | ( | int | startLine, | |
int | endLine | |||
) |
Remove a line.
- Parameters:
-
startLine line to begin wrapping endLine line to stop wrapping
- Returns:
- true on success
Definition at line 1103 of file katedocument.cpp.
void KateDocument::writeSessionConfig | ( | KConfigGroup & | kconfig | ) |
Definition at line 3099 of file katedocument.cpp.
Member Data Documentation
KateKeyInterceptorFunctor* KateDocument::m_tabInterceptor [protected] |
Definition at line 1153 of file katedocument.h.
The documentation for this class was generated from the following files: