works but hides caret on full line and not on X too, X is much harder to do
Merge pull request #1912 from ether/hide-chat-when-caret-behind

Hide Chat Icon when the Caret is on the same line