kate Library API Documentation

KatePythonIndent Class Reference

Inheritance diagram for KatePythonIndent:

KateNormalIndent KateAutoIndent List of all members.

Public Member Functions

 KatePythonIndent (KateDocument *doc)
 ~KatePythonIndent ()
virtual void processNewline (KateDocCursor &begin, bool needContinue)
virtual uint modeNumber () const

Detailed Description

Definition at line 312 of file kateautoindent.h.


Member Function Documentation

void KatePythonIndent::processNewline KateDocCursor begin,
bool  needContinue
[virtual]
 

Called every time a newline character is inserted in the document.

Parameters:
cur The position to start processing. Contains the new cursor position after the indention.
needContinue Used to determine whether to calculate a continue indent or not.

Reimplemented from KateNormalIndent.

Definition at line 1033 of file kateautoindent.cpp.

References KateTextCursor::col(), KateAutoIndent::doc, QRegExp::exactMatch(), KateNormalIndent::indentWidth, KateDocument::insertText(), QString::length(), KateTextCursor::line(), KateDocument::plainKateTextLine(), KateTextCursor::setCol(), KateNormalIndent::tabString(), and KateNormalIndent::tabWidth.

virtual uint KatePythonIndent::modeNumber  )  const [inline, virtual]
 

Mode index of this mode.

Returns:
modeNumber

Reimplemented from KateNormalIndent.

Definition at line 320 of file kateautoindent.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Nov 1 10:36:27 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003