Page 1 of 1

Posted: Tue Aug 13, 2002 8:37 pm
by BackupUser
Restored from previous forum. Originally posted by Andre.

Could anyone - who is using these editors - please post his settings for including the PB-Compiler ? Syntax-highlighting is working for me, but I couldn't figure out the comiler settings...


Regards
André

*** German PureBasic Support ***

Posted: Wed Aug 14, 2002 4:34 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

UltraEdit:

Code: Select all

- Start UE


- Menu: Advanced\Tool Configuration\
        Make a new entry:
        Command Line   : "D:\BASIC\PureBasic\Compilers\pbcompiler.exe" /QUIET %F
        Menu Item Name : PureBasic - RUN
                         [X] Output to List Box
                         [X] Capture Output


        Let ALL other fields empty/not checked and press [ INSERT ] button.


- Now look in Menu: Advanced\
        You see a new entry at the end of the menu:
        "PureBasic - RUN     Ctrl+Shift+0" or something like that.
        Save the shortcut name in your brain (Ctrl+Shift+0).


- Menu: Advanced\Configuration\ Key Mapping
        Search the command "AdvancedUserTool1" (or 2, 3...),
        assign Key "F5" to it and delete the old shortcut (Ctrl+Shift+0).
        Press [ OK ] button... and have fun.


Now you can Run your PB-Code by pressing F5.


If you want it better, you write a little
program which calls PureBasic commandline (pbcompiler).
In this program you could make some boxes for
choosing: |-----------------------------------------------|
          | (*) EXE: GUI       [ ] NT4 compatible         |
          | ( ) EXE: Console   [X] Create ASM output      |
          | ( ) DLL            [..no.Icon.] [Choose Icon] |
          |                                               |
          |  [ MAKE ]    [ Cancel ]                       |
          |-----------------------------------------------|


etc... you got the idea.


Now you assign F6 to this tool, so:
F5 = Quick RUN
F6 = Compile = Start the tool with compiler options
cya,
...Danilo

(registered PureBasic user)

Posted: Wed Aug 14, 2002 11:37 am
by BackupUser
Restored from previous forum. Originally posted by Andre.

Thank you very much, Danilo !

Anyone using ConTEXT ?


Regards
André

*** German PureBasic Support ***

Posted: Wed Aug 14, 2002 12:00 pm
by BackupUser
Restored from previous forum. Originally posted by Fangbeast.
Anyone using ConTEXT ?
Andre, there is a PureBasic syntax and template file for ConTEXT on Paul's resource site under 'editor resources', hope that helps.

http://www.reelmediaproductions.com/pb

Fangles

Posted: Wed Aug 14, 2002 5:39 pm
by BackupUser
Restored from previous forum. Originally posted by Andre.
Andre, there is a PureBasic syntax and template file for ConTEXT on Paul's resource site under 'editor resources', hope that helps.
Thanks Fangbeast, but I've already integrated this. Syntax-Highlighting is working, but I search for the correct editor settings to integrate the PB-Compiler. Hope someone has an answer...


Regards
André

*** German PureBasic Support ***