> > But the editor seems to > > 1 - lack some features > > For exemple, when typing begin, I've been used to delphi writing two > > new lines, "end;", ans putting me on the middle line, just where I > > should type. > > I understand this is "code templates" or something like this, and > > there may even be a way to do it in lazarus yet. My issue > is that you > > install, it doesn't do it. > > I have a question, how it should work 'automatically': > Does this mean, you can no longer write 'beginning' in Delphi? > Or is the IDE waiting a little, so it is only invoked if you > type begin and > wait? > I guess the last, but who wants to wait?
>From Delphi 2005 the default option in the editor is to insert a matching end statement when a code block is started by begin and after enter is pressed. It is somewhat irritating since I'm used to automatically fill in the end myself. I can see that it can save typing though. The only problem in Delphi is that the editor sometimes messes up the placement of the end in nested if statements where it is not immediately obvious how the blocks are nested. I have disabled this option at work, but at home it is enabled; which probably shows that it is at least somewhat useful even for old timers like myself. Regards, Christo ---------------------------------------------------------------------------- NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail legal notice which may be found at: http://www.sasol.com/legalnotices If you cannot access the legal notice through the URL attached and you wish to receive a copy thereof please send an eMail to [EMAIL PROTECTED] ---------------------------------------------------------------------------- _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
