Re: [lazarus] Sniffing Synedit Tokens

2006-03-11 Thread L505
> Actually, the parameter coud/should be 'out' (but I guess FPC doesn't > even implement the COM-ish things ;-) > > 'out' is implemented and used. > > Michael. I've used it before :) _ To unsubscribe: mail [EMAIL PROTECTED]

Re: [lazarus] Sniffing Synedit Tokens

2006-03-11 Thread Michael Van Canneyt
On Sat, 11 Mar 2006, Flávio Etrusco wrote: > On 3/11/06, L505 <[EMAIL PROTECTED]> wrote: > > 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

Re: [lazarus] Sniffing Synedit Tokens

2006-03-11 Thread Flávio Etrusco
On 3/11/06, L505 <[EMAIL PROTECTED]> wrote: > 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

[lazarus] Sniffing Synedit Tokens

2006-03-11 Thread L505
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 stor