https://github.com/smorodov/imguicolortextedit_rus
ImGuiColorTextEdit with russian support
https://github.com/smorodov/imguicolortextedit_rus
Last synced: 8 days ago
JSON representation
ImGuiColorTextEdit with russian support
- Host: GitHub
- URL: https://github.com/smorodov/imguicolortextedit_rus
- Owner: Smorodov
- Created: 2020-07-28T07:32:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T11:12:36.000Z (almost 5 years ago)
- Last Synced: 2025-02-17T15:11:35.109Z (3 months ago)
- Language: C++
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ImGuiColorTextEdit_rus
Mainly based on https://github.com/BalazsJako/ImGuiColorTextEdit project.
Modified to woek with wide chars, tested in visual studio 2019.Syntax highlighting text editor for ImGui
# Main features
- approximates typical code editor look and feel (essential mouse/keyboard commands work - I mean, the commands _I_ normally use :))
- undo/redo support
- extensible, multiple language syntax support
- identifier declarations: a small piece of text associated with an identifier. The editor displays it in a tooltip when the mouse cursor is hovered over the identifier
- error markers: the user can specify a list of error messages together the line of occurence, the editor will highligh the lines with red backround and display error message in a tooltip when the mouse cursor is hovered over the line
- supports large files: there is no explicit limit set on file size or number of lines, performance is not affected when large files are loaded (except syntax coloring, see below)
- color palette support: you can switch between different color palettes, or even define your own
- supports both fixed and variable-width fonts
# Known issues
- syntax highligthing of most languages - except C/C++ - is based on std::regex, which is diasppointingly slow. Because of that, the highlighting process is amortized between multiple frames. C/C++ has a hand-written tokenizer which is much faster.