KateVi::Motion
KateVi::Motion Class Reference
#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
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
|
protected |
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 Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.