Sublime Forum

Build 3114

#1

Hey, i just download the last build and i had a lot of problems, like the size mousewheel disabled and a lot of features like the line copy paste break. Hope the build continues to improve.

Thanks :yum:

0 Likes

#2

When opening a directory with Sublime Text the sidebar is often empty or blank since the update.

In addition ST becomes entirely unresponsive. This is definitely the worst bug I have encountered in my time using ST.

I would go back, but I know there are a lot file structure changes with this release and I am afraid to break it.

1 Like

#3

Hope I’m posting this in the right place! There’s a syntax highlight issue with PHP short echo tags inside HTML. It appears only to occur if the open tag is nested within curly braces at some level.

EG:
<?="hello";?>
is fine, but…

if( true ) { 
   ?><a href="#" class="<?='my-class'?>" data-some-attr="some-value">text</a><?php
}

breaks the syntax highlighting as soon as my-class is parsed (the syntax highlighting stops working correctly after <?='my-class'?>. See screenshot below for example.

I also put this on pastebin to show example code. They also suffer from the same bug, it seems. The previous version of Sublime did not have this issue. http://pastebin.com/KA4wX8gq

Sublime example:

0 Likes

#4

@Ellytronic Please fix the formatting of the comment. It is a little difficult to understand what you have typed. Please use 3 backticks for marking code blocks.

You might want to check out - http://commonmark.org/help/

0 Likes

#5

@pradyunsg I’ve updated the code and provided a more detailed explanation and second example. Thanks!

0 Likes

#6

I’ve got the exact same issue when using pure php as a templating system.

I’ve notice replace curly braces with alternative syntax fix the highlight.

I hope this exemple will help :


<?php foreach($imgs as $img){ ?>
	<img src="<?=$img->url?>" class="img" alt="<?=$img->name?>" width="180" height="240"/>
<?php } ?>


<?php foreach($imgs as $img): ?>
	<img src="<?=$img->url?>" class="img" alt="<?=$img->name?>" width="180" height="240"/>
<?php endforeach; ?>

0 Likes

#7

After updating to 3113 dev build and then to 3114 build - noticed the same bug.
Waiting for fix in next update.
For now, downgraded to dev build 3112 https://download.sublimetext.com/Sublime%20Text%20Build%203112%20x64%20Setup.exe

0 Likes