Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
un-indented line after closing php tag
Suppose you were to type some PHP interlaced in some HTML, with some levels of indentation, as follows:
<div clas="level-1">
<div class="level-2">
<?php if(true): ?>
<p>true</p>
<?php elseif(false): ?>
<p>false</p>
<?php else: ?>
<p>???</p>
<?php endif; ?>
</div>
</div>
When you close the PHP after 'elseif', 'else', or 'endif', it un-indent the line automatically by removing one tab.
This doesn't happen for the 'if', but also happens when using 'endforeach' and endwhile', and probably other similar PHP condition keywords.
This bug doesn't occur if you were to use curly brackets '{ }' instead of semi-colons ':'.
This is a really nice setup so far, a more functional search option would be appreciate, something like editpad pro. The only major con i have noticed is on my remote desktop at work the application runs extremely slow.
Open Containing Folder error when directory path contains comma
If the directory path of an open file contains a comma Sublime Text 2 will throw up an error when the 'Open Containing Folder...' context menu item is selected.
Eg:
E:\Web Dev, Sites\Example Folder\My File.html
Start Sublime with wildcards to load multiple files at once
Any hope that starting Sublime with wildcards will some day actually load all those matching files in the directory??
Space characters after a non-ASCII Unicode character do not display.
Drag and Drop Text Copy/Clone
Expand side bar on hover
When trying to open a file from side bar, it's a good idea to expand that which allows me to view file full name, and shrink after I move my mouse away from that which gives me more space for editing.
Crash right at startup on openSUSE 12.1 since build 2165
cutting empty line does not overwrite clipboard
Steps:
* put cursor on non-empty line
* cut
* move to empty line
* cut (this is usually for cleanup/code formatting)
What happens:
* the line on the clipboard that was cut first (i.e. the non-empty line) is no longer available to paste
What I'd like:
* when I paste, I'd like to get back the most recent non-empty line I cut (or copied for that matter), regardless of how many empty lines were cut in the meantime.
Justification:
There's no need for an empty line on the clipboard since it's trivial to create them as needed.
Thanks.
Sub-pixel glyph positioning/anti-aliasing breaks box drawing characters
Enter multiple BOX DRAWINGS LIGHT HORIZONTAL (U+2500) characters in a row:
───────────────
They should visually form a single continuous horizontal line, but instead there are sub-pixel breaks between some of them.
Служба підтримки клієнтів працює на UserEcho