Bug 79535 - Allow editing of source and destination files.
Summary: Allow editing of source and destination files.
Status: ASSIGNED
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 3.2.1
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jeff Snyder
URL:
Keywords:
: 278018 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-13 07:04 UTC by John Bell
Modified: 2018-01-18 22:36 UTC (History)
12 users (show)

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 John Bell 2004-04-13 07:04:25 UTC
Version:           3.2.1 (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
OS:          Linux

Kompare should allow editing the text of the files shown.  

It seems like it should be simple to use an editing part such as QTextEdit, kate, kedit, whatever, to allow the user to edit both files while at the same time having the power of applying lines and groups fo lines from one file to another.
Comment 1 Otto Bruggeman 2004-04-13 17:46:51 UTC
If this was simple i would have implemented it :) This is a long standing wishlist item that is in the TODO file in the Kompare source directory. I'll add support later on when the design allows it to be easily added but it needs a bit of refactoring for that to happen.
Comment 2 Jeff Snyder 2004-11-21 23:01:38 UTC
I've got a good idea of how i'd like to implement this.. but unless some miracle of free time hits me soon, it won't happen before 4.0.
Comment 3 Vivien Mallet 2005-03-20 19:11:15 UTC
It would also be interesting to be able to edit a given difference, not the whole file.
Comment 4 Per (phobie) 2005-06-05 21:19:23 UTC
For now, until this feature is implemented, a "reaload files" option would be very helpfull.
So I can edit the files with an external editor and compare them again without restarting kompare or using the "open file" dialog.
Comment 5 Viesturs Zarins 2007-12-05 15:04:38 UTC
Is there any progress on this?
Comment 6 go32v2 2008-12-30 12:51:36 UTC
It's almost 2009 and this feature request still stands. I wonder how tricky it would be to implement it. Doing so, by the way, would supersede bug #130061.
Comment 7 Viesturs Zarins 2009-05-13 10:43:51 UTC
Is there any work being done on this?

If no, I'm willing to spend some time to implement it.
Comment 8 Paulo Fidalgo 2011-07-18 15:18:40 UTC
*** Bug 278018 has been marked as a duplicate of this bug. ***
Comment 9 Kai 2011-09-27 16:09:21 UTC
voted for this.
it would be nice to have such features as select, copy (https://bugs.kde.org/show_bug.cgi?id=102142), and edit text directly in kompare.
Comment 10 Tsu Jan 2013-03-16 15:13:35 UTC
Wow! Since 2004? This is the only reason I have to use Meld in KDE: sometimes I need to edit texts side by side; otherwise Kompare would be nice.
Comment 11 Woodsman 2013-03-16 21:34:04 UTC
I would very much like to see inline editing. When I have to use Windows in job contracts, I always carry WinMerge with me on my USB flash drive. WinMerge has inline editing and every time I use Kompare I sorely miss that one feature.

The lack of inline editing is frustrating when Kompare doesn't distinguish changes in a three line chunk and I want to transfer only the middle line. :)
Comment 12 John Salatas 2017-04-22 10:32:38 UTC
FYI: I have just implemented an application based on and inspired by Kompare which uses KTextEdit components for viewing source/destination files and thus allowing editing (the destination file only).

Source code is available at https://github.com/jsalatas/kdiff if you want to give it a try. 

Would love to hear your feedback. 

Thanks!
Comment 13 Christoph Feck 2017-04-27 21:58:55 UTC
Feedback #1: This looks great, I love syntax highlighting!

Feedback #2: Discuss your improvements with Kompare maintainers, and suggest changes to get those improvements upstream.