added selection range traits to make it possible for users to replace selected text
added selection range traits to make it possible for users to replace selected text

geggo/pyface,brett-patterson/pyface,geggo/pyface,pankajp/pyface