I have a large document in JTextArea and I've tried to check it (grammar+spelling) using the example
in org.languagetool.gui.LanguageToolSupport, passing JTextArea as an argument for LanguageToolSupport
constructor. It's slow, and it takes 5 sec.
Is it possible to spell check a part of the document in JTextArea (say between lines 0-20), and then continue checking the rest of the document in background?