Sublime Forum

Dev Build 3106

#1

Dev Build 3106 is out now at https://www.sublimetext.com/3dev.

There have been some changes to JavaScript syntax highlighting; we’re keen for any feedback on this.

1 Like

#2

It appears that if you use the new key word within an object literal without () it breaks the highlighting.

Highlight broken here

{
    'test1': [],
    'test2': new SomeOjbectHash["default"],
    'test3': "asdf"
}

function test(){

}

Highlighting works here

{
    'test1': [],
    'test2': new SomeOjbectHash(),
    'test3': "asdf"
}

function test(){

}

From what I can tell, without () the following scope never pops out meta.function-call.constructor.js until a pair of () are reached.

Otherwise I tested some larger compiled JS files and they loaded very quickly, nice job so far!

0 Likes

#3

This should be resolved by https://github.com/sublimehq/Packages/commit/f06d2a56f67c9088b9197531ecc597fdfa5bd1bd, which will be part of the next build.

0 Likes

#4

Awesome, fixed!

I’ve found one other issue, trying to reduce things down to a smaller set of code that reproduces it…

0 Likes

#5

Regarding spellchecking, much improved thanks a lot, the only thing that seems missing to me (aside an API… https://github.com/SublimeTextIssues/Core/issues/1069 ) is to replace the fancy apostrophes ’ with a normal ’ just before spellchecking … as this cause many words to be marked as spelling errors. On my tests I saw a lot of people that like for some reason to use fancy apostrophes instead of normal ones… I was investigating how to solve this, and it seems we can add it to the dictionaries… but that means we need to update and maintain a lot of dictionaries just for a '. Could the fancy apostrophes be replace for a normal apostrophe before spellchecked please? as discussed in ST3 spell checker confused by punctuation and https://github.com/SublimeTextIssues/Core/issues/1090

0 Likes

#6

regex scope is getting set on comments if the line is doing division.

var four = 20 / 5; // adding this comment triggers the regexp scope
0 Likes

#7

That is resolved by a commit I just made: https://github.com/sublimehq/Packages/commit/eda3e39fb0e5667c3e4322a0f7ce885322106465

0 Likes

#8

Regarding the themes changes, it seems I lost the sidebar icons for files http://i.imgur.com/6pPqMfX.png
Previous to this update every file was showing an icon.

  1. I use vanilla Soda Theme packaged as Roaming\Sublime Text 3\Installed Packages\Theme - Soda.sublime-package
  2. And then I have a folder Roaming\Sublime Text 3\Packages\Theme - Soda\icons (with all the icons there)
  3. I also have a file named Roaming\Sublime Text 3\Packages\User\Soda Dark 3.sublime-theme which overwrites some margin that I like to be tighter. (In case you curious this is the file https://dl.dropboxusercontent.com/u/9303546/SublimeText/personal/Soda%20Dark%203.sublime-theme )

This was working but no longer works.(the icons, the user file works just fine)

1 Like

#9

Thanks for the report - file icons are not working in 3106, will fix in the next build

1 Like

#10

Thanks to you

0 Likes

#11

Tabs with multi column or row layout are broken, the labels are missing. This happens after start on Windows 7.

2 Likes

#12

I can confirm that this also happens on Windows 8.
All though after resizing SublimeText the tabs came back.
And it only happened after the update because on a cold start it doesn’t happen.

0 Likes

#13

I can confirm the same on OSX 10.11.3

0 Likes

#14

Yup, tabs are not visible. Buuuuuut… I disabled Soda theme and re-enabled, and tabs are back again.

1 Like

#15

Same for me… and very annoying. :confused:
It is triggered on my system each time I save, and I have to resize the window to have it “drawn” again…

0 Likes

#16

This same about tabs

0 Likes

#17

Is everyone having issues with tabs running a custom theme?

0 Likes

#18

I am. It seems tabs don’t get repainted. When the theme gets set, everything is repainted except tabs. Doing a re-sizing of my window forces tabs to be repainted, and in turn are then visible.

0 Likes

#19

I’m seeing my tabs with Material theme running OS X 10.10

0 Likes

#20

using predawn on win10 and linux - all fine

0 Likes