Can you use Squiggly with a TLF text container or TextFlow?

47 Views Asked by At

I'm creating my own TLF container as described in the TLF documentation but I want to use the Squiggly spell checker. I found a tutorial that describes how to use Squiggly but it does not show how to work with a TextFlow only TextArea. How do I use Squiggly with a TextFlow?

1

There are 1 best solutions below

0
1.21 gigawatts On BEST ANSWER

There is a class called, "SpellUIForTLF" that supports TLF spell checking where you can pass in a reference to the TextFlow:

import com.adobe.linguistics.spelling.SpellUIForTLF;

SpellUIForTLF.enableSpelling(_textFlow, "en_US");