Lazarus

Using the Lazarus IDE => Editor => Topic started by: RedOctober on March 06, 2018, 05:10:49 pm

Title: Brackets and Parenthesis are not highlighting their matching partner
Post by: RedOctober on March 06, 2018, 05:10:49 pm
I have searched in Tools/ Options/ Editor/ Markups and Matches
My "Bracket Highlighting" setting is: "On both sides"
However, in my code editor, when my cursor is beside a ) or a ] the matching partner ( or [ is not highlighted.
How can I get both the ( and the ) to highlight when my cursor is next to one?  Must be some small setting I am missing.  (My "begin" and "end" are all highlighting correctly)

Platform:  Lazarus 1.8.1, FPC 3.0.5
Title: Re: Brackets and Parenthesis are not highlighting their matching partner
Post by: Martin_fr on March 06, 2018, 05:28:39 pm
Do an svn up.

This was broken in 1.8.0, and some 1.8.1 (svn branch).
It should be fixed in 1.8.2 (and 1.8.3)
Title: Re: Brackets and Parenthesis are not highlighting their matching partner
Post by: taazz on March 06, 2018, 05:35:07 pm
I can't reproduce it, neither on 1.8.2 or 1.4.4, by the way the "both sides" choice is for left and right of the bracket, either bracket, it is a small discrepancy when two brackets of the same type are close to each other then the bracket left of the caret is highlighted.
TinyPortal © 2005-2018