Editor quirks


Revision as of 15:19, 16 August 2006 by Philipnet (Talk | contribs)
Jump to: navigation, search

How to add PC-delete functionality

StrongED and ZAP. The chances are, you'll use one of them as your text editor, and the chances are that the fact that neither of them do PC-style delete by default will be annoying. Well, have no fear, because you can fix this! Easily! If you just want a simple app that will add the fixes in the right places, then Open this link and click on "click here to download" (Because Drobe doesn't allow hotlinking). If, on the other hand, you want to know what's involved, read on...


To add this functionality to StrongED, you need to edit the default KeyList. But where is it? Neither StrongHelp nor the online manual shed any light on its whereabouts.

However, if, using StrongHelp, you open the Reference section, and then open Syntax of ModeFile file you'll see a reference to KeyList.

That's right! It's in the basemode file! Which is located in <StrongED$Dir>.Defaults.Modes.BaseMode we're after the ModeFile. NB: As this is the default file, I recommend copying it to Choices:!StrED_cfg.UserPrefs.Modes.BaseMode .

  1. Open this up and search for 'KeyList' . Not that one, nor the next one... in fact it's the last KeyList in the file. The comment just before it is: '#--- The main keylist.'
  2. Scroll down until you see the section beginning with 'Tab'.
  3. Here you'll find 'Copy' and 'Delete' and you should make the following changes:
  4. on line: 'Copy' change 'DeleteRight' to 'EndOfText'
  5. on line: 'Delete' change 'DeleteLeft' to 'DeleteRight'
  6. Save, quit StrongED and reload.


ZAP is slightly easier, as you can find the Keymap file from the iconbar menu: Options->Edit config->Keys.

  1. This opens Choices:!ZapUser.Config.Keys.UK where you'll need to make the following changes:
  2. on line: "DELETE &07F' change 'DELETE' to 'DELETENEXT'
  3. on line: 'sDELETE &01F' change 'DELETE "NEXT"' to 'DELWORDEND'
  4. on line: 'Copy &18B' change 'DELETENEXT' to 'CRIGHT'
  5. Save, then click on Options->Create & reload keys
Personal tools