Added support for get caret
Fixed line and column offsets