Skip to content

How to reload an editor widget #8520

You must be logged in to vote

I've found the solution to my problem :

I've created a new type of resource resolver for the following scheme : bmem-txt://
This resource is able to get data from a specific registry that acts like a basic hashmap<string,string> and fires event if a key is modified.

The resource extends MutableResource and fires fireDidChangeContents if a change is made in the registry. The implementation of the readContents method for this resource simply returns the content of the registry for the key corresponding to the URI map.

Thus, for a specific URI, only one editor can be opened and if the content corresponding the URI is changed in the registry, the editor is reloaded. Even better, the scroll po…

Replies: 3 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@vince-fugnitto

You must be logged in to vote
0 replies
Answer selected by MikaelDesharnais-ST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants