updated.
setFormat() new method.
remove listener and unuse variables.
Fix for bugzilla bug 24648 - Editor displaying text in reverse on Eclipse 2.1 platform