Hi all,

I have been trying to write a usable hex editor as a Lua "application" for SciTE, and I think I have solved most of the issues, within the limits of the Lua extension interface. Just uploaded the hex editor to LuaForge. So the following is briefly, information on some stuff I have posted recently on http://lua-users.org/wiki/SciteScripts, as demonstrations of what is possible with a Lua "application" model on SciTE.

(1) http://lua-users.org/wiki/SciteTicTacToe

Updated. Sample self-contained Lua "application". Well-behaved with multiple buffers and multiple instances running. extman optional. Interaction using key presses and double-clicks. Display update using complete buffer refreshes.

(2) http://lua-users.org/wiki/SciteCalculator

A more ambitious "application", an attempt to build a usable tool. Implements a calculator that is a bit similar in operation to the Win32 calculator. Toggle for a help screen. More extensive use of "buttons", key presses, and buffer state.

(3) http://lua-users.org/wiki/SciteHexEdit

Completely rewritten, now a pretty usable hex editor, basic features complete. Has a console mode for command entry. Main display in colour as well. Navigation using keys and buttons, editing (hex and ASCII), loading, saving, searching (hex data, literals and Lua regexps). Changes are highlighted in yellow. Customizable display styles. Byte value colour-coding.

Of course, SciTE is not Emacs, but it is quite possible to write some useful tools. I plan on using the calculator and the hex editor in my usual setup, so any feedback on the two is welcome.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to