| public int CompareTo(object obj) | public int CompareTo(object obj) | ||||
| { | { | ||||
| FormattedText other = (FormattedText)obj; | FormattedText other = (FormattedText)obj; | ||||
| FormattedText tf = (FormattedText)obj; | |||||
| FormattedText tf = this; | |||||
| if (other.formatting == null || tf.formatting == null) | if (other.formatting == null || tf.formatting == null) | ||||
| return -1; | return -1; |