trichview.com

trichview.support




Re: Found a small bug


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/09/2004 21:03:24


Hi,


Thanks. Actually, this line should not be executed at all under normal

circumstances.

BaseStyleNo is not used by the component itself (but it is treated as a link

to another item in the same collection, so it's adjusted when styles are

deleted by DeleteUnusedStyles procedure).

It can be used to organize styles in tree-like hierarchy.


But currently I am working on "real" styles. They will be added (optionally)

over the existing text/para/list style collections and they will have their

own hierarchy.


>

> Hi,

>

> Looking at the source code to see what "BaseStyleNo" does, I found a small

> bug:

>

> In RVStyle.pas, line 2015, where it says:

>       Value.BaseStyleNo := -1 // fix up

> It should really be:

>       Value.NextStyleNo := -1 // fix up

>

> Regards,

>

> Eugenio Andres.

>





Powered by ABC Amber Outlook Express Converter