Possibility to get position of StyledText added. Fixes #381