ImGuiColorTextEdit: a code editor widget with syntax highlighting, and a text diff viewer.
Create a TextEditor, give it its text and language (set_text(), set_language()), and call its render() at
each frame. This version is a rewrite, by Johan A. Goossens, of the editor by Balázs Jákó.
Upstream repository · The book’s page
Modules¶
In imgui_bundle (from imgui_bundle import imgui_color_text_edit):
imgui_color_text_edit: 0 functions, 2 classes, 0 enums · the C++ view
Demos using it¶
The demos of the catalog that use it (the pictures link to their code and to the playground).

Code editor¶
A code editor widget, with syntax highlighting, multiple cursors, a diff view, filters, annotations and context menus.
More
Each tab shows one feature, and a checkbox shows its source. The editor is ImGuiColorTextEdit, by Johan A. Goossens.
Uses: code editor
