Added partial support for sensibe caret movement.
Added support for placeholders at element margins.