public InsertPosition PosWithinRange(StringRange Range) { int pos = this.Value - Range.Start; var rltv = this.Relative; return(new InsertPosition(rltv, pos)); }
public bool IsWithin(StringRange Range) { if ((this.Value >= Range.Start) && (this.Value <= Range.End)) { return(true); } else { return(false); } }