| 2218 | } |
| 2219 | |
| 2220 | void TextareaData::OnLeftMouseDoubleclick(unsigned int x, unsigned int y) |
| 2221 | { |
| 2222 | currLine = ExtendSelectionFromPoint(x, y); |
| 2223 | if(selectionOn) |
| 2224 | { |
| 2225 | cursorCharX = dragEndX; |
| 2226 | cursorCharY = dragEndY; |
| 2227 | // Force line redraw |
| 2228 | RECT invalid = { 0, (dragStartY - shiftCharY) * RichTextarea::charHeight, areaWidth, (dragEndY - shiftCharY + 1) * RichTextarea::charHeight }; |
| 2229 | InvalidateRect(areaWnd, &invalid, false); |
| 2230 | } |
| 2231 | } |
| 2232 | |
| 2233 | void TextareaData::OnLeftMouseDown(unsigned int x, unsigned int y) |
| 2234 | { |