Comparing Strings

Otto Bruggeman bruggie at gmail.com
Sat Jul 18 14:11:40 UTC 2009


Yeah it should be possible, internally Kompare uses QStrings to store the
entire file contents, so just create 2 strings and call the compare
function. This should work.

Cheers,
Otto

On Sat, Jul 18, 2009 at 2:15 AM, Killerfox <killerfox512 at gmail.com> wrote:

> I noticed that the only way to compare specified files(without using a
> diff) is to provide the URL for files to compare. I was wondering if there
> was a way for two strings to be compared? This would significantly reduce
> the work of having to create temporary files when we want to compare
> contents of a file that can be edited, and then displayed again.
>
>
> I just want to know if it is possible. If so I can even provide a patch for
> this functionality.
>
> _______________________________________________
> Kompare-devel mailing list
> Kompare-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kompare-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kompare-devel/attachments/20090718/c590f9a5/attachment.htm 


More information about the Kompare-devel mailing list