Re: How does kate / kwrite store text internally
Dominik Haumann <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <CALi_srC_CTbcLC4LSM6O0WtyYe0H=1nVhp-Q=LbM1jSQUsTF8w@mail.gmail.com> |
You will find all answers here: https://invent.kde.org/frameworks/ktexteditor/-/tree/master/src/buffer Best regards Dominik <[email protected]> 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. >