Dbl click into editing mode sets cursor position

Double click directly into editing mode sets cursor position rather than selects whole word
Click after line should set cursor to this line

Clicking past the end of line selects the last character of that line
Make flashing cursor behave like MSWord
Make flashing cursor behave like MSWord
Make flashing cursor behave like MSWord
Set cursor position to mouse click on enter
Set cursor to mouse position on editing enter
rename __lastEditing to __lastIsEditing
Fix formatting
Fix more formatting
Do not rely on options object for enterEditing #1
Do not rely on options object in enterEditing #2
Moved enterEditing into MouseDown

MS word appears to move the caret on MouseDown, not on MouseUp as I thought.
Restart cursor on selectWord/selectLine

Restarting cursor rendering using initDelayedCursor(true) in selectWord and selectLine improves user perceived responsiveness and provides an accurate reproduction of MS Word behaviour
Set cursor restart delay to 0

Setting cursor restart delay to 0 improves responsiveness when beginning drag selection, works inline with my previous two commits for selectLine/selectWord
Move enterEditing back into MouseUp

Oops... thats better! :)

This way we get all the responsiveness benefits of setting the cursor position on mousedown but can still actually move the objects!
Dblclick at end of word selects previous word

Fixes selectWord so that double clicking at the end of a word (just after the last character in the left half of the space) selects the previous word.  Again this is MS Word behaviour.
Formatting fixes
formatting fixes
Formatting fixes