| 1853 | // Cursor movement |
| 1854 | |
| 1855 | void CPatternEditor::CancelSelection() |
| 1856 | { |
| 1857 | if (m_bSelecting) |
| 1858 | m_bSelectionInvalidated = true; |
| 1859 | |
| 1860 | m_bSelecting = false; |
| 1861 | m_bCurrentlySelecting = false; |
| 1862 | m_iWarpCount = 0; // // // |
| 1863 | m_iDragBeginWarp = 0; // // // |
| 1864 | m_selection.m_cpEnd = m_selection.m_cpStart = m_cpCursorPos; // // // |
| 1865 | |
| 1866 | m_bDragStart = false; |
| 1867 | m_bDragging = false; |
| 1868 | } |
| 1869 | |
| 1870 | void CPatternEditor::SetSelectionStart(const CCursorPos &start) |
| 1871 | { |