[Lazarus] SynEdit free my TSynCompletion when freed
parmaja at gmail.com
Sat Mar 3 19:28:46 CET 2012
On Sat, Mar 3, 2012 Martin <lazarus at mfriebe.de> wrote:
> Create the SynCompletion with an owner. Any owner will do.
Thank you Martin.
It is created it in global object i cant have an owner, but i resolved it
by inherit it with override this OwnedByEditor function
function TmneSynCompletion.OwnedByEditor: Boolean;
Result := False;
>Actually, if you added as the synedit, then only the last should destroy it
Not sure in fact.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus