I wanted to create a package where I can fold overly long HTML attributes. I have it running to the point that it replaces the original attribute values with three dots, and restores the original attribute values on second invocation. However that works only with changing the model. Which is clearly not what I want.
After looking through the code for line folding for quite a while now, I still can’t grasp the complete process. But I’ve seen enough to doubt that there is a reasonable way to do what I want.
Any input is greatly appreciated.