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

Kate

KateXmlIndent Class Reference

#include <kateautoindent.h>

Inheritance diagram for KateXmlIndent:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual bool canProcessLine () const
 KateXmlIndent (KateDocument *doc)
virtual uint modeNumber () const
virtual void processChar (QChar c)
virtual void processLine (KateDocCursor &line)
virtual void processNewline (KateDocCursor &cur, bool needContinue)
virtual void processSection (const KateDocCursor &begin, const KateDocCursor &end)
 ~KateXmlIndent ()

Detailed Description

Definition at line 400 of file kateautoindent.h.


Constructor & Destructor Documentation

KateXmlIndent::KateXmlIndent ( KateDocument *  doc  ) 

Definition at line 1341 of file kateautoindent.cpp.

KateXmlIndent::~KateXmlIndent (  ) 

Definition at line 1346 of file kateautoindent.cpp.


Member Function Documentation

virtual bool KateXmlIndent::canProcessLine (  )  const [inline, virtual]

Set to true if an actual implementation of 'processLine' is present.

This is used to prevent a needless Undo action from being created.

Reimplemented from KateNormalIndent.

Definition at line 412 of file kateautoindent.h.

virtual uint KateXmlIndent::modeNumber (  )  const [inline, virtual]

Mode index of this mode.

Returns:
modeNumber

Reimplemented from KateNormalIndent.

Definition at line 408 of file kateautoindent.h.

void KateXmlIndent::processChar ( QChar  c  )  [virtual]

Called every time a character is inserted into the document.

Parameters:
c character inserted

Reimplemented from KateNormalIndent.

Definition at line 1355 of file kateautoindent.cpp.

void KateXmlIndent::processLine ( KateDocCursor &   )  [virtual]

Aligns/indents the given line to the proper indent position.

Reimplemented from KateNormalIndent.

Definition at line 1368 of file kateautoindent.cpp.

void KateXmlIndent::processNewline ( KateDocCursor &  cur,
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 1350 of file kateautoindent.cpp.

void KateXmlIndent::processSection ( const KateDocCursor &  ,
const KateDocCursor &   
) [virtual]

Processes a section of text, indenting each line in between.

Reimplemented from KateNormalIndent.

Definition at line 1373 of file kateautoindent.cpp.


The documentation for this class was generated from the following files:
  • kateautoindent.h
  • kateautoindent.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