Here is a file to use as an Alpha Five Xbasic syntax highlighter with the text editor UltraEdit. It required UltraEdit version 11 or later.
The file is zipped in plain text format. It is ready to copy and append to the existing 'wordfile.txt' file in your UltraEdit program directory, e.g. C:\Program files\IDM Computer Solutions\UltraEdit-32
Make a backup copy of your existing wordfile before adding the attached syntax to it.
From memory UltraEdit allows up to 20 syntax highlighting definitions in the wordfile. The A5 Xbasic highlighting definition supplied here is numbered 15 (it's the /L15 statement in the first record of the attached file). You can change the 15 to any number you like between 1 and 20 just so long as your choice does not conflict with the number for any other syntax highlighting definition already in the wordfile.
Just a warning. The supplied syntax works exceptionally well (IMHO) but it is far from perfect. Some syntax highlighting features in A5 are just not supported in 3rd party offerings. I use UltraEdit as an external text editor a lot to augment the A5 Xbasic editor. It has many features (e.g. code folding, split windows and reliable scrolling just to mention a few) not supported by the A5 Xbasic editor. If you write a lot of Xbasic code and you use UltraEdit v 11 then this may be helpful. It certainly beats looking at black text on a white background all day.
To enable the syntax highlighting, copy the supplied syntax and append it to your UltraEdit wordfile.txt file as described above. Then close and reopen UltraEdit (it reads the wordfile automatically at start up). Then all you need do is save your Xbasic syntax in UltraEdit with the extension .axb and the syntax highlighting will be automatically invoked. Alternatively just go the the View menu in UltraEdit, select the "View as" second menu item and then select "Alpha Five Xbasic" which will now be visible as an option if you have installed the supplied syntax correctly.
I am sure there will be others keen to have a go at improving my syntax highlighting file. Please feel free to do so and let us see the result here.
The file is zipped in plain text format. It is ready to copy and append to the existing 'wordfile.txt' file in your UltraEdit program directory, e.g. C:\Program files\IDM Computer Solutions\UltraEdit-32
Make a backup copy of your existing wordfile before adding the attached syntax to it.
From memory UltraEdit allows up to 20 syntax highlighting definitions in the wordfile. The A5 Xbasic highlighting definition supplied here is numbered 15 (it's the /L15 statement in the first record of the attached file). You can change the 15 to any number you like between 1 and 20 just so long as your choice does not conflict with the number for any other syntax highlighting definition already in the wordfile.
Just a warning. The supplied syntax works exceptionally well (IMHO) but it is far from perfect. Some syntax highlighting features in A5 are just not supported in 3rd party offerings. I use UltraEdit as an external text editor a lot to augment the A5 Xbasic editor. It has many features (e.g. code folding, split windows and reliable scrolling just to mention a few) not supported by the A5 Xbasic editor. If you write a lot of Xbasic code and you use UltraEdit v 11 then this may be helpful. It certainly beats looking at black text on a white background all day.
To enable the syntax highlighting, copy the supplied syntax and append it to your UltraEdit wordfile.txt file as described above. Then close and reopen UltraEdit (it reads the wordfile automatically at start up). Then all you need do is save your Xbasic syntax in UltraEdit with the extension .axb and the syntax highlighting will be automatically invoked. Alternatively just go the the View menu in UltraEdit, select the "View as" second menu item and then select "Alpha Five Xbasic" which will now be visible as an option if you have installed the supplied syntax correctly.
I am sure there will be others keen to have a go at improving my syntax highlighting file. Please feel free to do so and let us see the result here.
Comment