[Bug 188287] New: Make text selectable in diff view.

View: New views
6 Messages — Rating Filter:   Alert me  

[Bug 188287] New: Make text selectable in diff view.

by Bugzilla from shaun.reich@kdemail.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287

           Summary: Make text selectable in diff view.
           Product: kompare
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kompare-devel@...
        ReportedBy: shaun.reich@...


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Could you please make the text selectable within Kompare?

There are many times where I think "oops, the original code was better", but
try to copy it, and can't.... I would just like to be able to drag the mouse to
select those lines and bam, be able to fix my mistake, or only take bits and
piece of the original code.

I hope you know what I mean.

Yes, there is the "text view", but this is not the same... It contains pluses
and excess junk that I don't want to paste, and I would just rather, naturally,
select the text within the view. Hopefully this is possible...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 188287] Make text selectable in diff view.

by Bugzilla from get.sonic@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287


Syam <get.sonic@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |get.sonic@...




--- Comment #1 from Syam <get sonic gmail com>  2009-09-26 10:39:57 ---
I strongly second that. My use case is when documenting or reporting a change
that I made in the code. I need to paste sections of code in the document. It'd
be great if I could select and copy text from Kompare itself.

It's been 6 months since this wish was originally posted, and no response yet.
I hope this isn't too difficult to implement (without changing a lot of code).
The user can click on a 'block' of changed text. So, at least a 'copy text
block' shouldn't be too difficult to implement.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 188287] Make text selectable in diff view.

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287





--- Comment #2 from Kevin Kofler <kevin kofler chello at>  2009-09-26 13:56:04 ---
It's quite hard to implement. The Kompare text view is derived from a list
widget (K3ListView to be precise). Allowing you to select and even edit (though
that part also requires handling the changes, selecting is easier) line by line
would be possible using the list widget's item renaming facilities (but might
also be nontrivial due to the custom drawing code), but selecting across lines
is not supported by the list widget and would have to somehow be coded on top
of it.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 188287] Make text selectable in diff view.

by Bugzilla from get.sonic@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287





--- Comment #3 from Syam <get sonic gmail com>  2009-09-26 14:04:35 ---
(In reply to comment #2)
> It's quite hard to implement. The Kompare text view is derived from a list
> widget (K3ListView to be precise).

I guessed that much.

I guess it would be easy to provide a 'copy' function to copy all text in one
diff block (that'd be a few adjacent lines/items of the list widget). As of
now, we are able to click on a diff block so that that particular change is
highlighted. It'd be nice if we had right-click > 'copy text' option for such a
diff block.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 188287] Make text selectable in diff view.

by Bugzilla from get.sonic@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287





--- Comment #4 from Syam <get sonic gmail com>  2009-09-26 14:08:23 ---
PS: My idea of a perfect diff tool is WinMerge. Too bad it's not available on
Linux.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel

[Bug 188287] Make text selectable in diff view.

by Bugzilla from kevin.kofler@chello.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=188287


Kevin Kofler <kevin.kofler@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benderamp@...




--- Comment #5 from Kevin Kofler <kevin kofler chello at>  2009-10-02 17:04:18 ---
*** Bug 209216 has been marked as a duplicate of this bug. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
Kompare-devel@...
https://mail.kde.org/mailman/listinfo/kompare-devel