On Sat, 11 Feb 2006 10:43:17 +0100
Martin Smat <[EMAIL PROTECTED]> wrote:

> Mattias Gaertner wrote:
> > On Fri, 10 Feb 2006 23:05:14 +0100
> > Martin Smat <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Hi,
> >>
> >> I have an idea to add the feature which you can know for example from 
> >> Vim. When scrolling with the scrollbars, the caret moves too and is 
> >> always visible in the window. It is very useful if you often combine 
> >> scrolling by mouse and keyboard.
> >> Before implementing it in the Lazarus  I would like to know the opinion
> >
> >> of other people if it is useful to have this feature in Lazarus or only
> >
> >> waste of time?
> >>     
> >
> > Please continue.
> >
> > Mattias
> >   
> 
> When I add new option eoAlwaysVisibleCaret into TSynEditorOption I 
> receive this error from the compiler:
> 
> SynEdit.pp(869,15) Error: Property can't have a default value
> SynEdit.pp(983,21) Error: That kind of property can't be published
> SynEdit.pp(1016,1) Fatal: There were 2 errors compiling module, stopping
> SynEdit.pp(27,18) Fatal: Compilation aborted
> 
> How can I add the new option in the correct way?

Add it to TSynEditorOption2.
FPC has a maximum of 32 elements per set for published properties.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to