Home Download Buy Blog Forum Support

Region highlighting

Region highlighting

Postby gpfsmurf on Thu Mar 19, 2009 7:14 pm

It would be nice if there was a way for plug-ins to highlight arbitrary regions without tampering with the selection. The highlighting style should be different than the selection's though.
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: Region highlighting

Postby jps on Sat Mar 21, 2009 10:46 pm

I agree... it's on the todo list.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Region highlighting

Postby gpfsmurf on Tue Apr 14, 2009 6:25 pm

sublimator wrote:Also, being able to instantiate arbitrary RegionSets per view to track regions
that aren't necessarily selections.

I was wondering why new RegionSets couldn't be instantiated by plugins.
sublimator wrote:Or even being able to say for some particular region[s] I would like it to be
parsed with a different syntax.
Expand selection to scope, apply syntax for region. selector contexted commands
suddenly work not to mention highlighting

That would be great... I often have some code emitting code in another language (Perl/XML/JavaScript/HTML/Python...)
Making it automatic doesn't sound easy but being able to set a 'secondary language' would help. For instance, when editing some Python code with HTML as a secondary language, we could check each string to see if it is plain text or HTML and highlight accordingly.
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 11 guests