lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, 26 Apr 2006, Gavin Wraith wrote:

I have no experience of development environments under
Unix or Windows, but I thought this might be of interest.
The StrongED editor under RISC OS has an "apply" icon on its
toolbar with the property that SHIFT-dragging the icon of a
file containing a script onto it will apply the script to
the contents of the window. Any language can be used for scripting,
Lua in particular. arg[1] holds the name of a pseudofile containing the
text in the window, and the window's contents are replaced by the
standard output from the script.

Excuse my ignorance but are there editors out there on more
popular platforms with this facility?

This is a common feature, usually expressed as running an arbitrary command on the window (or selection) contents.

--
http://rrt.sc3d.org/ | free, a.  already paid for (Peyton Jones)