Swap - An Addition to Cut/Copy/Paste for Text Handling

Christoph Cullmann christoph at cullmann.io
Tue Dec 15 14:23:46 GMT 2020


On 2020-12-04 20:12, Jason Christie wrote:
> Hello, all!
> 
> I *really* feel I'm intruding here, so I will try and be brief and
> succinct.
> 
> When you have text buffered/in the clipboard, and need to replace
> other text while at the same time keeping it as well, there's no easy
> and fast way to do this.
> 
> Some of us do this many times a day, whether as programmers, data
> entry people, accountants, authors, spammers, etc.
> 
> It seems to me to be relatively easy to swap the highlighted text for
> the buffered text. It would probably be harder to find a meaningful
> available keypress.
> 
> Anyway, I thought I would at least put it out there for the people
> most capable of doing it. Ideally, we would see this addition catch on
> worldwide, with KDE being the innovators in this area.
> 
> I'm probably capable of implementing it myself, were I directed to the
> right areas, but I am far from an expert as far as the underlying
> structure of things goes. But perhaps this post will spark a
> discussion.

Hi,

I think this is very nice idea and I don't know why we didn't have this 
earlier.

Here some patch for KTextEditor:

https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/48

Greetings
Christoph

> 
> Thanks!
> Jason

-- 
Ignorance is bliss...
https://cullmann.io | https://kate-editor.org




More information about the kde-core-devel mailing list