Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.

+2

un-indented line after closing php tag

cresus18 13 lat temu Ostatnio zmodyfikowane przez Alex van der Vegt 12 lat temu 3
I have noticed a new bug introduced with the latest build 2181 which is rather annoying.

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 ':'.
+2

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.

Protocol-X 13 lat temu zaktualizowano 13 lat temu 0
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.
+2

Open Containing Folder error when directory path contains comma

c kent 12 lat temu 0

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

+2

Start Sublime with wildcards to load multiple files at once

Marc Scheuner 13 lat temu Ostatnio zmodyfikowane przez clksucat 11 lat temu 3
I like Sublime - a lot - but the fact it doesn't support printing, nor does it support starting the editor with wildcards to e.g. load all *.html files in a directory is something I truly miss - A LOT!!

Any hope that starting Sublime with wildcards will some day actually load all those matching files in the directory??
+2

Space characters after a non-ASCII Unicode character do not display.

Dan Palmer 13 lat temu 0
When a space character appears in text after a Unicode character that is not in the direct ASCII subset, the space is not rendered or even present it appears. When moving the cursor and deleting text, it appears to not exist.

The problem has been confirmed by opening the same files in TextMate where they are displayed correctly.

Thanks to @elliottcable for helping to work out exactly what was going wrong.
+2

Drag and Drop Text Copy/Clone

Brian Kim 12 lat temu Ostatnio zmodyfikowane przez Tim Gummer 11 lat temu 3
I see that drag and drop to move text is now supported in the nightly build (thanks!), but I still would like to see a feature I liked in TextWrangler/BBEdit -- hold down option/alt while dragging to copy/clone the dragged text, rather than move it.
+2

Expand side bar on hover

Vince Zhao 11 lat temu Ostatnio zmodyfikowane przez Jon 8 lat temu 2

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.

+2
To nie jest błąd

Crash right at startup on openSUSE 12.1 since build 2165

Duncan Mac-Vicar Prett 13 lat temu Ostatnio zmodyfikowane przez Jon Skinner 12 lat temu 4
Sublime text would not start but crash. I am stuck in version 2139 as the "last working one" (released).

Backtrace posted at http://www.sublimetext.com/forum/viewtopic.php?f=3&t=4557&p=20648&hilit=crash#p20648

Cleaning up the config worked for 2165, but does not for 2172 (except for 32bit, where it starts with a clean config). Still in all cases it crashes when closing the application as well. All startup backtraces have the same first lines:

======= Backtrace: =========
/lib64/libc.so.6(+0x74c06)[0x7f5822dc1c06]
./sublime_text(_ZN12memory_arena5clearEv+0x20)[0x51bf70]
./sublime_text[0x759444]
./sublime_text(_ZN13SyntaxManager6reloadEv+0x7e1)[0x75a051]
./sublime_text(_ZN13SyntaxManager4initEP15settings_loaderP11menu_loader+0x25)[0x75baf5]
./sublime_text(_Z12skyline_initP9catalogueP14px_file_systemP15settings_loaderP11menu_loader+0xfd)[0x6a906d]


Odpowiedź
Jon Skinner 13 lat temu
This is a bug in glibc: http://sourceware.org/bugzilla/show_bug.cgi?id=1349
+2

cutting empty line does not overwrite clipboard

George Anderson 11 lat temu 0

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.

+2

Sub-pixel glyph positioning/anti-aliasing breaks box drawing characters

Oleg Oshmyan 13 lat temu 0

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.