Home Download Buy Blog Forum Support

Bracket highlighting

Re: Bracket highlighting

Postby vim on Wed Jun 03, 2009 8:26 pm

<context name="allFollowingText" value="^(\t| |]|$)"/>


change ] to }

<context name="allFollowingText" value="^(\t| |}|$)"/>
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Bracket highlighting

Postby jps on Thu Jun 04, 2009 5:04 am

Not like that, no: just simple, character based matching of angle brackets, i.e:

Code: Select all
|<a href="">|
jps
Site Admin
 
Posts: 3069
Joined: Wed Mar 19, 2008 12:33 pm

Re: Bracket highlighting

Postby EJ12N on Thu Jun 04, 2009 5:06 pm

sublimator wrote:
Bracket matching vs. angle brackets will be available in the next beta.


Code: Select all
<p>
   |<b>
      <a href=""></a>
   </b>|
</p>


Like that, where | => lovely little underscore dressing? Awesomeness, cause I use Genshi, an xml based templating language for some sites. It's a great little lib but it's very fragile. "Error: Unmatched Tag"


Not like that, no: just simple, character based matching of angle brackets


I would say both are good, but if I have to pick one I would go with sublimator one, which is the one in notepad++
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Bracket highlighting

Postby jps on Fri Jun 05, 2009 3:43 am

I agree it'd be a useful feature, but it has to be prioritised along with everything else. Simple angle bracket matching is a separate case, as it's already implemented, just not exposed in current versions.

Fancier XML related functionality is the sort of thing that should be implementable via plugins, especially when the API allows plugins to add markers etc
jps
Site Admin
 
Posts: 3069
Joined: Wed Mar 19, 2008 12:33 pm

Previous

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 16 guests