public static TextViewPosition Max(TextViewPosition a, TextViewPosition b)
 {
     return(a > b ? a : b);
 }
 public TextViewSelection(TextViewPosition a, TextViewPosition b, string text)
 {
     StartPosition = TextViewPosition.Min(a, b);
     EndPosition   = TextViewPosition.Max(a, b);
     Text          = text;
 }
 public static TextViewPosition Min(TextViewPosition a, TextViewPosition b)
 {
     return(a > b ? b : a);
 }