Hi when a Var parameter is to be passed, holding a TPersistent object like below
(tmpattr)...

  syn1.GetHighlighterAttriAtRowCol(syn1.CaretXY, tmpstring, tmpattr);

..is it wrong to create tmpattr first? Is it just a reference to an existing
TSynHighlighterAttributes

When I create and free a storage 'tmpattr' I get access violation and this is
why I'm wondering.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to