FPDoc Editor

From Lazarus wiki
Jump to navigationJump to search

Introduction

LazDoc is an integrated editor/viewer for Lazarus. It currently works only for the LCL, but expaning it to any project is on the todo list.


Where to find LazDoc??

Because LazDoc is still in development, and it's not clear wether it will become part of Lazarus itself or it will be available as a separate package / library, LazDoc is only available when Lazarus is compiled with -dEnableLazDoc set. cursor will be placed in a piece of code starting:

 procedure TForm1.Button1Click(Sender: TObject);
 begin
   {now type:}    Button1.caption := 'Press again';
   {the editor has already completed the procedure with}
 end;

Press F12 to select the Form1 window instead of the Source Editor.

Usage

Using LazDoc is very simple. J