Page 1 of 3

Building an editor step by step

Posted: Fri Jul 20, 2012 3:14 pm
by Angel
1920x1080 screen resolution required.
Today ini files, menu and main graphic interface.

Building an editor step by step

Posted: Thu Jul 26, 2012 3:31 pm
by Angel
Today:
set left and right margins implemented
set len tab implemented
menu new file implemented
menu open, save and save as implemented
tools: indentation level implemented
Tools: visible objects: button implemented
subs and funct listbox implemented
objects, variables,constans comboboxes implemented
quickSearch, go to line, go to first line, go to last line implemented
right Panel: updates button implemented

Building an editor step by step

Posted: Mon Jul 30, 2012 5:51 pm
by Angel
IdealEdit is perfectly usable with caution. You can edit the text, save, open, search, replace, compile and run.
The next step:
Syntax highlight, line numbering, tools, notes, calculator, colors...and some datails.
Remember 1920x1080 screen resolution required.

Building an editor step by step

Posted: Sat Aug 04, 2012 3:00 pm
by Aurelz
WOW... :)
Angel ...that is a excellent program ;)
Is this completely written in FNX ?
For main edit control you use Richedit ,right?
By the way ,why is by default used two empty tabs?
Functions panel is great ;)

PS.I have write something similar but not in FNX,and
use scintilla control for syntax coloring becuse is the
faster method.

Once again - great work and keep on !

Building an editor step by step

Posted: Sat Aug 04, 2012 4:15 pm
by Angel
Thanks Aurelz .
Your comment encourages me to continue working on this project.
The program is written entirely in fnxbasic. With scintilla dll  could make a complete and professional editor, but the honors would go to the creators of scintilla. It is my opinion.
I would like the program could open / close to 99 files, but fnxbasic at this time does not allow controls arrays, also lack the method "deltab". Therefore, only two richedits and only two  empty tabs. More rchedits without objects arrays would be very laborious or even impossible.
Best regards.

Building an editor step by step

Posted: Sat Aug 04, 2012 6:39 pm
by Aurelz
Yes i know that ...
But syntax coloring trough richedit control is a little bit
clumsy because some weird point about MS direction.
However one of good example is Marcus editor for
naalaa written with richedit but written in objective-c.
I also try examples with MFC with richedit and is not
as fast as scintilla because scintilla is a custom control.
(look sometimes in source code)
I repeat again look & feel of this editor is great ;)

Building an editor step by step

Posted: Sat Aug 04, 2012 7:48 pm
by Aurelz
Angel...
About limitation i don`t think before so
you must complain to mister Marco.
Really i don`t know why is this limitation anyway.
Probably Marco will fix this ...

Building an editor step by step

Posted: Sat Aug 04, 2012 11:46 pm
by Angel
Yes, all the methods I`ve tried about the syntax coloring based on richedit control are too slow when opening files larger than 1000 lines.
I`m sure that Marco will work to implement arrays of objects. In previous versions it was possible.

Building an editor step by step

Posted: Tue Aug 07, 2012 1:12 pm
by cvirus
Nice work.

Building an editor step by step

Posted: Tue Aug 07, 2012 4:12 pm
by Angel
Thanks cvirus.