Hi.
Thank you Jerome for the info on scrollArea and size smoothie, I will stay clear from it. I tried it all but it was not working properly because I updated the common control that I used to write on, not the parent of it, so it had no scrollbar's at all.
I could add the sample later on, I would like to test something first. I just remembered the Tree view control that was used to search the folders... Basically that is what I wanted to create.
I do not know if you know (99.9% that you do
) about Notepad++. It has some nice features in its text editor, so I wanted to create something similar in Ecere.
Basically, lets take a simple text in the Ecere ide:
Code: Select all
+class Form1 : Window
{
text = "Form1";
background = activeBorder;
borderStyle = sizable;
hasMaximize = true;
hasMinimize = true;
hasClose = true;
size = { 640, 480 };
+bool OnCreate(void)
{
return true;
}
}
Now every time you press + (for example, it could be placed at the line numbers) you can minimize the code that you will not use as it works. This would help you navigate from one part to the other without much problems and make it easy to see those two or three functions that you are working on.
I also thought about making the fonts bigger with (example: ctrl+scrollUp) and smaller (ctrl+scrollDown) which I was only able to make with pre-fixed values, as it would not work with some float that stores the value. I may be laying now...Sorry, do not remember if I wanted to add float or it did not work. Anyway.. This helped making font normal, and in that very tired mode, easy to read
Now, I did not know how to do it (but thanks to you Jerome, I now know) there are ways to make the "class Form1 : Window" bigger then the rest of the text making it easy to find the functions, properties, etc.
Now, I am not sure how it will look in the end, nor will people like it, but that is something else I have been working on (well, for now it is just some random jibber-jabber to test it all out).
So I guess that I made it a bit longer...So short - I will take a look at the tree view control used in that sample, and try to see why I am missing parts of the text when the window opens (it needs to get resized first to be nicely shown, or to have mouse outside of the window when it gets created..)
Best wishes to all that come to these forums,
D.Bane.
No army is to big, if the heart is beating strong.
There's no bad luck, it's just easier to blame someone else.