How does kate / kwrite store text internally

Dominik Haumann dhaumann at kde.org
Thu May 19 13:37:46 BST 2022


You will find all answers here:
https://invent.kde.org/frameworks/ktexteditor/-/tree/master/src/buffer

Best regards
Dominik

<rhkramer at gmail.com> schrieb am Do., 19. Mai 2022, 14:34:

> Thanks!
>
> Out of further curiosity, is it a fixed or variable number of lines per
> block?
>
> Nothing new below this line.
>
> On Tuesday, May 17, 2022 10:55:54 AM Waqar Ahmed wrote:
> > Kate doesn't use any fancy data structure. Internally its an array of
> > blocks where each block contains a certain number of lines. You can
> > take a look at the code inside src/buffer directory of KTextEditor to
> > see how it works internally.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20220519/454d2cd4/attachment.htm>


More information about the KWrite-Devel mailing list