Author Topic: Custom FreeBASIC STX file for EditPlus  (Read 3326 times)

0 Members and 1 Guest are viewing this topic.

Offline Zeb

  • C= 64
  • **
  • Posts: 40
  • Karma: 4
    • View Profile
    • Amiga Software Downloads
Custom FreeBASIC STX file for EditPlus
« 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...


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
« Last Edit: September 20, 2008 by Zeb »
if (empty($coffee)) {new $coffee();} else {drinkCoffee('fast');}

Amiga coder (assembler, E), PC coder (learning C)

PC SPECS:
W7 x64 Ultimate, AMD Athlon X2 Dual Core 5200 @ 2.6GHz, 4GB DDR2 PC6400 (800) RAM, JeanTech Storm 700W PSU, ATI Radeon X1650 Pro 256MB PCI-Ex16, SoundBlaster Audigy Platinum 2 eX, 3TB hard drive storage, Dual 22"WS TFT, Epson R300 printer, Epson V100 Perfection scanner, DL-DVD-+RAM/ROM/RW, DL-DVD-+RW, X7 laser gaming mouse and more...

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Challenge Trophies Won:

Offline Zeb

  • C= 64
  • **
  • Posts: 40
  • Karma: 4
    • View Profile
    • Amiga Software Downloads
Re: Custom FreeBASIC STX file for EditPlus
« Reply #2 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!!!)
« Last Edit: September 20, 2008 by Zeb »
if (empty($coffee)) {new $coffee();} else {drinkCoffee('fast');}

Amiga coder (assembler, E), PC coder (learning C)

PC SPECS:
W7 x64 Ultimate, AMD Athlon X2 Dual Core 5200 @ 2.6GHz, 4GB DDR2 PC6400 (800) RAM, JeanTech Storm 700W PSU, ATI Radeon X1650 Pro 256MB PCI-Ex16, SoundBlaster Audigy Platinum 2 eX, 3TB hard drive storage, Dual 22"WS TFT, Epson R300 printer, Epson V100 Perfection scanner, DL-DVD-+RAM/ROM/RW, DL-DVD-+RW, X7 laser gaming mouse and more...