FastColoredTextBoxNS.MultiRangeCommand.ExecuteCommand C# (CSharp) Method

ExecuteCommand() private method

private ExecuteCommand ( int &iChar ) : void
iChar int
return void
        private void ExecuteCommand(ref int iChar)
        {
            foreach (var r in range.GetSubRanges(false))
            {
                ts.CurrentTB.Selection = r;
                var c = cmd.Clone();
                c.Execute();
                if (ts.CurrentTB.Selection.End.iChar > iChar)
                    iChar = ts.CurrentTB.Selection.End.iChar;
                commandsByRanges.Add(c);
            }
        }