The task and feature request linked below describe changing the behavior of next/previous word for the Definitions Pane to work better with Java source code. The Interactions Pane currently still uses the default next/previous word behavior, and therefore it differs from the Definitions Pane. This is confusing.
The cursor in the Interactions Pane should have the same behavior as in the Definitions Pane. However, because of the prompt and the read-only portion of the Interactions Pane above the prompt, we cannot simply use the same code as for the DefinitionsPane.
We should still strive for as much code reuse, and introduce a JavaStyledEditorKit that extends the StyledEditorKit and that serves as superclass to both DefinitionsEditorKit and InteractionsEditorKit.
Feature request: https://sourceforge.net/tracker2/index.php?func=detail&aid=1424405&group_id=44253&atid=438938