Andre Poenitz wrote:
On Mon, Dec 03, 2007 at 02:06:09PM +0100, Abdelrazak Younes wrote:
Jean-Marc Lasgouttes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Since it operated on a buffer and requires a view, I thing that
BufferView is a good place.
If you want to do that then I'll move BufferView to the frontend and
merge it with WorkArea. That's not what you want, is it?
If you man frontends/qt4, I will of course disagree. If you mean
src/frontends/, it is OK with me.
Actually I was playing with the idea to move everything metrics related to a new directory (not frontend).

How many files are "metrics related"?

Not only metrics, more everything "view related". Let's see:

Bidi: 2
Box: 2
BufferView: 2
CoordCache: 2
Cursor: 2
Dimension: 2
DispatchResult.h: 1
update_flags.h: 1
MetricsInfo: 2
ParagraphMetrics: 2
Row: 2
rowpainter: 2
TextMetrics: 2

That makes 24 files. The advantage of doing that would be to isolate the bits that are absolutely necessary for a non gui core library.


The time for a null-build is more or less proportional to the number of
directories...

Wasn't your cleanup in this area meant to avoid this slowdown? You could perhaps merge all Makfiles into one (the one in the top src/ directory). A bit like what is done with scons_manifest.

Abdel.

Reply via email to