[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: xywin: moving selected text to comma



 > Do any of you xywriters select text and move it to the command line, for
> instance to construct a search or change string? In NB 4.2 I can select
> text (including tabs and crlf markers) toggle to the command line, and
> press Grey +. That inserts the selected text on the command line. It
> doesn't work in XYW and I can't find the key combo that will. The secret
> would be appreciated.
> Allan,

Sure! You can write a simple XPL program that will do this:
First define your text, then run the program, which should read
like this:

≪SVnnn≫ BC ≪pvnnn≫

≪SVnnn≫ where nnn=any 3-digit number. What you're doing is
saving the define into an XPL save get, going to the command line
and entering the saved string to the command line. If you don't
know XPL, the way you create the program is this way.

ne sav.pgm
F5 sv nnn
F9
F5 pfunc BC
F5 pv nnn

You can then call up your keyboard file and put this on your grey
+ key.

Hope this helps.

Regards,

--Leslie--