bugGNU nano - Bugs: bug #54950, [Request] an undo should remove...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #54950: [Request] an undo should remove text pasted from the system clipboard as a whole

Submitter:  -X- <astier>
Submitted:  Sun 04 Nov 2018 11:08:54 AM UTC
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

( Jump to the original submission )

Sun 09 Feb 2020 10:21:51 AM UTC, comment #6: 

Released in 4.8.

Benno Schulenberg <bens>
Project Administrator
Sun 19 Jan 2020 01:54:13 PM UTC, comment #5: 

Fixed in git, commit 0e6d693d.

Benno Schulenberg <bens>
Project Administrator
Thu 16 Jan 2020 12:28:17 PM UTC, comment #4: 

Attached patch implements the requested feature.  (A subsequent patch will remove the now superfluous auto-indent suppression and such.)

(file #48237)

Benno Schulenberg <bens>
Project Administrator
Fri 03 Jan 2020 03:00:11 PM UTC, comment #3: 

Unduplicating, as bug #40060 is only about temporarily switching off auto-indent and automatic hard-wrapping while pasting text from the system clipboard, which turns out to be relatively easy.  Your request is about undoing, and looks quite a bit harder to implement.

Benno Schulenberg <bens>
Project Administrator
Sun 04 Nov 2018 11:45:53 AM UTC, comment #2: 

OK. Then close it if you wish so.

-X- <astier>
Sun 04 Nov 2018 11:24:50 AM UTC, comment #1: 

Yes, it would be good when nano implemented "Bracketed Paste Mode".  There is a request for that: bug #40060.  It is not easy to make.

Benno Schulenberg <bens>
Project Administrator
Sun 04 Nov 2018 11:08:54 AM UTC, original submission:  

v2.9.3

# Problem
When I insert text (Ctrl+Shift+V or right-click+paste) which I copied from outside of nano and then execute undo then only a single line of the inserted text gets removed. I have to repeatedly execute undo until the whole text is removed.

# Request
When text is inserted from the system-clipboard and the undo-command is executed then the whole text-block which was inserted should be removed at once instead of line by line.

-X- <astier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by brand
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by astier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    Follow 13 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-09 bens Open/ClosedOpen Closed
    2020-01-19 bens StatusIn Progress Fixed
    2020-01-16 bens Attached File- Added 0001-input-read-in-an-external-paste-in-one-go-to-allow-u.patch, #48237
    2020-01-16 bens StatusNone In Progress
        Assigned toNone bens
    2020-01-03 brand Carbon-Copy- Added brand
    2020-01-03 bens Severity3 - Normal 1 - Wish
        StatusDuplicate None
        Open/ClosedClosed Open
        Summaryan undo removes text line-by-line when text was pasted from the system clipboard [Request] an undo should remove text pasted from the system clipboard as a whole
    2019-03-10 bens Open/ClosedOpen Closed
    2018-11-04 bens StatusNone Duplicate
        SummaryUndo removes text line by line when text is inserted from the system-clipboard an undo removes text line-by-line when text was pasted from the system clipboard

    Back to the top


    Powered by Savane 3.9