marijnh/CodeMirror2 — Issue #282: update display event
Author: mys3lf
Created: 2011-12-08 11:20:28+00:00
State: open

Hi Marijn Haverbeke.
It would be nice to have an updatedisplay event. I want to display special expressions as images. I wrote a custom mode for that purpose and want to replace the necessary span tags with img tags after the highlighting. works so far with the onHighlightComplete an onCursorActivity events but when i resize the window codemirror refreshes the highlighting and my replacements are lost. i would insert the event by myself but i dont want to lose the ability to update codemirror.

best regards
Matthäus Gdaniec