flex - Events dispatched by setFormatofRange -


I have a text field on which I want to listen to change events when I use setFormatOfRange () Change text formatting. I have tried all the events till now, such as events. CHANGE or text operation event CHANGE are transmitted only when the actual text changes.

Does anyone know what I should listen to?

Actually you can get text operation events. CHANGE When formatting changes, but only if you use EditManager, you should create an EditManager object and assign it to TextArea.textFlow.interactionManager and all your format operations should be done through this EditManager object. There are ways to firearm in it.

And I do not recommend using setFormatOfRange because it is very slow for a large number of format operations, instead you should use EditManager or ApplyFormatOperation object.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -