[Lazarus] Highlight matching brackets
Martin Frb
lazarus at mfriebe.de
Mon Dec 11 21:05:45 CET 2017
On 11/12/2017 19:49, Juha Manninen via Lazarus wrote:
> On Mon, Dec 11, 2017 at 9:34 PM, Martin Frb via Lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>> Most likely (not verified)
>> Revision: 56398
>> Message:
>> SynEdit: Enable operations for an identifier also when caret is at its end.
>> Patch from Dmitry D. Chernov.
> Ah, that is reported already.
> https://bugs.freepascal.org/view.php?id=32803
> There were 2 identical block changed. Maybe only one of them should be changed.
> I try to look at it soon ...
>
> Juha
the change in GetHighlighterAttriAtRowColEx is wrong.
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?
More information about the Lazarus
mailing list