Changeset View
Changeset View
Standalone View
Standalone View
src/vimode/modes/modebase.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
79 | Range motionFindNext(); | 79 | Range motionFindNext(); | ||
80 | Range motionFindPrev(); | 80 | Range motionFindPrev(); | ||
81 | 81 | | |||
82 | virtual void goToPos(const Range &r); | 82 | virtual void goToPos(const Range &r); | ||
83 | int getCount() const; | 83 | int getCount() const; | ||
84 | 84 | | |||
85 | protected: | 85 | protected: | ||
86 | // helper methods | 86 | // helper methods | ||
87 | void yankToClipBoard(QChar chosen_register, QString text); | 87 | void yankToClipBoard(QChar chosen_register, const QString &text); | ||
88 | bool deleteRange(Range &r, OperationMode mode = LineWise, bool addToRegister = true); | 88 | bool deleteRange(Range &r, OperationMode mode = LineWise, bool addToRegister = true); | ||
89 | const QString getRange(Range &r, OperationMode mode = LineWise) const; | 89 | const QString getRange(Range &r, OperationMode mode = LineWise) const; | ||
90 | const QString getLine(int line = -1) const; | 90 | const QString getLine(int line = -1) const; | ||
91 | const QChar getCharUnderCursor() const; | 91 | const QChar getCharUnderCursor() const; | ||
92 | const QString getWordUnderCursor() const; | 92 | const QString getWordUnderCursor() const; | ||
93 | const KTextEditor::Range getWordRangeUnderCursor() const; | 93 | const KTextEditor::Range getWordRangeUnderCursor() const; | ||
94 | KTextEditor::Cursor findNextWordStart(int fromLine, int fromColumn, bool onlyCurrentLine = false) const; | 94 | KTextEditor::Cursor findNextWordStart(int fromLine, int fromColumn, bool onlyCurrentLine = false) const; | ||
95 | KTextEditor::Cursor findNextWORDStart(int fromLine, int fromColumn, bool onlyCurrentLine = false) const; | 95 | KTextEditor::Cursor findNextWORDStart(int fromLine, int fromColumn, bool onlyCurrentLine = false) const; | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |