0

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?

ketan
  • 19,129
  • 42
  • 60
  • 98
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231

1 Answers1

0

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");
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231