IDC::openDocumentFromText
Aleix Pol
aleixpol at kde.org
Thu Jul 16 20:10:40 UTC 2009
On Thu, Jul 16, 2009 at 7:04 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 16.07.09 17:12:44, Aleix Pol wrote:
> > Hi,
> > Since we have fixed the issue that we couldn't have documents without
> url,
> > why don't we make IDC::openDocumentFromText aware of it?
> > It would be nice that when ctrl+s these documents we could save them
> > anywere.
>
> Patch attached. Currently the only user is the vcs library for opening a
> diff file with kate, but thats actually temporary until we can/do use
> kompare for that. So maybe the method should just go completely and I'll
> just copy its current content into the vcs library.
>
> Unless someone has a use-case where its really needed to create a new
> empty document and then put some text into it?
>
> Andreas
>
> --
> Good day to let down old friends who need help.
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
I saw it while reading through the vcs code, so i don't really know another
use case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090716/be6ae3b0/attachment.html>
More information about the KDevelop-devel
mailing list