Forums - Open Redstone Engineers

Full Version: A Text Editor I'm working on.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know, terrible name Tongue

But anyway, I'm working on a text editor, which is written in C++. It'll just be a basic one, like Notepad++ or something. Won't be anything like a fancy IDE with member-lookups and stuff.

Here is a screenshot of it's current state:
[Image: editor3.png]
Notice the multiple cursors. Here is a screenshot with debug mode enabled:
[Image: editor3_dbg.png]

Features:
  • Syntax highlighting for C/C++
  • Line numbers
  • Custom fonts
  • Custom colorschemes
  • Cursor positioning via mouse clicking
  • Debug mode(press F1 to ENGAGE)
  • Pasting using CTRL-V
  • Saving to a fixed filename(save.txt)
  • Multiple cursors


Right now I'm working on editing the text(selections, copying etc.)

You can follow the development of the project, and download the latest release(updated something like twice a day) on the project's Github page.

EDIT: The forums are being derp. If you cannot see the image, it's visible on the Github page.
This would be nice!
Looks nice.
Not sure if any other text editor has this, but it would be nice to add in comments which aren't part of the line like this: "<code> //<comments>" but could be clicked or something which would open a smaller text field containing the comments, so you would be able to add big comments without disrupting the "flow" of the actual code (similar to the comments you can add to a line in github in history).
The only downside to this would be that other editors probably won't be able to view these comments.
A solution may be that it automatically does that with multi line comments. Use the first line as a title, and if you click on it, you see the rest.

Would be important to make it very clear that you can click it to see more though, or else the user could end up thinking there is only that first line of comment.
Looks promising & way to complicated for me to do XD. Awesome work Mad, and i'll keep track on github on this one.
You could add a symbol or highlight the line number to indicate a comment.
By the way this editor looks a bit similar to the editor my brother is using, which is called Sublime Text 2.