Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: Zeb on September 19, 2008

Title: Custom FreeBASIC STX file for EditPlus
Post by: Zeb on September 19, 2008
OK after looking at loads of source I now see this is an arduous task but I started so I might as well carry on...

First download the attached ZIP and extract to C:\Program Files\EditPlus 2\

It'll make the file "freebasic.stx" (which is by no means complete!!!)

In EditPlus, "Document>Permanent Settings" to open the settings window:
1. Select "Files>Settings & Syntax"
2. Click "New" for "Filetypes" and enter:
Description: FreeBASIC
File extensions: bas;bi


For "Syntax file" click the "..." button and locate the freebasic.stx file you just installed.

Now just configure the rest of the program how you want it to behave. For example, I have the following options set for "Tab/Indent":
Tab: 2
Indent: 2
Next 3 boxes ticked, rest empty

Now for "Column Markers":
2, 4, 6, 8, 10

Here's what it looks like so far by looking at some source code...
(http://img264.imageshack.us/img264/5103/editplusfbfb3.th.jpg) (http://img264.imageshack.us/my.php?image=editplusfbfb3.jpg)

Want to help make this STX file complete? Please feel free to edit the STX file (it's plain ASCII text) but please add anything new at the end of each section and post back so I can merge the lot into the main file to keep things simple. Please remember to start each section added by you with a single quote (') and comment what you've added.

When it's completed we can email it to the creators of EditPlus and they'll add it to their website and we'll all be famous!!!  :clap:

CURRENT LINE COUNT: 3,689
Title: Re: Custom FreeBASIC STX file for EditPlus
Post by: Jim on September 20, 2008
This link looks useful
http://www.execulink.com/~coder/fb/docs/fb_compare_keywords-by-version-fblite.html (http://www.execulink.com/~coder/fb/docs/fb_compare_keywords-by-version-fblite.html)

Jim

Title: Re: Custom FreeBASIC STX file for EditPlus
Post by: Zeb on September 20, 2008
Thanks for that - I've just added LOADS more to the STX file and am about to upload a new version so I can get to bed.

EDIT: uploaded and I've added the complete list on that site you just posted (thank god for macros!!!)