[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: File not read completely when opening?
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2003-02-07 18:16:06
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 07 February 2003 12:14, Hamish Rodda wrote:
> Andras Mantia wrote:
> > On 2003. February 06., Thursday 23:26, Christoph Cullmann wrote:
> >> > I've tried with two big files, and the results was similar: numLines
> >> > returns around 540 and the text() is around 35000 chars long.
> >> >
> >> > Is this a bug in the kate part?
> >>
> >> No, that is intensional, the part loads the data in chunks and not at
> >> once.
> >
> > In this case can I detect when the whole file was read?
>
> I added a signal to my local KTextEditor::Document class like so (because I
> wanted to fix the Gideon line number not set on loading bug:
>
>   signals:
>     /**
>      * Indicate when loading the requested file has finished.
>      * @since 3.2
>      */
>     void loadingFinished();
>
> Then I made Kate emit the signal... however I noticed that this isn't how
> signals are implemented in these interfaces.  Any reason why?
Because the most other signals are specific to an interface and the interfaces 
are no QObjects.

>
> BTW I'm about to commit a huge KTextEditor documentation fix, makes it
> usable now :)
;) Cool, never had time to write doxygen docu, thx a lot ;)

>
> Cheers,
> Hamish.
> _______________________________________________
> KWrite-Devel mailing list
> KWrite-Devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kwrite-devel

- -- 
Christoph Cullmann
KDE Developer, kde.org Co-Maintainer
http://www.babylon2k.de, cullmann@kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Q/fryPjDGePm9UIRAscnAJ95nCleAiIaFVcHCyuKW572GFoGzwCcDbat
dUzV/WMjecb5wv/dvx59hcE=
=Lt48
-----END PGP SIGNATURE-----

_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic