Re: [Lazarus] Code-Template issue

2009-07-20 Thread Graeme Geldenhuys
Martin Friebe wrote: Check the latest SVN. this should behave better now I can confirm that it works correctly now. Thank you very much! Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ --

Re: [Lazarus] Code-Template issue

2009-07-19 Thread Martin Friebe
Graeme Geldenhuys wrote: Martin Friebe wrote: But this currently also works, if you press space anywhere within the word = imho this is wrong = space/return, should only work, if you are at the end of the template identifier That's correct, and exactly my point. :-) We agree on the

Re: [Lazarus] Code-Template issue

2009-07-10 Thread Graeme Geldenhuys
Martin Friebe wrote: But this currently also works, if you press space anywhere within the word = imho this is wrong = space/return, should only work, if you are at the end of the template identifier That's correct, and exactly my point. :-) We agree on the behaviour. Just to reiterate my

[Lazarus] Code-Template issue - duplicating text

2009-07-09 Thread Graeme Geldenhuys
Hi I created a while back a code template to fix the case of the word Result. eg: result -- Result [ Yes, I'm full of sh*t ] Anyway, here is the code template as Lazarus wrote it in the .dci file. =[ lazarus.dci ] [result | Fix case - Result] $(AttributesStart)

Re: [Lazarus] Code-Template issue - duplicating text

2009-07-09 Thread Graeme Geldenhuys
Martin Friebe wrote: Actually, just thinking. IMHO a template should be triggered, if you are at the end of the token?, so pressing space, *before* the return should probably not trigger at all. That is the exact same behaviour that I expected. Plus the duplication of the text is a odd

[Lazarus] Code-Template issue

2009-07-09 Thread Martin Friebe
ok, I have gone back to 0924 = the problem did already exist. 1) It is perfectly fine, even desirable that using ctrl-j you may have a partial typed template-identifier (as long as it uniquely identifies the template example: trycf you can type: tryc ctrl-j as trycf is the only template