From: gmac@symantec.com (Greg Macdonald)
--IMA.Boundary.311634678
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Description: cc:Mail note part
Ah. I see what's happening. Since PasteFromWinClip() does not replace
highlighted text, I bind Ctrl-V to my own procedure:
proc gmWinPaste()
if isBlockInCurrFile()
DelBlock()
endif
PasteFromWinClip()
end
It appears that my routine fails if I am not actually in an edit window.
Actually, it looks like no user-defined procedures can be invoked in a prompt
box.
Greg
______________________________ Reply Separator
_________________________________
Subject: RE: Re[2]: Next release ?
Author: Sammy Mitchell at Internet
Date: 10/9/97 4:01 PM
Greg Macdonald[SMTP:gmac@symantec.com] wrote:
> Paste from the Window's clipboard into prompts (particularly file
> open, search, and compressed view) would be much appreciated.
Well then, you are in luck! PasteFromWinClip() is a 'native' prompt command
in
versions 2.6 and above - see the help topics "Prompt Box" and "Summary of
New/Enhanced Features in the SemWare Editor Professional/32 v2.6" for
additional
info.
If you are using the 2.6/2.8 tse.ui, the key to us is .
It can also be made to work in v2.5, by using the technique Chris Antos
described in his post.
Hope this helps!
--
Sammy Mitchell, SemWare Corp., www.semware.com
Want to make better use of TSE? Join the TSEPro mailing list!
--IMA.Boundary.311634678
Content-Type: text/plain; charset=US-ASCII; name="RFC822 message headers"
Content-Transfer-Encoding: 7bit
Content-Description: cc:Mail note part
Content-Disposition: inline; filename="RFC822 message headers"
Received: from Mailer.symantec.com (198.6.49.5) by smtp-ima.symantec.com with
SMTP
(IMA Internet Exchange 2.11 Enterprise) id 0013F98B; Thu, 9 Oct 97 13:03:54
-0700
Received: from 206.65.52.161 (www.semware.com [206.65.52.161]) by
Mailer.symantec.com (8.8.4/8.7.6) with SMTP id NAA19728 for
;
Thu, 9 Oct 1997 13:05:04 -0700 (PDT)
Received: from sammy.semware.com (unverified [206.65.52.171]) by semware.com
(EMWAC SMTPRS 0.83) with SMTP id ;
Thu, 09 Oct 1997 16:01:43 -0400
Received: by sammy.semware.com with Microsoft Mail
id ; Thu, 9 Oct 1997 16:01:38 -0400
Message-ID:
From: Sammy Mitchell
To: "tsepro@semware.com" ,
"'Greg Macdonald'"
Subject: RE: Re[2]: Next release ?
Date: Thu, 9 Oct 1997 16:01:37 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
--IMA.Boundary.311634678--
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|