added possibility to check if text is read only #537