>>>>> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes:

Jose>   If you find any suspicious C++ constrution, please tell me,
Jose> I'm still learning. And I really want to improve LyX code
Jose> quality (my code of course :-)

Let's see... The following enum would better be moved into the Buffer
class (in buffer.h):

+       enum {NO_ONE,FOOTNOTE_LIKE,MARGIN_LIKE,FIG_LIKE,TAB_LIKE} 
+last=NO_ONE,present=FOOTNOTE_LIKE;

Instead of using something like
+                       extra_par="";
you should do
+                       extra_par.clean();

Basically, "" should never appear in the code.

That's all I can think of.

JMarc

Reply via email to