It turns out that the change listener doesn't work whenever a new tab is separately made prior to opening a file with syntax highlighting. Although the new tab has a change listener, the syntax highlighting causes the new file to get a new document object, one that does not have the listener attached.

The fix now adds a pointer to the document listener from the text pad so that this listener can be removed and a new one added anytime a new file is read into a text pad.

  • status: open --> closed