Home Download Buy Blog Forum Support

Two odd unrelated bugs.

Two odd unrelated bugs.

Postby Anomareh on Tue Oct 13, 2009 10:28 pm

The first one is an oddity in bracket matching. In a PHP file such as the following:

Code: Select all



It picks up the arrow operator as the closing angle bracket for the opening PHP tag.

For the second one, not sure if it was changed in the latest beta or the one before, but in the per-type file preferences for JavaScript 'rulers 80' is set. Took me a while to figure out what the line was coming from and why it was there. Not sure if it's intended to be on in a clean install.
Posts: 222
Joined: Thu Oct 01, 2009 7:32 pm

Re: Two odd unrelated bugs.

Postby jps on Sun Oct 18, 2009 1:54 am

The bracket matching is a simple character based system, that isn't aware of the lexing rules of the current language. This is one of the reasons why angle brackets aren't matched by default. I would like to change this in the future so it can handle situations like the one above.

I've turned the vertical rulers off by default for 20091017 beta - I agree with you, it doesn't make any sense to have them on in a clean install.
Site Admin
Posts: 3217
Joined: Wed Mar 19, 2008 12:33 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests