[Lazarus] Highlight matching brackets

Martin Frb lazarus at mfriebe.de
Mon Dec 11 21:13:21 CET 2017


On 11/12/2017 20:05, Martin Frb via Lazarus wrote:
>
> It should only change CaretAtIdentOrString, but I am failing to see 
> how that works (did not debug, just looked at it, so I might be wrong)
>
> In the line |=caret
> a:=foo|(
>
> It would have seen the "(", and returned false.
>
> But with the patch, I would expect
> a:=|foo(
>
> to see the ":=" ?
>
> So it just reverses the issue?
>

Just checked, Contextmenu > Find > Rename Identifier

It now is enabled, if you are at the end of the identifier.

But it is disabled, if you are at the start of the identifier.

So both parts of the commit are wrong.


More information about the Lazarus mailing list