[lazarus] datasource - dataset

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 30 05:06:58 EST 2002


On Mon, 30 Dec 2002 03:45:44 -0600
"Jesus Reyes" <jesusrmx at yahoo.com.mx> wrote:

> Hi, I'm reporting this here but I don't know if I should do that in some
> other place, it's a fcl related issue in datasource.inc (FIXES_1_0_0) on
> line 489:  If FState<>FlastState then        it should be (I think):
> Fstate=FLastState then ...
> 
> In dataset.inc after TDataset.GetField ... Apparently lazarus has problems
> with nested comments (Shift+Ctrl+Up/Down not further investigated) or can
> be changed  the outer comments from { } to  (* .. *).

Nested comments are a problem in general. Delphi does not support them and
so the synedit highlighter which is used by the lazarus IDE does not support
them. The codetools and fpc can handle them, but they are not activated in
all modes. So for fpc code you have to turn it on as default, but for Delphi
code you have to turn it off as default. Because lazarus should work with
Delphi and FPC code, and nested comments are used very seldom, I have turned
them off.
I will add a directory flag, so that nested comments are turned on for the
FPC source files.
But the synedit highlighter will need much more work.


Mattias



> TField.Displaywidth property currently is implemented as:
> ... Read FDisplayWidth .... but it should be .... Read GetDisplayWidth ...
> 
> Thanks.
> 
> Jesus Reyes A.
> 
> _________________________________________________________
> Do You Yahoo!?
> La mejor conexión a internet y 25MB extra a tu correo por $100 al mes.
> http://net.yahoo.com.mx
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives






More information about the Lazarus mailing list