Jean-Marc Lasgouttes wrote:
[EMAIL PROTECTED] writes:

Author: younes
Date: Wed Oct 24 10:22:26 2007
New Revision: 21168

URL: http://www.lyx.org/trac/changeset/21168
Log:
Introducing Paragraph::find().

Looks like you have a strategy of moving as many free-standing
functions as possible to Paragraph methods. What is the gain?

Speed, encapsulation...

I
thought our classes where considered too fat already?

The problem is not really the fatness of classes but the fatness of methods and helper functions. Note that by moving some helpers methods to the class we will most certainly get rid of most of the interfaces which will then be useless. In this case, I am thinking of getChar(), isInset(), isDeleted() etc. The end result will be a slimmer class, not a fatter one :-)

Abdel.

Reply via email to