Comments (8)
It is not overly complicated, though it requires some effort to make it work properly. Since there were no requests for it, I did not try to implement it. If there is any demand for it, it might worth it. I will leave this open as a request and see how many are interested in it.
from imguicolortextedit.
I'd be interested in using it to edit localisation files for https://github.com/Librelancer/Librelancer
This requires UTF-8 though :D
from imguicolortextedit.
I asked for it because these days I wouldn't write a text editor if it doesn't support UTF8 from the beginning (sooner or later, somebody will open a file with international characters in your editor). I tend to believe that what I really want is Scintilla (yes, a big monster) but running on a OpenGL and/or Vulkan based GUI. Partial ports of Scintilla to OpenGL and ImGui exist, but nobody has done a complete port, AFAIK.
from imguicolortextedit.
The motivation for this widget is to write an easy to use, user and coder friendly, simple shader/config/script/simple text editing utility, instead of a generic one which tries to cover a very wide range of features. Scintilla is much more complex because of that approach.
I try to keep it small and simple as possible, without bloat, just like ImGui itself. Though, adding UTF-8 support might not compromise the overall simplicity too much, I guess.
from imguicolortextedit.
I have committed an experimental version of UTF-8 support to dev branch. Please test it. If it gets stable/complete enough I will merge it to master.
from imguicolortextedit.
Merged #84 to master.
from imguicolortextedit.
Thanks a lot!! I didn't have the time to look at this before!! I'm in the process of inserting your Win32+DX11 demo into the SDL2 demos, as I have absolutely no idea about Microsoft APIs. I'm a bit surprised about you including the DirectInput header in the demo... what is it used for? I hope I'm doing the surgery right for transplanting it into SDL2... let's see...
EDIT: It worked!! I transplanted it into the SDL2+Vulkan demo quite easily!!
Thanks a lot!! This editor is great!!
from imguicolortextedit.
Very welcome :) As you might already figured out, the demo is basically a modified ImGui DX11 example, all the includes are coming from that code. The editor itself does not depend on anything like that. It relies on ImGui and STL.
from imguicolortextedit.
Related Issues (20)
- bug ? add 1 CR each time you call SetText... HOT 2
- IME dose not follow the cursor
- assert() may not be available
- GLSL language definition
- i cant write HOT 3
- Dead project? HOT 10
- Auto-Scroll Issue HOT 4
- Big scripts cause lag and crashes in lua HOT 2
- Keywords in C++ colorizer not working. HOT 1
- Suggestion: Ctrl + Backspace HOT 2
- Add the interface that can set the font list.
- Coloring sections programmatically
- Threading?
- Can't write HOT 2
- The Color Highlight of identifiers gets removed on the 10th line HOT 3
- Annoucing Dear ImGui Bundle including ImGuiColorTextEdit and many others; with support for C++, Python and emscripten HOT 3
- cant handle enter key HOT 1
- [Suggestion] Java syntax-highlighting
- A code editor i made with this library
- [Suggestion] Search box
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imguicolortextedit.