Alternative editor for Pure Basic

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Cantor.

The next version of PB (Windows) will have some bug fixes in the
editor.

My application (>2000 lines) does not work with the actual editor any more, as
there is a color mismatch in the source code and the code is no longer
editable.

Now I have tried "ConText" (Freeware Text Editor), that can be configured for
Pure Basic inclusively Compiler and Debugger support. Moreover I have written
a syntax highlighter for Pure Basic so that all Keywords are displayed
in predefined colors.
My application now works correctly.

If somebody has the problems with the PB-Editor too, perhaps ConText (available in different languages) will help.



--
Best regards,
Martin
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

Hi

Can you upload your syntax file for ConText?


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Cantor.

Can you upload your syntax file for ConText?
It isn't ready yet as I implemented the Keywords of PB that are listed in the
index of the Refernece Manual that is not complete indeed.

Where can I upload the syntax file?

--
Best regards,
Martin
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

If you email it to me I will host the file on my site.
http://www.reelmediaproductions.com/pb

Paul.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

...and i can mirror it if you want
and Paul, can i add your site in my links too?

Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

Hey Mr.Skunk...

Sure you can link to me, I'm linked to your site (sorry I forgot to ask)
:)

Paul.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

No problem, thanks

Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

Is there a way to compile and launch PB code through ConTEXT ??
It looks like there is but I can't get it to work.

By the way, great work on the Syntax file Cantor !

Visit PureBasic Resources at:
http://www.reelmediaproductions.com/pb

Paul.



Edited by - paul on 19 September 2001 21:19:35
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

Hi Paul,
a small syntax error in your url, directory 'pb' instead of 'pd'.


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Cantor.
Is there a way to compile and launch PB code through ConTEXT ??
It looks like there is but I can't get it to work.

By the way, great work on the Syntax file Cantor !

Visit PureBasic Resources at:
http://www.reelmediaproductions.com/pb

Paul.
Thanks.
It's quite easy.
Configure ConText as follows:

1.) Select Options/Environment Options from Menu
2.) Select Panel "Execute Keys"
3.) Select "Add" under the Listview.
4.) Fill in "pb" in the string gadget "Enter extensions seperated with commas"
5.) Click on "F9" in the Listview
6.) Insert the path of Your PB-Compiler into the "Execute"-Stringgadget,
for example "C:\Program Files\PureBasic\Compilers\PBCompiler.exe"
7.) Insert "%n /DEBUGGER" into the "Parameters"-Stringgadget
8.) Activate the OptionGadget "Capture Console Output".
9.) Close Window by clicking "OK"

Now You can copile Your PB-Code by clicking the "User Command 1"-Gadget in the Toolbar or by pressing F9.

Have Fun.

--
Best regards,
Martin
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

Ooops, thanks Mr.Skunk

And thank you Cantor for the detailed instructions. I had missed the "Capture Console Output".

Well... back to coding :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

You can use the '/QUIET' flags to disable unuseful output. This editor is nice :).

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Cantor.
You can use the '/QUIET' flags to disable unuseful output. This editor is nice :).

Fred - AlphaSND
I hope You aren't angry about that I mentioned the use of ConText, but it works very well with PB.

Does anyone know how to set more than 10 bookmarks in ConText and how to fold parts of the source code that not all code is visible?

--
Best regards,
Martin
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

use editplus editor, its the best there is

http://www.editplus.com

C. de Visser
Author of Super Guitar Chord Finder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Shagwana.

Any idea on how to get help files working in ConText? - you know the F1 option

http://www.sublimegames.com
Post Reply