Jump to content
Ruud

Problem with Brace Highlight in IDE editor (D11.3 and D12.1)

Recommended Posts

I first noticed the problem with Comments , when the last character before the closing bracket } , has an ASCII value higher than 126d (or 7Eh) ,

If the cursor is placed before the opening bracket { , Brace Highlight works OK .
But when the cursor is placed before the closing bracket } , it doesn't work .

 

1017631781_BraceHighlight.thumb.png.e7882bc03c567fe97be0bd0d6c99be1a.png

 

In the picture :

1  -->  LC = ~ (126d)  |  CP = 100,1    |  BH : works OK
2  -->  LC = ~ (126d)  |  CP = 100,46  |  BH : works OK
3  -->  LC =  ¡ (161d)  |  CP = 101,1    |  BH : works OK
4  -->  LC =  ¡ (161d)  |  CP = 101,46  |  BH : doesn't work


LC = last character before the closing bracket
CP = cursor position
BH = Brace Highlight


N.B. : the problem not only occurs with {} , but also with [] , () , "" and '' .

Edited by Ruud

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×