Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
contrib:externaleditors [2018/03/27 10:26] – [KatePart (Kate, KWrite)] Add xml zip file brucemutton | contrib:externaleditors [2023/12/23 03:56] (current) – [NotePad++] Update for Therion 6.2.0 brucemutton | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== Editors |
=====for input files===== | =====for input files===== | ||
Line 34: | Line 34: | ||
Bill Gee has written a configuration file to highlight Therion syntax... | Bill Gee has written a configuration file to highlight Therion syntax... | ||
- | {{: | + | {{: |
I run Fedora 27 with KDE desktop, so the editor I use most is Kate/ | I run Fedora 27 with KDE desktop, so the editor I use most is Kate/ | ||
- | The attached XML file is for use in either Kate or KWrite. It is very much a work in progress. I have only scratched the surface of what is possible. One major thing I want to look at is to see if there is a way to make the syntax highlighting change in "code metapost" | + | The attached XML file is for use in either Kate or KWrite. It is very much a work in progress. |
- | Copy the XML file to your user profile directory. The exact location will vary depending on your distribution. On my Fedora 27 system it is \\ | + | Copy the XML file to your user profile directory. The exact location will vary depending on your distribution. On my Fedora 27 system it is... \\ |
< | < | ||
Line 47: | Line 47: | ||
You may have to create this directory. | You may have to create this directory. | ||
- | The file can also go in the common syntax highlighting directory which (on my system) is \\ | + | The file can also go in the common syntax highlighting directory which (on my system) is... \\ |
< | < | ||
Line 55: | Line 55: | ||
The next time you start either Kate or KWrite, the new file will be used. | The next time you start either Kate or KWrite, the new file will be used. | ||
+ | === Recent Changes (29-30 March 2018) === | ||
+ | * Added several more keywords such as ceiling-step and floor-step. | ||
+ | * Applies different rules for "code metapost", | ||
+ | * Numbers are now highlighted in color. | ||
---- | ---- | ||
==== NotePad++ ==== | ==== NotePad++ ==== | ||
NotePad++ is a free editor that I have used successfully with XTherion (B. Mutton, Footleg)\\ | NotePad++ is a free editor that I have used successfully with XTherion (B. Mutton, Footleg)\\ | ||
- | Last updated for version | + | Last updated for version 7.9 in Oct 2020 |
http:// | http:// | ||
Line 83: | Line 86: | ||
===Customise NotePad++===== | ===Customise NotePad++===== | ||
- | To allow NotePad++ to work with Therion data files select the menu item Settings. Preferences and in the dialog that opens select the New Document tab. | + | To allow NotePad++ to work with Therion data files select the menu item '' |
+ | |||
+ | Select the '' | ||
+ | |||
+ | Another setting you might like to adjust is that which detects when another application (Therion) has saved a file that Notepad++ has open. In the '' | ||
+ | |||
+ | Select ' | ||
- | Select the 'UTF-8 without BOM' radio button and tick 'Apply to open ANSI file' | ||
Here are some options to make NotePad++ work well with Therion. | Here are some options to make NotePad++ work well with Therion. | ||
- | In windows XP add the files below to the folder | + | In Windows |
< | < | ||
- | which in Windows | + | which in Windows |
- | < | + | |
- | or in Windows 7 | + | |
< | < | ||
- | Make sure that NotePad++ is not running when you relocate or edit these files in the above location. | + | Make sure that NotePad++ is not running when you relocate or edit these files in the above location. |
---- | ---- | ||
- | **User defined language styler for survex and for therion** | + | **Open a new instance of Xtherion with the currently active file using Ctrl + Alt + X** |
- | Includes 3 styles - Survex, Therion simple highlighting of comments only, and Therion 5.3.3) | + | Modified keyboard shortcuts |
- | {{: | + | |
+ | For Therion 5.3.14 to 6.0.4 variants, add this line to the file '' | ||
+ | < | ||
+ | |||
+ | |||
+ | For Therion 6.0.5 onwards, add this line to the file '' | ||
+ | < | ||
+ | (The name of Wish86 was changed) | ||
+ | |||
+ | For Therion 6.2.0 onwards, add this line to '' | ||
+ | < | ||
+ | (Therion is now 64 bit only, so it has been moved out of the x86 programes folder) | ||
---- | ---- | ||
- | **Open a new instance | + | **User defined language (UDL) styler for survex and for therion** |
+ | |||
+ | The old legacy way of adding new UDLs to NotePad++ was to edit the file userDefineLang.xml in '' | ||
+ | Nowadays there is a userDefineLangs folder in which you can add your individual UDL xml files. | ||
- | Modified keyboard shortcuts to include opening therion | + | You can build your own UDL interactively by using a built-in dialog accessed via menu '' |
- | {{:contrib: | + | |
- | Actually the above file is rather old and assumes Therion is on the D: drive, you will need to edit it if your Therion is on a different drive. Might be better just to insert the code below in the < | ||
- | For Therion 5.3.13 and earlier... | ||
- | < | ||
- | For Therion 5.3.14 and later ... | ||
- | < | ||
---- | ---- | ||
**Run Therion compiler on the currently active file without invoking XTherion using Ctrl + T** (Footleg) | **Run Therion compiler on the currently active file without invoking XTherion using Ctrl + T** (Footleg) | ||
Line 157: | Line 172: | ||
Note: vi too has the shell, '': | Note: vi too has the shell, '': | ||
+ | ---- | ||
+ | |||
+ | ==== VSCode Extension ==== | ||
+ | |||
+ | A VSCode extension to enable syntax highlighting, | ||
+ | |||
+ | Install from the VSCode store: https:// | ||
+ | |||
+ | ---- | ||
+ | ==== PIXLR E ==== | ||
+ | |||
+ | A free online image editor you may use to edit, crop, rotate and erase white space of background images and save them as .png with transparency. Maximum size for free online version is 4096x4096 px. There are paid and paid desktop versions too. | ||
+ | |||
+ | https:// | ||
+ | |||
---- | ---- | ||