Re: Cut to clipboard

2013-08-11 Thread John Harrison
In article 20ed3b7953.harr...@blueyonder.co.uk,
   Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 ... it *is* possible already to select a section, cut it to the
 clipboard, and paste it elsewhere.  It would be nice (and safer) if
 overtyping had the same effect.   The main argument I can see against it
 is that people might conceivably want to copy text to the clipboard,
 delete a block of text by overtyping with a backspace, and then paste
 the former clipboard contents;  

I would strongly support the argument against it.  

In many applications (and most of the ones I use) deletion, whether by over
typing or using the Delete key, is separate from the clipboard.

The only thing I use where deleted or over typed text goes to the clipboard
is Pluto, and it is extremely annoying.  Even though I know about it, I
still trip up from time to time.

Regards

-- 
John Harrison
Website http://jaharrison.me.uk



Re: Cut to clipboard

2013-08-11 Thread Tim Hill
In article 5379794045j...@jaharrison.me.uk, John Harrison
j...@jaharrison.me.uk wrote:
 In article 20ed3b7953.harr...@blueyonder.co.uk, Harriet Bazley
li...@orange.wingsandbeaks.org.uk wrote:

  ... it *is* possible already to select a section, cut it to the
  clipboard, and paste it elsewhere.  It would be nice (and safer) if
  overtyping had the same effect.   The main argument I can see against
  it is that people might conceivably want to copy text to the
  clipboard, delete a block of text by overtyping with a backspace, and
  then paste the former clipboard contents;  

 I would strongly support the argument against it.  

Then perhaps it should be configurable, where it exists.

[Snip]




Re: Cut to clipboard

2013-08-11 Thread Steve Fryatt
On 11 Aug, John Harrison wrote in message
5379794045j...@jaharrison.me.uk:

 In article 20ed3b7953.harr...@blueyonder.co.uk,
Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:
 
  ... it *is* possible already to select a section, cut it to the
  clipboard, and paste it elsewhere.  It would be nice (and safer) if
  overtyping had the same effect.   The main argument I can see against it
  is that people might conceivably want to copy text to the clipboard,
  delete a block of text by overtyping with a backspace, and then paste
  the former clipboard contents;
 
 I would strongly support the argument against it.
 
 In many applications (and most of the ones I use) deletion, whether by
 over typing or using the Delete key, is separate from the clipboard.

If the user types when there is a selection, the selected text is deleted
says the RISC OS Style Guide, so the current behaviour seems to be correct.
Obviously the other platforms that NetSurf runs on might have other views.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: Cut to clipboard

2013-08-11 Thread Michael Drake
In article 20ed3b7953.harr...@blueyonder.co.uk,
   Harriet Bazley li...@orange.wingsandbeaks.org.uk wrote:

 would it be possible to have areas deleted by overtyping automatically
 cut to the clipboard, a la Impression?  Or at least have a do you
 really want to do this? warning, a la Impression II?

No, the clipboard should only be modified by the operations that
specifically affect it; cut to clipboard, and copy to clipboard.

Editing blunders should be handled by undo/redo.  NetSurf's textarea
doesn't currently support this.

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/



Re: Cut to clipboard

2013-08-11 Thread lists
In article mpro.mrd6vs053i82o01uu.li...@stevefryatt.org.uk,
   Steve Fryatt li...@stevefryatt.org.uk wrote:

 If the user types when there is a selection, the selected text is
 deleted says the RISC OS Style Guide, so the current behaviour seems to
 be correct.

One feature that used to cause me considerable annoyance and anguish.

I used to do a lot of work in Impression and accidentally catching CTRL-A
when intending SHIFT-A and seeing all my work disappear as I typed the
next letter, with no undo.

Not really a desirable behaviour.

-- 
*Plain Text* email -- it's an accessibility issue
()  no proprietary attachments; no html mail
/\  ascii ribbon campaign - www.asciiribbon.org



Re: Cut to clipboard

2013-08-11 Thread John Harrison

 I used to do a lot of work in Impression and accidentally catching CTRL-A
 when intending SHIFT-A and seeing all my work disappear as I typed the
 next letter, with no undo.

 Not really a desirable behaviour.

But the answer to having no undo against accidental deletion is to add
undo, or have a warning on big deletions (like Pluto does when you delete
more than 3 messages at once), not to mix up deletion with the clipboard
mechanism.  After all if you do cut in one place and are about to do paste
in another when you wipe out the clipboard contents by putting deleted
material in there, then you have still got a problem.

The only possible exception I could think of is if there is a multi-level
clipboard, so you can add the new stuff and still preserve what was there
before.  But we don't have that on RISC OS AFIA.

-- 
John Harrison
Website http://jaharrison.me.uk



Re: Cut to clipboard

2013-08-11 Thread lists
In article 537988a101j...@jaharrison.me.uk,
   John Harrison j...@jaharrison.me.uk wrote:
 But the answer to having no undo against accidental deletion is to add
 undo, or have a warning on big deletions (like Pluto does when you
 delete more than 3 messages at once), not to mix up deletion with the
 clipboard mechanism.  After all if you do cut in one place and are about
 to do paste in another when you wipe out the clipboard contents by
 putting deleted material in there, then you have still got a problem.

Agreed. In the case of Impression maybe we'll see an Undo one day,
though I must confess I rarely use it these days. Any work with text, and
there isn't a lot of that now, I do with Techwriter and I have Ovation Pro
available if needed. (Although I'd have to learn how to use it first!)

-- 
*Plain Text* email -- it's an accessibility issue
()  no proprietary attachments; no html mail
/\  ascii ribbon campaign - www.asciiribbon.org



Re: Cut to clipboard

2013-08-11 Thread Martin Bazley
The following bytes were arranged on 11 Aug 2013 by Richard Porter :

 On 10 Aug 2013 Harriet Bazley  wrote:

  Currently it seems all too easy to jog the mouse and accidentally select
  a block above the cursor, which results in everything you have just
  written being wiped out unintentionally as you continue to type - I'm
  not clear if this is a bug or a side-effect of my mousing/typing style,
  but it happens quite often.   It used to cause a crash and the loss of
  all data, but now only causes the loss of a section of the text.   :-)

 F8 undoes the last action, but I guess there's a limit to the number
 of times you can go back.

Er, F8 has always meant 'View source' in all versions of NetSurf I can
remember...

-- 
  __^__   Did you know that polar bears stay white all year round? ...The
 / _   _ \  white colour makes them less visible to the seals and penguins
( ( |_| ) ) they hunt.  - Nelson Thornes AQA-endorsed GCSE science textbook
 \_   _/  === Martin Bazley ==



Re: Cut to clipboard

2013-08-11 Thread John Harrison

  F8 undoes the last action, but I guess there's a limit to the number
  of times you can go back.

 Er, F8 has always meant 'View source' in all versions of NetSurf I can
 remember...

So it does, but I have never tried to Undo in NetSurf, since it isn't an
editor.  (Somehow typing in a box on a web page feels more like interacting
with the website than using an editor.)  

Anyway, since F8 is the RISC OS standard Undo I would never have thought of
using it for anything else.  If I want to view source I just use F3 and
drop it onto StrongEd.

-- 
John Harrison
Website http://jaharrison.me.uk