TSynCompletion error. Not compile a small example lazarus / 31-LCL ---------------------------------------------------------------------- BlueIcaro · 2013-07-17 17:02 Hi, I making a small test aplication to learn more about TSynCompletion. I put a TSynEdit, with a TSynCompletion on a form. When I try to use the SynCompletion1SearchPosition event. I got the following errors when I try to compile my example. Quoteunit1.pas(20,48) Error: Duplicate identifier "Position" unit1.pas(20,48) Hint: Identifier already defined in unit FORMS at line 805 unit1.pas(30,1) Fatal: There were 1 errors compiling module, stopping Any idea, is it a bug? I use Lazarus 1.10, and W7/64 Thanks /BlueIcaro ---------------------------------------------------------------------- BlueIcaro · 2013-07-17 17:23 Hi, I found a workaround. Looking the source code of SynCompletion, I found the declaration in line 67: QuoteTSynBaseCompletionSearchPosition = procedure(var Position :integer) of object;  And change it for this: QuoteTSynBaseCompletionSearchPosition = procedure(var APosition :integer) of object;  And know, when I double click on the object inspector/events, now I got a correct declaration May be I should upload a patch?. But I don't know how /BLueIcaro ---------------------------------------------------------------------- Leledumbo · 2013-07-17 21:57 QuoteMay be I should upload a patch?. But I don't know howhttp://wiki.lazarus.freepascal.org/Creating_A_Patch ---------------------------------------------------------------------- BlueIcaro · 2013-07-17 22:27 Quote from: Leledumbo on July 17, 2013, 11:57:49 pmQuoteMay be I should upload a patch?. But I don't know howhttp://wiki.lazarus.freepascal.org/Creating_A_Patch Done. http://bugs.freepascal.org/view.php?id=24758 I did the patch following the wiki, and summit a patch in the bug track. This is my first patch, and it's so easy make the patch. Well the problem was so easy to found it . But I want invite to everybody to search through the Lazarus code, when you have a problem, or lear more, etc. You can learn a lot of, and sometimes you can help to the project even you are a programer for hobbie like me.  /BLueicaro ---------------------------------------------------------------------- BlueIcaro · 2013-07-24 16:58 From the bug tracker. The bug is fixed on the revision 42155, and will release on LazTarget   1.2 /BlueIcaro