Added cursor and highlight drawing to Graphics class for Text.