Added possibility to check if text is read only