[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting selected text
- To: info-mcl
- Subject: Re: getting selected text
- From: mcdougal@cs.uchicago.edu (Tom McDougal)
- Date: 20 Jan 93 19:59:44 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: Univ. of Chicago Computer Science
- References: <199301111538.AA29671@world.std.com>
- Sender: news@uchinews.uchicago.edu (News System)
In article <199301111538.AA29671@world.std.com> Jeffrey B Kane,
jbk@world.std.com writes:
> What is the best approach to reading selected text from a
> Fred window? Since it's not a stream subject to random
> i/o, I'm not sure how to get the actual characters after
> I determine the selection range.
Buffer-substring will return the selected characters as a string,
which you can read from using with-input-from-string.
I think that's probably the way to do it. Good luck.
-----------------------------------------------------------
Tom McDougal mcdougal@cs.uchicago.edu +1 (312) 702-9923