commit | 96c953fbb40f8919004c96cbd08e7966576a35ba | [log] [tgz] |
---|---|---|
author | BalazsJako <this.is.balazs.jako@gmail.com> | Tue Nov 06 08:14:16 2018 +0000 |
committer | GitHub <noreply@github.com> | Tue Nov 06 08:14:16 2018 +0000 |
tree | 2b6862fb5c32ca54bf7276b20ea9a489b7f59dc1 | |
parent | 11877e9a7574f32ca68dfb4f8e11425c32b7db91 [diff] | |
parent | 8225bf0c372a7cdc92d6598a751586a616006e40 [diff] |
Merge pull request #51 from marcel303/optimizedGetSetText GetText/SetText optimizes and API improvement.
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. :)