Home Download Buy Blog Forum Support

Nightly Build 2188

Re: Nightly Build 2188

Postby malpeli on Tue Mar 13, 2012 6:47 pm

Historical problem solved. Thank you!

Any chance in some future version of SublimeText pressing "ESC" during the search move the cursor back to the place where it was? :)

Your daily work with quick results is really impressive Mr. Skinner. I have in you a personal hero.
Thank you for the beautiful example of how to lead a good project.
:D
malpeli
 
Posts: 33
Joined: Wed Oct 12, 2011 7:35 am

Re: Nightly Build 2188

Postby C0D312 on Tue Mar 13, 2012 9:39 pm

jps wrote:Nightly Build 2188 is out now, with a few polish related changes


Nothing to see here... moving on.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Nightly Build 2188

Postby ZeroOne on Thu Mar 15, 2012 8:12 am

I have a problem with SQL-strings in PHP code. If string doesn't start with SELECT-word, then syntax highlighter works not correctly. This problem may be shown when SQL-string consist of 2 or more strings.
Please, fix it.
ZeroOne
 
Posts: 3
Joined: Sun Oct 09, 2011 8:21 pm

Re: Nightly Build 2188

Postby defiant on Thu Mar 15, 2012 1:44 pm

ZeroOne wrote:If string doesn't start with SELECT-word, then syntax highlighter works not correctly.

How else is it supposed to detect the string contains SQL and highlight it? Through my usage I've noticed any string which matches /^(SELECT|INSERT|UPDATE|DELETE|REPLACE)\s/ will be considered as SQL and highlighted accordingly.

ZeroOne wrote:This problem may be shown when SQL-string consist of 2 or more strings.

I Presume you mean something like this:
Code: Select all
$sql = "SELECT * FROM table WHERE hello='".$world."' AND foo='bar' ORDER BY something ASC";

On my install (Windows 7 x64), verything befor $world is highlighted as SQL, everything after is not.
I don't think this is a bug as such. The way I see it it's not highlighting the second half of the SQL because ST2 doesn't have a deep understanding of PHP, so it isn't aware you're concatenating two strings, it just sees two separate strings separated by .$world. (Based on my observations, someone correct me if I'm wrong).

A way round this is to use double quotes for the SQL string and {} to place your variables within it. For Example:
Code: Select all
$sql = "SELECT * FROM table WHERE hello='{$world}' AND foo='bar' ORDER BY something ASC";

The whole string is highlighted as you'd expect (or at least how I expect :) ).

Hope that helps.
defiant
 
Posts: 4
Joined: Thu Mar 01, 2012 8:59 pm

Re: Nightly Build 2188

Postby planet on Thu Mar 15, 2012 3:21 pm

Hi,
I have two minor issues with the "Indentation: Reindent Lines" command (not related to 2188, happend in earlier builds, too). File Syntax set to PHP:

Code: Select all
<?php
function foo1()
{
echo "Test 1 )";
echo "Test 2";
}
function foo2()
{
// Test
echo "Test 3";
}
?>


After Reindent Lines:

Code: Select all
<?php
function foo1()
{
    echo "Test 1 )";
echo "Test 2";
}
function foo2()
{
// Test
    echo "Test 3";
}
?>


Reproducable Problems: Strings that contain ')' and Line-Comments. My Indentation is set to Spaces, "smart_indent" is off.

Not too important, but I thought to mention it anyway.

Regards, Thorsten.
planet
 
Posts: 24
Joined: Fri Feb 17, 2012 12:30 pm

Re: Nightly Build 2188

Postby C0D312 on Mon Mar 19, 2012 9:07 pm

hmmmm.... Been nearly a week since the last nightly. Not sure If I should be worried or excited. Either way, I'm definitely spoiled from all those frequent updates.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Nightly Build 2188

Postby DJMurtz on Thu Mar 22, 2012 10:32 am

C0D312 wrote:hmmmm.... Been nearly a week since the last nightly. Not sure If I should be worried or excited. Either way, I'm definitely spoiled from all those frequent updates.


Haha, the exact same reason I came to the forums. I use ST2 several hours each day and today it hit me *huh, I haven't had an update in a few days!*.

That's the problem with Jon's release scheduelle, it is very exiting to see these quick iterations every several days, but it also creates the expectation of this being the standard instead of the exception. I guess moving to the nightly builds for registered users was a good idea to offset this problem. We already paid, so we're more willing to wait and not whine about the "lack" of updates (those are VERY big quotes there).

Anyway, funny to see other people anticipating new updates as well, love the software, love the development of the software and would love to see a 1.0 release in the near future (if only to get jon the deserved media attention and the accompanied boost in sales).
DJMurtz
 
Posts: 28
Joined: Mon Apr 18, 2011 7:27 am

Re: Nightly Build 2188

Postby bizoo on Thu Mar 22, 2012 10:53 am

DJMurtz wrote:Anyway, funny to see other people anticipating new updates as well, love the software, love the development of the software and would love to see a 1.0 release in the near future (if only to get jon the deserved media attention and the accompanied boost in sales).

Version 1.4 is out since months ;)

But this version totally disappeared from the web site, didn't found a link to download it.
Maybe ST2 final release is imminent ?
bizoo
 
Posts: 873
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Nightly Build 2188

Postby DJMurtz on Thu Mar 22, 2012 11:06 am

bizoo wrote:
DJMurtz wrote:Anyway, funny to see other people anticipating new updates as well, love the software, love the development of the software and would love to see a 1.0 release in the near future (if only to get jon the deserved media attention and the accompanied boost in sales).

Version 1.4 is out since months ;)

But this version totally disappeared from the web site, didn't found a link to download it.
Maybe ST2 final release is imminent ?


Well, for me (as an OSX user) 2.0 is the new 1.0 8-)
DJMurtz
 
Posts: 28
Joined: Mon Apr 18, 2011 7:27 am

Re: Nightly Build 2188

Postby corelon on Sat Mar 24, 2012 10:42 am

In Latex mode, if I press Control, Shift, W and then b on a selected text it will surround it with html bold tags. If I open the snippets menu and select the snippet from there it works correctly.

Regards,

Nikos
corelon
 
Posts: 41
Joined: Mon Feb 16, 2009 2:16 pm

PreviousNext

Return to General Discussion

Who is online

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