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

Re: xy windows



** Reply to note from xywrite@xxxxxxxx Thu, 10 Dec 1998 07:59:05 -0500

> One of xy's few inconveniences, for me, has been the necessity, when
> copying and pasting chunks of text from one xy window to another, to be in
> adjacent windows (i.e., you can paste into a new window only if you've just
> come from the window you're bringing text from). For whatever
> reason--looking through the intervening directory, or whatever--I very
> often end up at my destination window unable to dump the text I'd copied. I
> have to then Ctr+F10 and get myself back in order.

> I'm working in xy3+. Does xy4 have the same limitation?

Gee, funny you should mention that: I have a program that does that from way
back, it's sitting on one of my keys, I use it as a replacement for
standard func CP (I don't have a CP anymore), and I'd forgotten entirely that that
isn't the way CP normally works! I think I wrote it under Xy3+, but I may have
adapted it for Xy4 so it may not be backwardly compatible, I dunno. Anyway, I'll
put it in XYWWWEB.U2 v14, which will be posted probably tomorrow evening. It's
called ... CDFT, "Copy DeFined Text from ANY Open Window". It's a replacement for
straight func CP. The way it works is simple. If there's DeFined text in the
current window, OR if there's DeFined text in the Adjacent Screen, it copies it and
exits. (This is standard CP functionality.) But if either of those operations
fails, it looks in an instant through all your open windows. If it finds ONE other
window which has DeFined text in it, it copies it to the current cursor location.
If it finds MORE than one window with DeFined text, or NO other window with defined
text, it tells you so and does nothing. Sound like a bargain?


-----------
Robert Holmgren
holmgren@xxxxxxxx
-----------