EddieEdit

For community projects only.
Post Reply
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit

Post by ryanjames »

Hi

A few weeks ago, I began to make a txt editor. It soon devloped into a .bas editor with a few features. However, I am running out of talent and time to devlop the program further. I feel however that the program has huge potential and therefore, I am willing to freely distribute the source code for anyone who wishes to veiw and improve on it.

I think that everything is explained in the notes at the start of the file.
If you have made any changes then please feel free to post the updates at the Just BASIC thread:
http://justbasic.conforums.com/index.cg ... 1241104345


NB: The "TEMP.zip" file is actually just a folder with nothing inside, but it is required so unzip it too.

I will keep a close eye on how this are going and when I have time, try some of the new ideas (explained in the notes at the start of the file) myself and report back at the links above. Meanwhile, you are free to download, use, improve and make suggestions to the current version.




Enjoy.
Ryan
Attachments
EddieEdit 1.2.zip
EddieEdit v1.2
(24.9 KiB) Downloaded 497 times
Last edited by ryanjames on Tue May 05, 2009 4:58 pm, edited 1 time in total.
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v1.3

Post by ryanjames »

The bug has been fixed which means that the editor will function on systems that have the Just BASIC directory in a drive other that C:. Thanks to uncleBen for bringing the bug to my attention.

I have also addded bmpbuttons along the top for ease of use, and the TEMP folder no longer exists - the program creates it at the start of the program and destroys it at the end of the program.


Things I'm working on now include:
- Intigrating the .bmp files into the bas code so no .bmp files lying around.
- A splash screen.
- Adding Courier New to the font list.


Thanks and keep informing me of bugs, suggestions and improvements.



Ryan
Attachments
EddieEdit v 1.3.zip
(31.25 KiB) Downloaded 395 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v1.4

Post by ryanjames »

Hey

I have made some adjustments to the code; it now runs stand alone - it no longer needs the config.ini file to run or the bmps (they have been turned into .bas code thanks to RutCorn's "alltobas" converter). I have also allowed for the program to edit in "courier new" fontface.


Enjoy and as always, I am open to suggestions, bug reports and improvements.


However, at the moment I am a bit stuck because I am trying to move forward in the list of "furture intentions" listed in the notes at the start of the code. However, my progress is severly hampered by my level of skill, and therefore, can you guys suggest any ways that I could make the program able of syntax colouring, and, how to make notes on the current line of code being wrote appear in the help panel on the right of the program?

The notes will appear when the user types any command (coloured blue in the original Just BASIC editor) and will include an example (Eg, "PRINT #handle, expression; expression(s);") followed by a breif description (Eg, "This statement is used to send data to the mainwin, to a disk file, or to other windows. A series of expressions can follow PRINT, each separated by a semicolon. Each expression is displayed in sequence. If the data is being sent to a disk file, or to a window, then #handle must be present." (taken from the help file.))


Can anyone suggest how I could go about doing this in Just BASIC, if it can be done at all?



Thanks again
Ryan
Attachments
EddieEdit v1.4.zip
EddieEdit v1.4
(36.74 KiB) Downloaded 412 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit

Post by ryanjames »

Hey

As for syntax colouring, it seems that in JB it is almost impossible (except if you use a graphicbox) but very possible in LB. Therefore, I will hold off on syntax colouring untill I begin to make a LB version - unless anyone can think of a way of doing it in JB.

As for the notes to appear on the right, the only way I can see that working is if I make .txt files with the descriptions in them and about every second the program check to see if the user highlights one of the keywords (ie, PRINT) (Idealy I wouldn't want the user to have to highlight the text but it seems the only solution that I can think of) and then the corresponding txt file opens at it's contents are added to the help panel.

Can anyone think of a better way of doing this because I did a trial version and the text keep flashing as the text has to be cleared every second and the whole code read over again?



Thanks
Ryan
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
John Davidson
Site Admin
Posts: 128
Joined: Sat Nov 13, 2004 8:36 am
Location: Vashon Wa
Contact:

Post by John Davidson »

Ryan
It would be best if discussions were held at the same place.
The archives are not intended to host discussions so the JB Forums would be the place.

Also, are you aware that files here can be updated?
There is no need to have several versions of the same code.

John
John Davidson
e-me: johnshomeport@yahoo.com
My JB Page: http://john.jbusers.com/
Did ya Libby yet? http://lblibby.com/
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v1.5

Post by ryanjames »

Hey

Thanks John for those comments, I'll hold all disscussions at the JB forum and I was keeping earlier version up there in case someone wanted to see the first versions and then see how I have changed them - you know to learn from them


Anyway, EddieEdit v1.5 is ready.
New things in this release include, the ability to run the program written in the editor through the main JB editor without human interaction. The program can also do the same with the debugger in the main JB editor thanks to .vbs script which the program makes when it needs it.
Also, the user can now select their own TexteditorColor$ and the program can run .tkn files on it's own.




Thanks again
Ryan.
Attachments
EddieEdit v1.5.zip
EddieEdit v1.5
(38.59 KiB) Downloaded 372 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v1.6

Post by ryanjames »

Hey

Another version of EddieEdit is here!

Some minor adjustments made in this release; the user now has a progress bar when opening a large file (over 50 lines), and more background colours are available. Also the bug where the background of the text in the graphicbox in the sample bit when choosing a backgrond colour is always white, is fixed.
Attachments
EddieEdit v1.6.zip
EddieEdit v1.6
(38.91 KiB) Downloaded 440 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v1.7

Post by ryanjames »

Ok

Thanks to the bugs uncleBen kindly pointed out, I have been propmted to make a new version.

Basically, the TEMP folder could not be removed properly because of the BAK folder that JustBasic sometimes creates to backup the file being run. Also the programs being run can use their own resources as they are saved in their own directory, not TEMP\temp.bas. Also the program can properly tell if a file has been modified.
Attachments
EddieEdit v1.7.zip
EddieEdit v1.7
(38.97 KiB) Downloaded 450 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v2.1

Post by ryanjames »

Hi.

Sorry I've been inactive for so long.

Basically, the desc.edi file has been made and works. However there are some problems with justifivation. For more info and to post updates, bugs etc. as always go to:
http://justbasic.conforums.com/index.cg ... 1241104345



Thanks
Ryan
Attachments
EddieEdit v2.1.zip
EddieEdit v2.1
(49.99 KiB) Downloaded 408 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v2.2

Post by ryanjames »

Ok.

The desc.edi file is now justified and a few new improvements have been made to the running of the program.
Enjoy.


Ryan
Attachments
EddieEdit v2.2.zip
EddieEdit v2.2
(50.21 KiB) Downloaded 380 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
ryanjames
Posts: 10
Joined: Wed Apr 29, 2009 6:19 pm
Location: Co. Armagh, N. Ireland
Contact:

EddieEdit v2.3

Post by ryanjames »

Hey

The program uses a monospace font to display the help panel in so the justification can be regulated properly. Also the window can now be freely resized without the help panel becoming obscured.

NB: The font files needed to run EddieEdit are included in the zip folder.


Ryan
Attachments
EddieEdit v2.3.zip
EddieEdit v2.3
(170.59 KiB) Downloaded 470 times
Ryan.


Beetles taste like apples, wasps taste like pine nuts and worms taste like fried bacon. (Thats a fact)

Please take part in my poll at:
http://www.misterpoll.com/polls/370611
Post Reply