Building an editor step by step

Here you can attach your files or example so others can use it, discussions needs to be done at the general board
Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 884Post Angel
Fri Jul 20, 2012 3:14 pm

1920x1080 screen resolution required.
Today ini files, menu and main graphic interface.
Attachments
SuperEdit.zip
(680.87 KiB) Downloaded 68 times

Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 885Post Angel
Thu Jul 26, 2012 3:31 pm

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
Attachments
IdealEdit.zip
(698.26 KiB) Downloaded 74 times

Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 886Post Angel
Mon Jul 30, 2012 5:51 pm

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.
Attachments
IdealEdit2a.zip
(1.31 MiB) Downloaded 67 times

Aurelz
Posts: 15
Joined: Tue Apr 24, 2012 7:44 am

Building an editor step by step

Post: # 887Post Aurelz
Sat Aug 04, 2012 3:00 pm

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 !

Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 888Post Angel
Sat Aug 04, 2012 4:15 pm

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.

Aurelz
Posts: 15
Joined: Tue Apr 24, 2012 7:44 am

Building an editor step by step

Post: # 889Post Aurelz
Sat Aug 04, 2012 6:39 pm

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 ;)

Aurelz
Posts: 15
Joined: Tue Apr 24, 2012 7:44 am

Building an editor step by step

Post: # 890Post Aurelz
Sat Aug 04, 2012 7:48 pm

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 ...

Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 891Post Angel
Sat Aug 04, 2012 11:46 pm

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.

cvirus
Posts: 88
Joined: Tue Jan 12, 2010 8:33 pm

Building an editor step by step

Post: # 892Post cvirus
Tue Aug 07, 2012 1:12 pm

Nice work.

Angel
Posts: 87
Joined: Sat Nov 19, 2011 9:34 am

Building an editor step by step

Post: # 893Post Angel
Tue Aug 07, 2012 4:12 pm

Thanks cvirus.

Post Reply