[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: File not read completely when opening?
From: Hamish Rodda <meddie () yoyo ! its ! monash ! edu ! au>
Date: 2003-02-07 11:14:34
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic