[softwarelist] Re: Pasting from global clipboard problem (RO)
- From: David Pilling <flist@xxxxxxxxxxxxxxxxxxx>
- To: davidpilling@xxxxxxxxxxxxx
- Date: Wed, 29 Aug 2007 11:24:55 +0100
In message <995bb9194f.ewen@xxxxxxxxxxxxxxxxxxxx>, Ewen Pring
<Ewen_Pring@xxxxxxxxxxxxx> writes
I've a number of documents/templates that have been around for years,
and which exhibit problems with pasting text from the global (but not
local) clipboard. Pasted text can appear in the wrong place (not at
the cursor), the wrong text frame, or not at all.
In RISC OS, at a programming level, the global clipboard works like
dragging and dropping a file into a document.
Now I may have taken the analogy a bit far when I implemented it, I used
the same code that I use when someone drops a file into a frame. The
snag is perhaps in synthesising the "drop position".
You're expecting to paste to the caret, OP looks where the caret is and
then pretends you've dropped a file there. Normally this works, but
there may be cases where it does not.
--
David Pilling
email: david@xxxxxxxxxxxxxxxxxxx
web: http://www.davidpilling.net
post: David Pilling P.O. Box 22 Thornton Cleveleys Blackpool. FY5 1LR UK
fax: +44(0)870-0520-941
- References:
- [softwarelist] Pasting from global clipboard problem (RO)
- From: Ewen Pring
Other related posts:
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
- » [softwarelist] Re: Pasting from global clipboard problem (RO)
I've a number of documents/templates that have been around for years, and which exhibit problems with pasting text from the global (but not local) clipboard. Pasted text can appear in the wrong place (not at the cursor), the wrong text frame, or not at all.
- [softwarelist] Pasting from global clipboard problem (RO)
- From: Ewen Pring