MCPcopy Create free account
hub / github.com/WheretIB/nullc / OnLeftMouseDoubleclick

Method OnLeftMouseDoubleclick

GUI/RichTextarea.cpp:2220–2231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2218}
2219
2220void 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
2233void TextareaData::OnLeftMouseDown(unsigned int x, unsigned int y)
2234{

Callers 1

TextareaProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected