> > Other possible way, I see that if you place the caret before a "(" or "[",
> > the correspondent ")" or "]" is highlighted, live, in bold, even if there
> > are many others. Wow, super but... for me too shy..., it seems to me that
> > it could be more visible, other color, ... (could you tell where in code it
> > is done, this to find some inspiration ?)
> >
> lib/common/designutils/msesyntaxedit.pas:631, "procedure 
> tsyntaxedit.checkbrackets;"
> Warning: It does not respect syntax (comments, scopes...).

Hello Martin.

Added color-background-bracket in project-options and this in:

procedure tsyntaxpainter.internalpaintsyntax(handle: integer;
            start,count: integer; var startscopenr: integer);

At line 870:
   
 setcolorbackground1(list.richitemspo[row]^.format,col,1, 
projectoptions.o.colorbkgrbracket) ;

=>
              
And here in action:

https://sites.google.com/site/fredvsbinaries/bracket_mse.mp4

;-)

Fre;D
                                          
------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to