The monaco text editor deployed as a Qt Widget.
Uses QWebEngineView to load a custom web page containing an instance of monaco.
pip install monaco-qt
Then, in your qt application:
from monaco import MonacoWidget
monaco_widget = MonacoWidget()
monaco_widget.setText('foo')
- Pyinstaller doesn't automatically include the monaco typescript files.
- Very little of the monaco-editor API has been exposed to python so far