Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewinternal.h
Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Line(s) | 256 | private: | |||
---|---|---|---|---|---|
264 | 264 | | |||
265 | int lineToY(int viewLine) const; | 265 | int lineToY(int viewLine) const; | ||
266 | 266 | | |||
267 | void updateSelection(const KTextEditor::Cursor &, bool keepSel); | 267 | void updateSelection(const KTextEditor::Cursor &, bool keepSel); | ||
268 | void setSelection(const KTextEditor::Range &); | 268 | void setSelection(const KTextEditor::Range &); | ||
269 | void moveCursorToSelectionEdge(); | 269 | void moveCursorToSelectionEdge(); | ||
270 | void updateCursor(const KTextEditor::Cursor &newCursor, bool force = false, bool center = false, bool calledExternally = false); | 270 | void updateCursor(const KTextEditor::Cursor &newCursor, bool force = false, bool center = false, bool calledExternally = false); | ||
271 | void updateBracketMarks(); | 271 | void updateBracketMarks(); | ||
272 | void beginSelectLine(const QPoint &pos); | ||||
272 | 273 | | |||
273 | void placeCursor(const QPoint &p, bool keepSelection = false, bool updateSelection = true); | 274 | void placeCursor(const QPoint &p, bool keepSelection = false, bool updateSelection = true); | ||
274 | bool isTargetSelected(const QPoint &p); | 275 | bool isTargetSelected(const QPoint &p); | ||
275 | //Returns whether the given range affects the area currently visible in the view | 276 | //Returns whether the given range affects the area currently visible in the view | ||
276 | bool rangeAffectsView(const KTextEditor::Range &range, bool realCursors) const; | 277 | bool rangeAffectsView(const KTextEditor::Range &range, bool realCursors) const; | ||
277 | 278 | | |||
278 | void doDrag(); | 279 | void doDrag(); | ||
279 | 280 | | |||
▲ Show 20 Lines • Show All 191 Lines • Show Last 20 Lines |