From 7c818970914dbac59f2f1d191a52d080d6e28c96 Mon Sep 17 00:00:00 2001
From: Piotr Fusik
Date: Sat, 21 May 2005 16:49:48 +0200
Subject: [PATCH] xasm 2.6.1 release.
---
doc/editors.htm | 53 +++++++++++++++++++++++++++++++++---------
doc/xasm.htm | 21 ++++++++++++++---
syntax/extension.asx | 2 ++
syntax/xasm.key | 17 ++++++++++++++
syntax/xasm.properties | 41 ++++++++++++++++++++++++++++++++
syntax/xasm.scheme | 38 ++++++++++++++++++++++++++++++
syntax/xasm.spc | 14 +++++++++++
7 files changed, 172 insertions(+), 14 deletions(-)
create mode 100644 syntax/extension.asx
create mode 100644 syntax/xasm.key
create mode 100644 syntax/xasm.properties
create mode 100644 syntax/xasm.scheme
create mode 100644 syntax/xasm.spc
diff --git a/doc/editors.htm b/doc/editors.htm
index 7b7fb52..c503fa8 100644
--- a/doc/editors.htm
+++ b/doc/editors.htm
@@ -15,39 +15,45 @@
Of course these features are not available in the Windows Notepad,
so you must pick another text editor. Fortunately there are many
-general-purpose text editors for Windows. I'll fucus on four of them:
+general-purpose text editors for Windows. I'll focus on the following:
-All of these have similar features. Personally I prefer
-Code-Genie.
Highlighting xasm mnemonics
In the syntax subdirectory you'll find xasm syntax definitions
for all of these editors.
-- Installation for EditPlus:
+
- EditPlus:
Select Tools/Preferences, then Files/Settings & syntax,
then Add. Type Description (xasm),
File extensions (asx), click ... next to Syntax
file and locate the xasm.stx file. Then click
Syntax colors and select your favourite colors.
-- Installation for ConTEXT: Just copy xasm.chl
+
- ConTEXT: Just copy xasm.chl
to the Highlighters subdirectory of the ConTEXT
directory.
-- Installation for Code-Genie:
+
- Code-Genie:
Copy xasm.cgsyn to the syn subdirectory in the
Code-Genie directory. Edit cgenie.conf, you can do it by
selecting View/Settings. Type:
DefaultSyntax xasm asx
near other DefaultSyntax lines.
-- Installation for PSPad: Copy xasm.ini to the
+
- PSPad: Copy xasm.ini to the
Syntax subdirectory of the PSPad directory. Edit
PSPad.ini. In the [Config] section set:
UserHighLighterName=xasm
@@ -67,6 +73,22 @@ Space=0080800080000005000
String=0080008080000005000
Symbol=8000000880000005000
+- Programmers Notepad 2: Copy xasm.scheme
+to the schemes subdirectory of the Programmers Notepad
+directory. You have to select the xasm scheme each time you open a source
+file, as I don't know how to associate the scheme with the asx
+extension.
+- Crimson Editor: Copy xasm.key
+and xasm.spc to the spec subdirectory
+of the Crimson Editor. Copy extension.asx to the link
+subdirecory of the Crimson Editor.
+- SciTE: Copy xasm.properties to the SciTE directory.
+Add the following line to menu.language in SciTEGlobal.properties:
+
xasm|asx||\
+
+Add the following line at the end of SciTEGlobal.properties:
+import xasm
+
Single-keystroke assembly
@@ -97,9 +119,18 @@ Compilator ParsLog=%F (%L) *
Compilator Capture=1
(replace the paths to xasm and the emulator).
+- Programmers Notepad 2: Select Tools/Add tools. Select
+Scheme: xasm. Click Add. Fill: Name,
+Command, Folder (%d) and Parameters (%f).
+For error parsing, you should fill a custom pattern on the Console I/O
+tab. However, PN 2.0.5.48 crashes when entering "(" !
+- Crimson Editor: Select Tools/Conf. User Tools. Select
+an empty slot, fill Menu Text, Command, Argument
+and Initial Dir. Check Capture output.
+- SciTE: The configuration is already in xasm.properties.
Placing the cursor where an assembly error occured
-This works same for all these four editors: just double-click the line
+
This works same for all these editors: just double-click the line
with the error message.