Home Download Buy Blog Forum Support

Dev Build 2099

Re: Dev Build 2099

Postby jbrooksuk on Mon Aug 08, 2011 3:54 pm

PHPDoc highlighting doesn't seem to be doing anything now :(

And this time, I've changed theme and tried it on my co-workers PC.
jbrooksuk
 
Posts: 772
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Dev Build 2099

Postby parsifal on Mon Aug 08, 2011 4:48 pm

I get syntax highlighting if I use Monokai or Monokai Bright, but not if I use any of the themes I installed, or some other stock themes.

Sounds like a bug.

I have a lot of custom themes and keybindings, so I'm not going to reinitialize my userdata; I'll just wait 'til the bug is fixed and deal with Monokai for a day or two.
parsifal
 
Posts: 16
Joined: Mon Apr 25, 2011 2:27 pm

Re: Dev Build 2099

Postby ceej on Mon Aug 08, 2011 4:57 pm

I have a syntax highlighting issue with PHP too http://screencast.com/t/7JqUTyTV9 it no longer highlights variables in double quotes properly.
ceej
 
Posts: 81
Joined: Tue Jun 21, 2011 5:37 pm

Re: Dev Build 2099

Postby ajpalkovic on Mon Aug 08, 2011 5:25 pm

I have what is effectively an erb file, but it is not highlighting embedded css or tags correctly. No coloring on any tag attributes and no coloring at all for css. Tag names show up as yellow, but thats it. I am using the Dobdark tmtheme. I also added rules to highlight annotations in javascript :(, but those no longer highlight. I changed my theme to give the full scope path and it still didn't highlight them. I have a screenshot if you need one.

Could you also provide some insight into how scopes are actually ranked against various scope selectors. Is it done more or less like css?

Also, would it be possible to have a version of ctrl+alt+shift+p that does not disappear after 5 seconds? It's so annoying when I am trying to type the scope and it disappears :). Also, would it be possible to have a keybind to print the color of the current text, or at least the theme rule that it is using? The reason is sometimes I like to copy a color from one section of my theme to another, but I'm not sure which color it is. Without a theme editor it is really hard to figure it out?
Image
ajpalkovic
 
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: Dev Build 2099

Postby oats on Mon Aug 08, 2011 5:40 pm

I'm getting a behavior I never noticed before with the find panel:

While the find panel is open, I can still edit my document, except for the "enter" key. Now the enter key is always passed to the "Find" button... previously I thought this happens only when the blinking cursor is active in the find panel.

Also, when I hit "Find all", the find panel disappears. I thought I used to hit "Find all" and then "Replace all" without re-activating the find panel.

[edit: this is actually dev 2098, i haven't used 2099 yet]
Last edited by oats on Mon Aug 08, 2011 6:08 pm, edited 1 time in total.
oats
 
Posts: 101
Joined: Mon Nov 09, 2009 4:39 pm

Re: Dev Build 2099

Postby ceej on Mon Aug 08, 2011 5:41 pm

Found another issue with highlighting. When creating a new php file it doesn't apply any syntax highlighting.
ceej
 
Posts: 81
Joined: Tue Jun 21, 2011 5:37 pm

Re: Dev Build 2099

Postby ehamiter on Mon Aug 08, 2011 5:49 pm

Another theme-related bug-- I use one (Tomorrow-Night) which works great. For Widget.sublime-settings, I set the syntax to a .tmLanguage file based on Python, which colors the console's output. Now (after this release), it doesn't. But if I switch themes, it works again. Weird.

Edit: confirmed, I went back to 2098 and it works right off the bat.
ehamiter
 
Posts: 67
Joined: Wed Apr 27, 2011 2:42 am

Re: Dev Build 2099

Postby ajpalkovic on Mon Aug 08, 2011 8:08 pm

sublimator wrote:
jps wrote:Along with the new selector implementation, there are several new API functions to expose the selector scoring function (allowing multiple selectors to be ranked vs a scope), adding the ability to select with arbitrary selectors and scope names (rather than having to source a scope name from a point in a view), and being able to search the buffer for regions matching a given selector (e.g., view.find_by_selector("comment") will give you all the commented out regions).


Oh awesome! Wanted these for ages. This is great.

I agree, I've been wanting this too. I'll rewrite my css sorter semi soon.
ajpalkovic
 
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: Dev Build 2099

Postby ceej on Mon Aug 08, 2011 8:58 pm

found an issue with vintage. c + w to clear a word like SOME_VALUE it stops when it reaches _ but in vim it will clear the whole word.
ceej
 
Posts: 81
Joined: Tue Jun 21, 2011 5:37 pm

Re: Dev Build 2099

Postby jps on Tue Aug 09, 2011 12:12 am

ajpalkovic: thanks for the useful bug report - the issue is fixed now in 2100. Color scheme rules were being applied in the opposite order they should have been, so the least specific rule was taking precedence.

The selector scoring rule is essentially rightmost longest: the rightmost space separated portion, and then matching the longest portion of this. e.g., for the scope "source.c++ comment.c", selectors would rank in this order:

source.c++ comment.c
source comment.c
comment.c
source comment
comment
source.c++
source
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 26 guests