Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewinternal.h
Show All 21 Lines | 1 | /* This file is part of the KDE libraries | |||
---|---|---|---|---|---|
22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 22 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
23 | Boston, MA 02110-1301, USA. | 23 | Boston, MA 02110-1301, USA. | ||
24 | */ | 24 | */ | ||
25 | 25 | | |||
26 | #ifndef _KATE_VIEW_INTERNAL_ | 26 | #ifndef _KATE_VIEW_INTERNAL_ | ||
27 | #define _KATE_VIEW_INTERNAL_ | 27 | #define _KATE_VIEW_INTERNAL_ | ||
28 | 28 | | |||
29 | #include <ktexteditor/attribute.h> | 29 | #include <ktexteditor/attribute.h> | ||
30 | #include <ktexteditor/inlinenote.h> | ||||
30 | 31 | | |||
31 | #include "katetextcursor.h" | 32 | #include "katetextcursor.h" | ||
32 | #include "katetextline.h" | 33 | #include "katetextline.h" | ||
33 | #include "katedocument.h" | 34 | #include "katedocument.h" | ||
34 | #include "kateview.h" | 35 | #include "kateview.h" | ||
35 | #include "katerenderer.h" | 36 | #include "katerenderer.h" | ||
36 | 37 | | |||
37 | #include <QPoint> | 38 | #include <QPoint> | ||
▲ Show 20 Lines • Show All 423 Lines • ▼ Show 20 Line(s) | 456 | private: | |||
461 | { | 462 | { | ||
462 | return m_view->doc(); | 463 | return m_view->doc(); | ||
463 | } | 464 | } | ||
464 | 465 | | |||
465 | // input modes | 466 | // input modes | ||
466 | private: | 467 | private: | ||
467 | QMap<KTextEditor::View::InputMode, KateAbstractInputMode *> m_inputModes; | 468 | QMap<KTextEditor::View::InputMode, KateAbstractInputMode *> m_inputModes; | ||
468 | KateAbstractInputMode *m_currentInputMode; | 469 | KateAbstractInputMode *m_currentInputMode; | ||
470 | | ||||
471 | KTextEditor::InlineNote m_activeInlineNote; | ||||
472 | KTextEditor::InlineNote inlineNoteAt(const QPoint& pos) const; | ||||
473 | QRect inlineNoteRect(const KTextEditor::InlineNote& note) const; | ||||
474 | QPoint toNoteCoordinates(const QPoint& pos, const KTextEditor::InlineNote& note) const; | ||||
469 | }; | 475 | }; | ||
470 | 476 | | |||
471 | #endif | 477 | #endif | ||
472 | 478 | |