예제 #1
0
 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);
 }
예제 #2
0
        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);
        }