/**
* Setup the selection popup and clipboard if relevant so the correct options are shown when ShowPopup is called.
+ * @param[in] treatWhiteSpaceAsAnyOtherCharacter If whitespace should not be selected in the same manner as other characters set
+ * this to false. default is true.
*/
- void SetUpPopupSelection();
+ void SetUpPopupSelection( bool treatWhiteSpaceAsAnyOtherCharacter = true );
/**
* Return the logical index containing the character position closest to the source.
/**
* Hide highlight shown between selection handles.
+ * @param[in] hidePopup flag to hide the popup too, default is to hide popup.
*/
- void RemoveHighlight();
+ void RemoveHighlight( bool hidePopup = true );
/**
* Highlights text that has been selected