Render corlor immediately in current line when editing the corlor value

There are two changes in this PR:

1. add CursorMove event to render current line when highlight mode was enabled.
http://screencast.com/t/YF1fecRBIa

2. improve a very little performance by skip the lines whose length is less than 4.