jsinglet / latex-preview-pane

Makes LaTeX editing less painful by providing a updatable preview pane
130 stars 24 forks source link

Only remove the error overlays we created #54

Open ymarco opened 4 years ago

ymarco commented 4 years ago

Removing ALL the overlays to get rid of our error ones is impolite. Users might have other overlays present which we should not touch.

I came upon this when preview-pane deleted my own unrelated overlays...

jsinglet commented 4 years ago

@yoavm448 -- could you please provide an example of overlays generated from another package for me so I can contextualize this?

ymarco commented 4 years ago

I was using TeX-fold (from auctex), which folds latex macros and symbols to unicode or for better readability. For example \alpha -> ɑ, \texbb{bold} -> bold. It uses overlays for that.

ymarco commented 4 years ago

I'm sorry to poke, but what's the status of this?

ymarco commented 4 years ago

...

arifer612 commented 3 years ago

I'd like to add on to this too, I'm using outline-minor-mode to organise the various sections I have. Having to fold and unfold after every compile takes up a lot of time the larger my file gets.