Dont do colour dialog checks if line has a single character. Pass caret position into input handler to remove race condition.
Dont do colour dialog checks if line has a single character.
Pass caret position into input handler to remove race condition.

Change-Id: Ia5bcb212121521a73c14b14f8f827756e2f0a29d
Fixes-Issue: CLIENT-364
Fixes-Issue: CLIENT-359
Reviewed-on: http://gerrit.dmdirc.com/2470
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <711c73f64afdce07b7e38039a96d2224209e9a6c@dmdirc.com>

greboid/DMDirc,greboid/DMDirc,csmith/DMDirc,DMDirc/DMDirc,greboid/DMDirc,csmith/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,ShaneMcC/DMDirc-Client,ShaneMcC/DMDirc-Client,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,DMDirc/DMDirc,csmith/DMDirc,csmith/DMDirc,DMDirc/DMDirc