MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / ClearSelection

Method ClearSelection

DebugView++/LogView.cpp:1413–1423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1411}
1412
1413void CLogView::ClearSelection()
1414{
1415 int item = -1;
1416 for (;;)
1417 {
1418 item = GetNextItem(item, LVNI_SELECTED);
1419 if (item < 0)
1420 break;
1421 SetItemState(item, 0, LVIS_SELECTED);
1422 }
1423}
1424
1425// returns false if centering was requested but not executed
1426// because there where not enough lines below the requested index

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected