commit | 11877e9a7574f32ca68dfb4f8e11425c32b7db91 | [log] [tgz] |
---|---|---|
author | BalazsJako <this.is.balazs.jako@gmail.com> | Fri Sep 14 20:43:44 2018 +0100 |
committer | GitHub <noreply@github.com> | Fri Sep 14 20:43:44 2018 +0100 |
tree | 0951925f56d48be3e48682a40093dd782afb3cc2 | |
parent | 10917ee980efd15416de63e71bc1f8edeb4a5fc5 [diff] | |
parent | 66b9a0c03ef7fa6b412a6f40fcc7769ce5f3001b [diff] |
Merge pull request #45 from marcel303/dev Fix for incorrect undo after 'backspace' at column 0.
Syntax highlighting text editor for ImGui
Demo project: https://github.com/BalazsJako/ColorTextEditorDemo
This is my attempt to write a relatively simple widget which provides source code editing functionality with basic syntax highlighting.
While it relies on Omar Cornut's https://github.com/ocornut/imgui, it does not follow the “pure” one widget - one function approach. Since the editor has to maintain a relatively complex internal state, it did not seem to be practical to try and enforce fully immediate mode.
The code is work in progress, please report if you find any issues.
Main features are:
Known issues:
Don't forget to post your screenshots if you use this little piece of software in order to keep me motivated. :)