| 331 | } |
| 332 | |
| 333 | int CLogView::TextHighlightHitTest(int iItem, const POINT& pt) |
| 334 | { |
| 335 | int pos = GetTextIndex(iItem, pt.x); |
| 336 | auto highlights = GetItemData(iItem).highlights; |
| 337 | auto it = highlights.begin(); |
| 338 | while (it != highlights.end() && it->end <= pos) |
| 339 | ++it; |
| 340 | if (it != highlights.end() && it->begin <= pos) |
| 341 | return it->id; |
| 342 | return 0; |
| 343 | } |
| 344 | |
| 345 | void CLogView::OnDropFiles(HDROP hDropInfo) |
| 346 | { |
nothing calls this directly
no test coverage detected