KateVi::Motion

Search for usage in LXR

#include <motion.h>

Public Member Functions

 Motion (const QString &pattern, Range(NormalViMode::*commandMethod)(), unsigned int flags=0)
 
Range execute (NormalViMode *mode) const
 

Protected Attributes

Range(NormalViMode::* m_ptr2commandMethod )()
 

Detailed Description

combined class for motions and text objects.

execute() returns a KateViRange. For motions the returned range is only a position (start pos is (-1, -1) to indicate this) for text objects a range (startx, starty), (endx, endy) is returned

Definition at line 22 of file motion.h.

Constructor & Destructor Documentation

◆ Motion()

Motion::Motion ( const QString & pattern,
Range(NormalViMode::* commandMethod )(),
unsigned int flags = 0 )

Definition at line 11 of file motion.cpp.

Member Function Documentation

◆ execute()

Range Motion::execute ( NormalViMode * mode) const

Definition at line 17 of file motion.cpp.

Member Data Documentation

◆ m_ptr2commandMethod

Range(NormalViMode::* KateVi::Motion::m_ptr2commandMethod) ()
protected

Definition at line 29 of file motion.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.