Sublime Forum

Little bug in PHP

#1

I think I might’ve found a little bug, nothing major, just might cause problems someday.

Here is a screenshot of the problem:

Notice how the closing bracket of PHP is matched to a less than operator, the same happens with the opening PHP bracket, and the greater than operator. Of course the correct behaviour would be for it to be matched to the other closing/opening PHP bracket.

Just wanted to report that. :smile:

0 Likes

#2

probably there is an issue on your side?

Try to disable this in your config:

"match_brackets_angle": true
0 Likes

#3

Oh I know how to fix it.

I’m just saying that to John so that he can figure it out so that it works correctly. :smile:

0 Likes

#4

May I ask what font you are using? :smile:

0 Likes

#5

Sure, I’m using Anonymous Pro, on a Mac, so the font smoothing may change a bit if you’re on another OS. And I am using size 12 of the font.

  • Eduan
0 Likes

#6

[quote=“Eduan”]Sure, I’m using Anonymous Pro, on a Mac, so the font smoothing may change a bit if you’re on another OS. And I am using size 12 of the font.

  • Eduan[/quote]

Thx. But it looks ugly on Windows. :frowning:
I gonna stick to Dejavu Sans Mono.

0 Likes

#7

[quote=“singw”]

, on a Mac, so the font smoothing may change a bit if you’re on another OS. And I am using size 12 of the font.

  • Eduan
    Thx. But it looks ugly on Windows. :frowning:
    I gonna stick to Dejavu Sans Mono.[/quote]

I totally know what you mean! But Dejavu looks bad on Mac, Dejavu is still my favorite font, but it doesn’t look well on a Mac.

Anyway, glad to see somebody else that uses Dejavu. :smile:

0 Likes