groostav
02/02/2017, 8:58 PMcaretPosition
and anchorPosition
that will identify some int range, but if the user selected left-to-right then the anchor is the low value and caret the high value, if they select right-to-left its vice-versa. Is there a nice one-liner built into std:lib that will get me a nice (forward & non-empty) IntRange
?