I am using MarkupFormatter. I need to know the precise string range for certain bits of markup in the outputted string.
I'm suggesting an API for MarkupFormatter that does a callback whenever it is processing a node, giving access to State. (Preferably a willProcess then a didProcess). That way I could store the relevant bits of state that I needed.
I am using MarkupFormatter. I need to know the precise string range for certain bits of markup in the outputted string.
I'm suggesting an API for MarkupFormatter that does a callback whenever it is processing a node, giving access to State. (Preferably a willProcess then a didProcess). That way I could store the relevant bits of state that I needed.