trichview.com

trichview.support




Re: Possible bug in RichViewActions (TrvActionIndentDec)


Return to index


Author

Message

Jaap Beetstra

Posted: 06/14/2002 18:56:45


My apoligies, I understand now. Source of my confusion was that in

TrvActionIndentDec the minimum allowed value for the LeftIndent is 0, and

for FirstIndent is -LeftIndent-LeftMargin. I had expected it to

be -LeftIndent, but either way is fine. Also the parameter UserData is named

ParaStyleNo in the file I mentioned, another source of confusion.


Anyway, my mistake, sorry about that.


Keep up the good work


"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

> For TrvActionIndentDec, leftmargin is passed as Command parameter.

> This parameter corresponds to UserData parameter of

> RichView.ApplyStyleConversion/OnStyleConversion, i.e. it is not used by

> RichView itself, it is used by caller application (by the action, in this

> case)

>

> > In TrvActionIndentDec, the 'command' parameter is used to calculate the

> > minimum first indent value (RichViewActions v1.10, line 4589-90). This

> > parameter seems to refer to the old paragraph style number however (as

set

> > in RVERVData v1.6.34, line 3120). Maybe you meant it to refer to the

left

> > margin? Or am I missing something?

> >

> > Thanks,

> > Jaap Beetstra

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter