addLineClass with history-event-combination

Is it possible to have addLineClass combined to the previous history-event-combination ?

I am setting a class (changing margins) on the line based on it’s content after a change. I want this addLineClass to be added to the history-event-combination as if ‘+input’ origin was specified but it seems addLineClass does not take an origin parameter.

Any help ?

Nope, this feature does not exist – line classes aren’t stored in the history.