Added parameters to configure TextEditor