Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-11 Thread Eugen Bolz
Martin Friebe schrieb: > Hi, > > I haven't fully investigated this, put it may be related to the fact > that you install some custom onKeyPressed stuff. > > The original procedure TSynCompletion.EditorKeyPress(Sender: TObject; > var Key: char); > does: > if TRecordUsedToStoreEachEditorVars(fE

Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-11 Thread Eugen Bolz
Martin Friebe schrieb: > Hi, > > I haven't fully investigated this, put it may be related to the fact > that you install some custom onKeyPressed stuff. > > The original procedure TSynCompletion.EditorKeyPress(Sender: TObject; > var Key: char); > does: > if TRecordUsedToStoreEachEditorVars(fE

Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Martin Friebe
Hi, I haven't fully investigated this, put it may be related to the fact that you install some custom onKeyPressed stuff. The original procedure TSynCompletion.EditorKeyPress(Sender: TObject; var Key: char); does: if TRecordUsedToStoreEachEditorVars(fEditstuffs[i]^).NoNextKey then begin

Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Eugen Bolz
Brad Campbell wrote: > Can you put together a simple program and upload it somewhere to demonstrate > the fault? > http://eugen-bolz.de/syncompletion.zip I have tested it again, it only dont works when SPACE is pressed, other CHARS are working. Select one Item, after that press SPACE and the

Re: [Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Brad Campbell
Eugen Bolz wrote: > Hey, > > im trying to implement TSynCompletion with TSynEdit in a Project. But > every time i select an Item at the TSynCompletion-Form and then trying > to write something, the first char dont be added to the TSynEdit, i > tried to copy the Functions of sourceeditor.pp ( of th

[Lazarus] After using TSynCompletion, the SynEdit dont want to write the first Char, but after the first Char all works

2008-11-10 Thread Eugen Bolz
Hey, im trying to implement TSynCompletion with TSynEdit in a Project. But every time i select an Item at the TSynCompletion-Form and then trying to write something, the first char dont be added to the TSynEdit, i tried to copy the Functions of sourceeditor.pp ( of the IDE ) but theyre a bit compl