Skip to content

Conversation

@kaisalmen
Copy link
Collaborator

@kaisalmen kaisalmen commented Nov 18, 2025

Use flags reprocessConfig to trigger a editor config re-processing. This can trigger an on-demand re-processing of the text/model and editor options (test with statemachine react example)
Use enforceLanguageClientDispose to dispose the language client on demand: This was moved from the config to the react component as it is only used here.
Debug logging was improved.
This resolves #996

@kaisalmen kaisalmen requested a review from CGNonofr as a code owner November 18, 2025 15:37
Copy link
Collaborator

@CGNonofr CGNonofr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, lots of unrelated changes (logs) included though :)

@kaisalmen
Copy link
Collaborator Author

kaisalmen commented Nov 18, 2025

@CGNonofr yes, forgot to mention. The debug logging is improved (better timestamp and better and more precise messages).

…d enforceLanguageClientDispose to dispose the language client on demand
@kaisalmen
Copy link
Collaborator Author

A new next release is available (only the component this time):
https://www.npmjs.com/package/@typefox/monaco-editor-react/v/7.4.0-next.0

@kaisalmen
Copy link
Collaborator Author

@martin-fleck-at is this a possible solution for you?

@martin-fleck-at
Copy link

@kaisalmen I am a bit swamped today. I might have a chance to try this out but I might only be able to have a more detailed look tomorrow. Sorry for the delay!

@kaisalmen
Copy link
Collaborator Author

@martin-fleck-at now worries. Take your time. I will wait for you feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[React Editor] Very fast typing may reset the curser and insert text incorrectly

4 participants