| 302 | } |
| 303 | |
| 304 | void CallTip::SetHighlight(int start, int end) { |
| 305 | // Avoid flashing by checking something has really changed |
| 306 | if ((start != startHighlight) || (end != endHighlight)) { |
| 307 | startHighlight = start; |
| 308 | endHighlight = (end > start) ? end : start; |
| 309 | if (wCallTip.Created()) { |
| 310 | wCallTip.InvalidateAll(); |
| 311 | } |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | // Set the tab size (sizes > 0 enable the use of tabs). This also enables the |
| 316 | // use of the STYLE_CALLTIP. |
no test coverage detected