• Skip to content
  • Skip to link menu
KDE 4.5 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
Note: This is a reduced mirror of the KDE API documentation hosted by Michael Pyne.
 

Kate

KateSmartGroup Class Reference

This class holds a ground of cursors and ranges which involve a certain number of lines in a document. More...

#include <katesmartgroup.h>

List of all members.


Public Member Functions

void addCursor (KateSmartCursor *cursor)
void addCursor (KateSmartCursor *cursor)
void changeCursorFeedback (KateSmartCursor *cursor)
void changeCursorFeedback (KateSmartCursor *cursor)
bool containsLine (int line) const
bool containsLine (int line) const
void debugOutput () const
void debugOutput () const
void deleteCursors (bool includingInternal)
void deleteCursors (bool includingInternal)
void deleteCursorsInternal (QSet< KateSmartCursor * > &set)
void deleteCursorsInternal (QSet< KateSmartCursor * > &set)
int endLine () const
int endLine () const
const QSet< KateSmartCursor * > & feedbackCursors () const
const QSet< KateSmartCursor * > & feedbackCursors () const
void joined (KateSmartCursor *cursor)
void joined (KateSmartCursor *cursor)
 KateSmartGroup (int startLine, int endLine, KateSmartGroup *previous, KateSmartGroup *next)
 KateSmartGroup (int startLine, int endLine, KateSmartGroup *previous, KateSmartGroup *next)
void leaving (KateSmartCursor *cursor)
void leaving (KateSmartCursor *cursor)
int length () const
int length () const
void merge ()
void merge ()
int newEndLine () const
int newEndLine () const
int newStartLine () const
int newStartLine () const
KateSmartGroup * next () const
KateSmartGroup * next () const
const QSet< KateSmartCursor * > & normalCursors () const
const QSet< KateSmartCursor * > & normalCursors () const
KateSmartGroup * previous () const
KateSmartGroup * previous () const
void removeCursor (KateSmartCursor *cursor)
void removeCursor (KateSmartCursor *cursor)
void setEndLine (int endLine)
void setEndLine (int endLine)
void setNewEndLine (int endLine)
void setNewEndLine (int endLine)
void setNext (KateSmartGroup *next)
void setNext (KateSmartGroup *next)
void setPrevious (KateSmartGroup *previous)
void setPrevious (KateSmartGroup *previous)
int startLine () const
int startLine () const
void translateChanged (const KateEditInfo &edit)
void translateChanged (const KateEditInfo &edit)
void translatedChanged (const KateEditInfo &edit)
void translatedChanged (const KateEditInfo &edit)
void translatedChanged2 (const KateEditInfo &edit)
void translatedChanged2 (const KateEditInfo &edit)
void translatedShifted (const KateEditInfo &edit)
void translatedShifted (const KateEditInfo &edit)
void translateShifted (const KateEditInfo &edit)
void translateShifted (const KateEditInfo &edit)

Detailed Description

This class holds a ground of cursors and ranges which involve a certain number of lines in a document.

It allows us to optimize away having to iterate though every single cursor and range when anything changes in the document.

Needs a comprehensive regression and performance test suite...

Definition at line 43 of file katesmartgroup.h.


Constructor & Destructor Documentation

KateSmartGroup::KateSmartGroup ( int  startLine,
int  endLine,
KateSmartGroup *  previous,
KateSmartGroup *  next 
)

Definition at line 35 of file katesmartgroup.cpp.

KateSmartGroup::KateSmartGroup ( int  startLine,
int  endLine,
KateSmartGroup *  previous,
KateSmartGroup *  next 
)


Member Function Documentation

void KateSmartGroup::addCursor ( KateSmartCursor *  cursor  ) 

void KateSmartGroup::addCursor ( KateSmartCursor *  cursor  ) 

Definition at line 142 of file katesmartgroup.cpp.

void KateSmartGroup::changeCursorFeedback ( KateSmartCursor *  cursor  ) 

void KateSmartGroup::changeCursorFeedback ( KateSmartCursor *  cursor  ) 

Definition at line 153 of file katesmartgroup.cpp.

bool KateSmartGroup::containsLine ( int  line  )  const [inline]

Definition at line 129 of file katesmartmanager.h.

bool KateSmartGroup::containsLine ( int  line  )  const [inline]

Definition at line 55 of file katesmartgroup.h.

void KateSmartGroup::debugOutput (  )  const

void KateSmartGroup::debugOutput (  )  const

Definition at line 193 of file katesmartgroup.cpp.

void KateSmartGroup::deleteCursors ( bool  includingInternal  ) 

void KateSmartGroup::deleteCursors ( bool  includingInternal  ) 

Definition at line 199 of file katesmartgroup.cpp.

void KateSmartGroup::deleteCursorsInternal ( QSet< KateSmartCursor * > &  set  ) 

void KateSmartGroup::deleteCursorsInternal ( QSet< KateSmartCursor * > &  set  ) 

Definition at line 214 of file katesmartgroup.cpp.

int KateSmartGroup::endLine (  )  const [inline]

Definition at line 124 of file katesmartmanager.h.

int KateSmartGroup::endLine (  )  const [inline]

Definition at line 50 of file katesmartgroup.h.

const QSet<KateSmartCursor*>& KateSmartGroup::feedbackCursors (  )  const

const QSet< KateSmartCursor * > & KateSmartGroup::feedbackCursors (  )  const

Definition at line 132 of file katesmartgroup.cpp.

void KateSmartGroup::joined ( KateSmartCursor *  cursor  ) 

A cursor has joined this group.

The cursor already has its new position.

void KateSmartGroup::joined ( KateSmartCursor *  cursor  ) 

A cursor has joined this group.

The cursor already has its new position.

Definition at line 183 of file katesmartgroup.cpp.

void KateSmartGroup::leaving ( KateSmartCursor *  cursor  ) 

A cursor is leaving this group.

The cursor still has its old position.

void KateSmartGroup::leaving ( KateSmartCursor *  cursor  ) 

A cursor is leaving this group.

The cursor still has its old position.

Definition at line 188 of file katesmartgroup.cpp.

int KateSmartGroup::length (  )  const [inline]

Definition at line 128 of file katesmartmanager.h.

int KateSmartGroup::length (  )  const [inline]

Definition at line 54 of file katesmartgroup.h.

void KateSmartGroup::merge (  ) 

void KateSmartGroup::merge (  ) 

Definition at line 112 of file katesmartgroup.cpp.

int KateSmartGroup::newEndLine (  )  const [inline]

Definition at line 125 of file katesmartmanager.h.

int KateSmartGroup::newEndLine (  )  const [inline]

Definition at line 51 of file katesmartgroup.h.

int KateSmartGroup::newStartLine (  )  const [inline]

Definition at line 123 of file katesmartmanager.h.

int KateSmartGroup::newStartLine (  )  const [inline]

Definition at line 49 of file katesmartgroup.h.

KateSmartGroup* KateSmartGroup::next (  )  const [inline]

Definition at line 134 of file katesmartmanager.h.

KateSmartGroup* KateSmartGroup::next (  )  const [inline]

Definition at line 60 of file katesmartgroup.h.

const QSet<KateSmartCursor*>& KateSmartGroup::normalCursors (  )  const

const QSet< KateSmartCursor * > & KateSmartGroup::normalCursors (  )  const

Definition at line 137 of file katesmartgroup.cpp.

KateSmartGroup* KateSmartGroup::previous (  )  const [inline]

Definition at line 131 of file katesmartmanager.h.

KateSmartGroup* KateSmartGroup::previous (  )  const [inline]

Definition at line 57 of file katesmartgroup.h.

void KateSmartGroup::removeCursor ( KateSmartCursor *  cursor  ) 

void KateSmartGroup::removeCursor ( KateSmartCursor *  cursor  ) 

Definition at line 169 of file katesmartgroup.cpp.

void KateSmartGroup::setEndLine ( int  endLine  )  [inline]

Definition at line 126 of file katesmartmanager.h.

void KateSmartGroup::setEndLine ( int  endLine  )  [inline]

Definition at line 52 of file katesmartgroup.h.

void KateSmartGroup::setNewEndLine ( int  endLine  )  [inline]

Definition at line 127 of file katesmartmanager.h.

void KateSmartGroup::setNewEndLine ( int  endLine  )  [inline]

Definition at line 53 of file katesmartgroup.h.

void KateSmartGroup::setNext ( KateSmartGroup *  next  )  [inline]

Definition at line 135 of file katesmartmanager.h.

void KateSmartGroup::setNext ( KateSmartGroup *  next  )  [inline]

Definition at line 61 of file katesmartgroup.h.

void KateSmartGroup::setPrevious ( KateSmartGroup *  previous  )  [inline]

Definition at line 132 of file katesmartmanager.h.

void KateSmartGroup::setPrevious ( KateSmartGroup *  previous  )  [inline]

Definition at line 58 of file katesmartgroup.h.

int KateSmartGroup::startLine (  )  const [inline]

Definition at line 122 of file katesmartmanager.h.

int KateSmartGroup::startLine (  )  const [inline]

Definition at line 48 of file katesmartgroup.h.

void KateSmartGroup::translateChanged ( const KateEditInfo &  edit  ) 

void KateSmartGroup::translateChanged ( const KateEditInfo &  edit  ) 

Definition at line 50 of file katesmartgroup.cpp.

void KateSmartGroup::translatedChanged ( const KateEditInfo &  edit  ) 

void KateSmartGroup::translatedChanged ( const KateEditInfo &  edit  ) 

Definition at line 68 of file katesmartgroup.cpp.

void KateSmartGroup::translatedChanged2 ( const KateEditInfo &  edit  ) 

void KateSmartGroup::translatedChanged2 ( const KateEditInfo &  edit  ) 

Definition at line 77 of file katesmartgroup.cpp.

void KateSmartGroup::translatedShifted ( const KateEditInfo &  edit  ) 

void KateSmartGroup::translatedShifted ( const KateEditInfo &  edit  ) 

Definition at line 97 of file katesmartgroup.cpp.

void KateSmartGroup::translateShifted ( const KateEditInfo &  edit  ) 

void KateSmartGroup::translateShifted ( const KateEditInfo &  edit  ) 

Definition at line 61 of file katesmartgroup.cpp.


The documentation for this class was generated from the following files:
  • katesmartgroup.h
  • katesmartmanager.h
  • katesmartgroup.cpp

Kate

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

Class Picker

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  •     Sodep
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.9
This website is maintained by Michael Pyne, and is a reduced mirror of the KDE API docs. KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal