[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: About dyn. word warp
From: Joseph Wenninger <jowenn () jowenn ! at>
Date: 2002-03-29 18:48:52
[Download RAW message or body]
Hi
>
> class KateLineRange
> {
> public:
> int line; // who am I ?
> int startCol; // where does I start
> int endCol; // where does I end ;)
> bool wrapped; // be I wrapped
> int start; // in pixel for update
> int end; // same here
> };
>
> and therefor have allready the stuff in it we need ? or does the
> lineMapping goes wider than the current visible stuff ? if not, we should
> drop it and merge it with the lineRanges, as they are even faster then the
> hash as a plain and little array.
>
With proper range checks for the Ranges that should work, although I'm not
sure if it is really efficient when invalidating the virtualline-realline
mapping and the Ranges are allocated always for the complete document, which
causes some an unnecessary high memory consumption, but it's worth a try
Kind regards
Joseph Wenninger
_______________________________________________
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