The Monaco editor as a Qt Widget


Keywords
qtstrap, qt, pyqt, monaco, text, editor
License
MIT
Install
pip install monaco-qt==0.1.9

Documentation

monaco-qt

license pypi version PyPI status

The monaco text editor deployed as a Qt Widget.

Uses QWebEngineView to load a custom web page containing an instance of monaco.

Installation

pip install monaco-qt

Then, in your qt application:

from monaco import MonacoWidget

monaco_widget = MonacoWidget()
monaco_widget.setText('foo')

Known Issues

  • Pyinstaller doesn't automatically include the monaco typescript files.
  • Very little of the monaco-editor API has been exposed to python so far