0

I have been playing around document filter but one thing I failed to understand is, when exactly is insertString method used? I have only seen it use replace or remove methods in almost every general possible scenario I can think of (copy/pasting, manual typing etc). From docs, it says:

Invoked prior to insertion of text into the specified Document.

But every method I tried of text insertion executed replace method.

Can someone please simplify it for me when exactly is this method used?

user3271166
  • 573
  • 1
  • 6
  • 17

0 Answers0