Instructions for using the PSPad Editor 5.0.x with 
Pocket Tools for SHARP Pocket Computers

1. It is highly recommended to use the portable version of PSPad, 
   Zip file without an installer: http://www.pspad.com/en/download

2. "SHARP Pocket BASIC.INI" must be copied to pspad\Syntax. The syntax 
   file is based on that of PSpad for QBASIC and has been adapted. 
   It was assigned to the first highlighter <not assigned>, 
   which corresponds to "General" in the INI file

3. "SHARP Pocket BASIC.DEF" must be copied to pspad\Context.

4. In the PSPad.ini (or highlighter or menu) <Visual Basic> must NOT be 
   selected, corresponds to "Basic" in the INI file - 
   otherwise the Visual Basic filter takes precedence!

5. Quit PSPad, then change entries in the section [Highlighters] and 
   [Config] in PSPad.ini, if not done with 4.

6. Copy the attached section [SHARP Pocket BASIC] into the PSPad.ini 
   before the section [<not assigned>]. Then restart PSPad and choose 
   Settings Set Highlighter to adjust the colors and assign 
   for a compiler Bas2wav.cmd if necessary.

7. Open a * .BAS file and check whether your settings work, for Context 
   use [Ctrl]+[spc] or type first Character of the command and [Ctrl]+[J]

---
; 24.07.2019
; Close PSPad version 5 and Backup
; your PSPad.INI before you change it
; The paths depend on whether you have installed the tools on a hard drive 
; within \PortableApps\POCKTOOL or, for example, on a USB stick within \POCKTOOL .

[Config]
; 1. self defined Highlighter
UserHighLighterName=SHARP Pocket BASIC

[Highlighters]
...
; Visual BASIC *.bas conflicts with SHARP BASIC, switch off if you dont use it
Basic=0
; 1. self defined Highlighter, switch on
General=1
...

; Highlighter settings
[SHARP Pocket BASIC]
Filter=SHARP Pocket BASIC (*.BAS;*.SHA;*.shp)|*.BAS;*.SHA;*.shp
HLTabWidth=0
HLRealTabs=0
RightEdge=0
IndentChar=
UnIndentChar=
DocComment=
CurrentLine=0
CurrentLineBack=16777215
Comment=00FF00001FFFFFFF010
Identifier=1FFFFFFF1FFFFFFF000
Key=0080000000FFFFFF100
Key words 2=00FF00001FFFFFFF100
Key words 3=000000801FFFFFFF100
Label=000000FF1FFFFFFF000
Number=008000001FFFFFFF000
Preprocessor=008080001FFFFFFF010
Reserved Word=008000801FFFFFFF100
Space=008080001FFFFFFF000
String=000080001FFFFFFF000
Symbol=1FFFFFFF1FFFFFFF000
Compilator File=%PSPath%\..\POCKTOOL\Scripts.win\BasUwav.cmd
; Compilator File=\POCKTOOL\bas2wav.cmd
Compilator Param=%File%
Compilator LOG=
Compilator Run=
Compilator Help=
Compilator SaveAll=1
Compilator ParsLog=
Compilator Capture=1
Compilator CompileOnBackground=0
Compilator ProgSaveAll=1
Compilator ProgRunSelection=0
Compilator DefaultDir=%Dir%
Compilator LogType=1
Prog0=Pocket Tools PStart,|%PSPath%\..\POCKTOOL\PStart.exe|

; SHARP Pocket BASIC directly before this:
[<not assigned>]

[Config]
; Use Utf8 with special or Japanese characters 
; utf8 without BOM (recommended)
DefaultCP=65001
; ANSI (for old files only)
; DefaultCP=0
