private void AddSquiggles(ScintillaNet.ScintillaControl sci, int line, int start, int end) { if (sci == null) return; fileWithSquiggles = CurrentFile; int position = sci.PositionFromLine(line) + start; sci.AddHighlight(2, (int)ScintillaNet.Enums.IndicatorStyle.Squiggle, 0x000000ff, position, end - start); }