[Lazarus] Delphi to Lazarus converter

Howard Page-Clark hdpc at talktalk.net
Fri Nov 6 22:17:10 CET 2009


2009/11/6 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
>
> This again requires an editor that implements folding, and that hides the
> marked sections by default. I don't trust such defaults :-(

Most editors have code folding these days. And in this case I am
talking about Lazarus specifically, as that is the only code editor I
use to write software in.

Also, the 'region' code folding tag allows for comments and if the
region needs to be folder by default or not. My Form Designer adds a
comment which is what the user seen in the first 'region' tag, saying
that the code folder is maintained by the forms designer. No need for
guessing what is folded in this case.


> Also I'd put auto-generated parts into include files, a much simpler and
> safer separation from the user viewpoint.

Although include files are very handy and I use them in occasions for
other code, I prefer less files lying around - hence the reason the UI
code is directly inside the .pas file (unlike Delphi, Lazarus or
MSEide).

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list