Bug 363492 - Middle mouse button paste feature request
Summary: Middle mouse button paste feature request
Status: RESOLVED FIXED
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 08:38 UTC by davidblunkett
Modified: 2019-01-08 16:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davidblunkett 2016-05-25 08:38:58 UTC
Could I make a feature request / suggestion for kate?

Simply that there is an option that paste by middle mouse button
acts the same way as cntrl-v in that it pastes where the current
cursor is and not there nearest point where the mouse is.
This is consistent with most mouse-ignorant shell editors (eg
vi, pine etc) and is a lot easier to use quickly and precisely
than the current, "warp pointer then paste" setup.

I realise this may be counter-intuitive to those solely used to
GUIs but it would be a great boon to the rest of us. As an
option it would please everyone.

Ta DB



Reproducible: Always

Steps to Reproduce:
Paste with middle mouse button - cursor moves to mouse position and then pastes

Actual Results:  
Paste with middle mouse button - cursor moves to mouse position and then pastes

Expected Results:  
Should be an option to paste without moving cursor as in cntrl-v
Comment 1 Christoph Cullmann 2019-01-08 16:46:30 UTC
Git commit e1b5f3177d428a70e43f2f1dc8458f8bc15e7791 by Christoph Cullmann, on behalf of loh tar.
Committed on 08/01/2019 at 16:47.
Pushed by cullmann into branch 'master'.

ViewConfig: Add option to paste at cursor position by mouse

Summary:
With this option is the cursor not moved to the mouse position prior to
paste by middle click

Test Plan: {F6527926}

Reviewers: #ktexteditor, dhaumann

Reviewed By: #ktexteditor, dhaumann

Subscribers: cullmann, dhaumann, ngraham, kwrite-devel, kde-frameworks-devel, #ktexteditor

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D17999

M  +19   -3    src/dialogs/editconfigwidget.ui
M  +3    -0    src/dialogs/katedialogs.cpp
M  +28   -0    src/utils/kateconfig.cpp
M  +5    -0    src/utils/kateconfig.h
M  +3    -1    src/view/kateviewinternal.cpp

https://commits.kde.org/ktexteditor/e1b5f3177d428a70e43f2f1dc8458f8bc15e7791