Editor: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The | |||
Many editors are supported for BR! [[Source code]]. | |||
The purpose of the EDITOR statement is to identify the program used by the [[EDIT]] command. | |||
Editor "editor-program" [ REMOVE ] [NOWAIT] | Editor "editor-program" [ REMOVE ] [NOWAIT] | ||
While the '''Editor''' specification is normally placed within a BRCONFIG.SYS file, it can also be specified with the [[config|Config]] command or within a program line using the [[Execute]] statement to issue the Config command. | |||
====Examples==== | ====Examples==== | ||
Line 21: | Line 23: | ||
<br> | <br> | ||
REMOVE and NOWAIT affect the way the EDIT command uses the editor program. REMOVE causes BR to remove the source file when editing is complete. | |||
====See also==== | ====See also==== | ||
Line 37: | Line 41: | ||
*[http://www.textpad.com/ TextPad] | *[http://www.textpad.com/ TextPad] | ||
*[[My Edit BR]] | *[[My Edit BR]] | ||
*[http://www.mills-enterprise.ca | *[http://www.mills-enterprise.ca MyEditBR website] | ||
*[http://www.brixoft.net/prodinfo.asp?id=1 Source Edit] | *[http://www.brixoft.net/prodinfo.asp?id=1 Source Edit] | ||
*[[EditPad Pro]] | *[[EditPad Pro]] | ||
Line 48: | Line 52: | ||
*[http://www.andre-simon.de/ WinHighlight] | *[http://www.andre-simon.de/ WinHighlight] | ||
*[http://editra.org/index.php Editra] | *[http://editra.org/index.php Editra] | ||
*[https://www.cursor.com/ Cursor] | |||
<noinclude> | <noinclude> |
Latest revision as of 15:29, 20 April 2025
Many editors are supported for BR! Source code.
The purpose of the EDITOR statement is to identify the program used by the EDIT command.
Editor "editor-program" [ REMOVE ] [NOWAIT]
While the Editor specification is normally placed within a BRCONFIG.SYS file, it can also be specified with the Config command or within a program line using the Execute statement to issue the Config command.
Examples
An Editor Statement could be typed in the command console like:
Config Editor "C:\Program Files\NotePad++\NotePad++.exe"
Or added to BRConfig.sys like:
Editor "C:\Program Files\NotePad++\NotePad++.exe"
Or perhaps added to BRConfig.sys, but only applicable to an individual user (Herbert) like:
@"Herbert" Editor "C:\Program Files\Mills Enterprise\MyEditBR\MyEditBR.exe"
REMOVE and NOWAIT affect the way the EDIT command uses the editor program. REMOVE causes BR to remove the source file when editing is complete.
See also
Known Third Party Editors
These editors can process .wbs/.brs Business Rules! Editable Source code.
- NotePad
- PFE32
- TextPad
- My Edit BR
- MyEditBR website
- Source Edit
- EditPad Pro
- Notepad++ (open source)
- UltraEdit
- JEdit (open source)
- Crimson Editor (open source)
- Epsilon
- ConTEXT
- WinHighlight
- Editra
- Cursor