Plugin -> Custom Language -> Code-Folding -> Event/Listener

Hi,

in my plugin I created a read-only view of some debug/logging data and a grammar to do syntax highlighting.
There's a FoldingBuilder implementation which produces some folding regions.

The data to be displayed get's updated regularily and I'd like to re-display the current foldings.

Is there a folding Listener or Event i.e. some code that gets called like

onCollapse/onExpand(document, astNode, ...)

Thank you,
Tobias

 

 

 

 

0

请先登录再写评论。