MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / SetHighlight

Method SetHighlight

scintilla/src/CallTip.cxx:304–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304void 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.

Callers 1

WndProcMethod · 0.80

Calls 2

CreatedMethod · 0.80
InvalidateAllMethod · 0.80

Tested by

no test coverage detected