You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am integrating the monaco-editor into an Electron app for three-way merge, so I want to highlight merge conflict blocks in VSCode style. Since VSCode itself is based on monaco, I think it is feasible.
I check the API doc and find a related one that might be useful: colorizeModelLine(model: ITextModel, lineNumber: number, tabSize?: number): string., but I still do not know how to do that because examples are absent. Can anyone give me a hint?
The text was updated successfully, but these errors were encountered:
I am integrating the monaco-editor into an Electron app for three-way merge, so I want to highlight merge conflict blocks in VSCode style. Since VSCode itself is based on monaco, I think it is feasible.
monaco-editor version: 0.17.1
**Browser:**Chromium
OS: Windows10
The screenshot of the tool:
The expected result:
I check the API doc and find a related one that might be useful:
colorizeModelLine(model: ITextModel, lineNumber: number, tabSize?: number): string.
, but I still do not know how to do that because examples are absent. Can anyone give me a hint?The text was updated successfully, but these errors were encountered: