I'm working on a project that requires having low level control over text that will be displayed in a JTextArea. In my search to understand how this can be achieved I came across Elements. Is there any way using custom Elements that I could get access to the individual words typed into a document? If so, how would I structure these elements?
I'd like to have hooks to individual words
Maybe Document.createPosition()