TAdv memo - json styler

Hi,


I have a TAdvMemo with json styler, Autoformat set to true.
When I use Lines.Add() or Lines.Text := the text in the memo is not auto indented.

If I cut, copy and paste the same text in the memo the text is autoindented.
How can I force the styler to format correctly the json when text is added ?



Set the property AutoFormat = true again after changes were made to the TAdvMemo content.