begin/end highlighting

Bert Wesarg bert.wesarg at googlemail.com
Tue Nov 27 15:41:09 CET 2007


>    Hi,
>    I can't make it work.
>    I can change the "display" of text between "begin end" rangesets (it
>    is displayed in italic for ex) but I can't make it being highlighted
>    automatically (as it is done between "()" or "{}" expressions) nor
>    selected automaticaly with Shift+Crtl+M.
>    Eric.
() and {} are default rules for mostly all languages, including
verilog. The patch brings no rules to highlight begin/end in verilog.
so you must teach the matching pattern engine this rule.

You can edit these rules there: Preferences -> Default Settings ->
Show Matching (..) -> Matching Patterns...

But this dialog is not trivial.

You can also look at the pascal rules, or the rules of the Sh Ksh Bash
language from my mp.styles file.

Bert


More information about the Discuss mailing list