On 05/01/18 12:41, Bo Berglund via Lazarus wrote:
I wonder if it is possible (and if so how) to enable the Lazarus code
editor to match the open/close parenthesis and begin/end block
delimiters?

brackets are already answered in the other mails.

begin/end is not on the wiki (yet), but it is in the Options dialog under > Editor > Display > Markup and Matches

It is called "Word Brackets on caret"

There is a listbox with: "Procedure","Begin/end", "repeat" .....
you can select each entry and check "Markup (on caret), to get the highlight

eg
*  "Procedure" will highlight 3 keyword: Procedure, begin, end,
* "Begin/end (procedure)" highlights only the begin and end of a procedure block

You can choose the kind of highlight (eg change back color, instead of frame) in the "Colors" page of the option dialog.



--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to