Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateviewinternal.cpp
Show First 20 Lines • Show All 2775 Lines • ▼ Show 20 Line(s) | 2758 | #endif | |||
---|---|---|---|---|---|
2776 | } | 2776 | } | ||
2777 | } | 2777 | } | ||
2778 | 2778 | | |||
2779 | void KateViewInternal::tripleClickTimeout() | 2779 | void KateViewInternal::tripleClickTimeout() | ||
2780 | { | 2780 | { | ||
2781 | m_possibleTripleClick = false; | 2781 | m_possibleTripleClick = false; | ||
2782 | } | 2782 | } | ||
2783 | 2783 | | |||
2784 | void KateViewInternal::beginSelectLine(const QPoint &pos) | ||||
2785 | { | ||||
2786 | placeCursor(pos); | ||||
2787 | m_possibleTripleClick = true; | ||||
mwolff: dito comment, what has triple click to do with *begin* of select line? Is this b/c an actual… | |||||
2788 | m_scrollX = 0; | ||||
2789 | m_scrollY = 0; | ||||
2790 | } | ||||
2791 | | ||||
2784 | void KateViewInternal::mouseReleaseEvent(QMouseEvent *e) | 2792 | void KateViewInternal::mouseReleaseEvent(QMouseEvent *e) | ||
2785 | { | 2793 | { | ||
2786 | switch (e->button()) { | 2794 | switch (e->button()) { | ||
2787 | case Qt::LeftButton: | 2795 | case Qt::LeftButton: | ||
2788 | m_selectionMode = Default; | 2796 | m_selectionMode = Default; | ||
2789 | // m_selectionCached.start().setLine( -1 ); | 2797 | // m_selectionCached.start().setLine( -1 ); | ||
2790 | 2798 | | |||
2791 | if (m_selChangedByUser) { | 2799 | if (m_selChangedByUser) { | ||
▲ Show 20 Lines • Show All 1046 Lines • Show Last 20 Lines |
dito comment, what has triple click to do with *begin* of select line? Is this b/c an actual triple click would select the line?