Changeset View
Changeset View
Standalone View
Standalone View
src/vimode/marks.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
64 | void readSessionConfig(const KConfigGroup &config); | 64 | void readSessionConfig(const KConfigGroup &config); | ||
65 | 65 | | |||
66 | QString getMarksOnTheLine(int line) const; | 66 | QString getMarksOnTheLine(int line) const; | ||
67 | 67 | | |||
68 | private: | 68 | private: | ||
69 | void syncViMarksAndBookmarks(); | 69 | void syncViMarksAndBookmarks(); | ||
70 | bool isShowable(const QChar &mark); | 70 | bool isShowable(const QChar &mark); | ||
71 | 71 | | |||
72 | void setMark(const QChar &mark, const KTextEditor::Cursor &pos, const bool moveoninsert = true); | 72 | void setMark(const QChar &mark, const KTextEditor::Cursor &pos); | ||
73 | 73 | | |||
74 | private Q_SLOTS: | 74 | private Q_SLOTS: | ||
75 | void markChanged(KTextEditor::Document *doc, | 75 | void markChanged(KTextEditor::Document *doc, | ||
76 | KTextEditor::Mark mark, | 76 | KTextEditor::Mark mark, | ||
77 | KTextEditor::MarkInterface::MarkChangeAction action); | 77 | KTextEditor::MarkInterface::MarkChangeAction action); | ||
78 | 78 | | |||
79 | private: | 79 | private: | ||
80 | InputModeManager *m_inputModeManager; | 80 | InputModeManager *m_inputModeManager; | ||
81 | KTextEditor::DocumentPrivate *m_doc; | 81 | KTextEditor::DocumentPrivate *m_doc; | ||
82 | 82 | | |||
83 | QMap<QChar, KTextEditor::MovingCursor *> m_marks; | 83 | QMap<QChar, KTextEditor::MovingCursor *> m_marks; | ||
84 | bool m_settingMark; | 84 | bool m_settingMark; | ||
85 | }; | 85 | }; | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | #endif // KATE_VIMODE_MARKS_H | 88 | #endif // KATE_VIMODE_MARKS_H |