made it so text editor widgets can be set to read only