static public void PlaceIndicator(this ScintillaGateway document, int indicator, int startPos, int endPos) { // !!! // The implementation is identical to "ClearIndicator". Looks like intentional. document.SetIndicatorCurrent(indicator); document.IndicatorClearRange(startPos, endPos - startPos); }
static public void ClearIndicator(this ScintillaGateway document, int indicator, int startPos, int endPos = -1) { if (endPos == -1) { endPos = document.GetLength(); } document.SetIndicatorCurrent(indicator); document.IndicatorClearRange(startPos, endPos - startPos); }