|
|
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » A small issue with CodeEditor
|
|
|
Re: A small issue with CodeEditor [message #46065 is a reply to message #46063] |
Fri, 26 February 2016 21:49   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello cppborder,
I think we also put breakpoint in the wrong place. Please notice that it overlaps age information. In addition client programmer should have ability to turn off annotations and breakpoints.
For the firs issue I posted diff that adds age_width parameter to EditorBar and use it in draw method and size synchronization.
EDIT: DIFF deleted due to destroying annotations.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 27 February 2016 14:16] Report message to a moderator
|
|
|
|
Re: A small issue with CodeEditor [message #46067 is a reply to message #46066] |
Sat, 27 February 2016 20:53   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello cbpporter,
OK. Breakpoint can stay as it is, but we should have option to disable it. I think for app that only allows editing code this function is not necessary. So we should introduce function like "DebugerInterface(bool b);". What do you think?
Quote:
Aren't annotations off until you add them?
Right, annotations size is set by default to zero (look at EditorBar constructor). If you want to enable it you will probably need to use following method of EditorBar (CodeEditor/EditorBar.cpp):
void EditorBar::Annotations(int width)
{
annotations = width;
SyncSize();
}
Quote:
Right now I'm working on a mini code outline, like in Sublime text on the right in the image: http://www.tecmint.com/wp-content/uploads/2013/09/Sublime-Te xt-3.png
I wish we have separate code editor app outside TheIDE - maybe "U++ Edit" . Please notice that U++ code editor is super fast. In my opinion it works better than other tools like notepad++.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Sat, 27 February 2016 20:54] Report message to a moderator
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:25:47 CEST 2025
Total time taken to generate the page: 0.00884 seconds
|
|
|