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? BTW I'm about to commit a huge KTextEditor documentation fix, makes it usable now :) Cheers, Hamish. _______________________________________________ KWrite-Devel mailing list KWrite-Devel@mail.kde.org http://mail.kde.org/mailman/listinfo/kwrite-devel