예제 #1
0
 public Color(TextAtom content, Structures.Color colour, int index, int commandLength) : base(new Range(index, commandLength + content.Range.Length + 2 /*{ and }*/)) =>
     (Content, Colour, content.Range) = (content, colour, new Range(content.Range.Location + commandLength + index + 1 /*{*/, content.Range.Length));
예제 #2
0
 public Color(TextAtom content, Structures.Color colour) => (Content, Colour) = (content, colour);