Re: [lazarus] Lazarus keyword completion addon

2007-05-23 Thread Marc Weustink
Andrew Haines wrote: That would be very, very nice to have: Case Correction. I know that its not integral, but I am a stickler for case consistency and a feature like that would help me save time by not having to hit shift so much. Case correction is also help to avoid spelling mistake for ident

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Andrew Haines
> That would be very, very nice to have: Case Correction. I know that its > not integral, but I am a stickler for case consistency and a feature > like that would help me save time by not having to hit shift so much. > Case correction is also help to avoid spelling mistake for identifiers > since

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: Not yet. But this is easy to implement. The above examples (being/end) are triggered by pressing 'return'. Of course not all templates should be triggered by pressing 'return', so every template need an own set of t

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 15:57:55 +0100 Sam Liddicott <[EMAIL PROTECTED]> wrote: > * Graeme Geldenhuys wrote, On 22/05/07 10:03: > > On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > >> Not yet. But this is easy to implement. > >> The above examples (being/end) are triggered by pressing 'return

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Sam Liddicott
* Graeme Geldenhuys wrote, On 22/05/07 10:03: > On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: >> Not yet. But this is easy to implement. >> The above examples (being/end) are triggered by pressing 'return'. >> Of course not all templates should be triggered by pressing 'return', >> so eve

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Graeme Geldenhuys
On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > of a unit) etc.. I've seen some pretty cool custom templates designed > by the community. Can you give examples? Sure, here is a few from the tiOPF project. BTW: For technical details about the xml format have a look at: http://delph

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Graeme Geldenhuys
On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: I only took a short look at some examples, and it seems they invented a xml format with lots of Delphi IDE specific things. If lazarus tries to support that, then it needs to add a lot of workarounds and it needs to add somehow its own funct

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 11:07:57 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > On 5/22/07, Paul Ishenin <[EMAIL PROTECTED]> wrote: > > > > Maybe better to look how delphi store this templates and if > > possible to use that template file. There I think we can find what > > actions can trigger

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 16:56:00 +0800 Paul Ishenin <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > On Tue, 22 May 2007 09:53:07 +0200 > > "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> I want to try and implement that feature mentioned in the "New > >> since Delphi 7.

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Graeme Geldenhuys
On 5/22/07, Paul Ishenin <[EMAIL PROTECTED]> wrote: Maybe better to look how delphi store this templates and if possible to use that template file. There I think we can find what actions can trigger template insertion. From the brief look at the new Delphi templates (xml files), those templa

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Graeme Geldenhuys
On 5/22/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: Not yet. But this is easy to implement. The above examples (being/end) are triggered by pressing 'return'. Of course not all templates should be triggered by pressing 'return', so every template need an own set of triggers. What about other

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Paul Ishenin
Mattias Gaertner wrote: On Tue, 22 May 2007 09:53:07 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: Hi, I want to try and implement that feature mentioned in the "New since Delphi 7..." article. When you type 'begin' and press enter, the editor automatically inserts the blank line and t

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 09:53:07 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to try and implement that feature mentioned in the "New since > Delphi 7..." article. > > When you type 'begin' and press enter, the editor automatically > inserts the blank line and the closing 'e

[lazarus] Lazarus keyword completion addon

2007-05-22 Thread Graeme Geldenhuys
Hi, I want to try and implement that feature mentioned in the "New since Delphi 7..." article. When you type 'begin' and press enter, the editor automatically inserts the blank line and the closing 'end;' keyword. Also it will use the correct indentation. Now I have never done Code Generation w