WSciTE 1.67 Basic Macro Hack

Description

This is a Win32 version of Neil Hodgson's WSciTE Version 1.67 with basic macro recording and playing functionality hacked on. Since it breaks the architecture of SciTE (Filerx is pre-empted), please note that this is not an official version. Scintilla and SciTE already have a lot of macro functionality built-in which can be accessed via extensions, but I wanted just a few very basic shortcuts and buttons on the existing SciTE editor.

Added: Recording and playing a single macro. Most basic editing commands are recordable and replayable. Macro menu and shortcut keys works. Macro buttons on the tool bar for recording and playing (need to be enabled via the editor properties.) The "use.monospaced" property has also been added back in. However, if a Lua function is called, the resulting operations is recorded, not the initial call, so if you want to use Lua functions in a macro sequence, it will probably not work. I guess this is a bug.

Removed: No macro list selection options. DirectorExtension should still work, because the MultipleExtension is used. LuaExtension works. PDF line wrapping that was added in the 1.59 customized version was removed; please use my Lua Exporter scripts (SciTELuaExporters) instead.

Does not have: No macro listing and selection. No macro editing once it is recorded. For short and simple one-off sequences, you won't really miss anything. For complex or frequently-used sequences, you're better off writing a Lua script.

The downloadable binary is a drop-in equivalent of SciTE.exe. To run it, you just need to put it in a directory with the DLLs and property files. If you've not installed WSciTE before, you will need to install the normal WSciTE binaries first. The source archive consists of files added or changed. Here are some development notes on this quick hack: wscite_basic_macros.html (updated for WSciTE 1.63.)

Changes

Download

Mingw-compiled Win32 binary: SciTE167-macro.zip (230KB)
Archive of changed source files: (Too lazy to package it, send me an e-mail if you want the files.)

Mingw-compiled Win32 binary: SciTE163-macro.zip (216KB)
Archive of changed source files: wscite163-macro.tar.gz (93KB)

Mingw-compiled Win32 binary: SciTE161-macro.zip (213KB)
Archive of changed source files: wscite161-macro.tar.gz (92KB)

Mingw-compiled Win32 binary: SciTE159-macro.zip (140KB)
Archive of changed source files: wscite159-macro.tar.gz (65KB)

Mingw-compiled Win32 binary: SciTE155-macro.zip (138KB)
Archive of changed source files: wscite155-macro.tar.gz (74KB)


Copyright © 2003-2006 Man Kein Hong all rights reserved. Last Revised: 2006-01-14.
Home:
http://www.geocities.com/keinhong/ | Canonical URL: http://www.geocities.com/keinhong/scite/
Hosted by www.Geocities.ws

1