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

0

AsyncProcess::read_stdout() fails decoding when receiving split UTF-8 sequences

Mathias Anderssén 13 year бұрын • 0

I discovered an issue with AsyncProcess::read_stdout() and read_stderr() in exec.py: If for some reason os.read() returns a split UTF-8 sequence the decoding will fail.


I found this by having a custom build system running g++ on a remote machine over Putty's plink.exe


Not being proficient in Python the fix I use is to simply buffer up the returned data:


    def read_stdout(self):

        buf = bytes()

        while True:

            data = os.read(self.proc.stdout.fileno(), 2**15)

            if len(data) > 0:

                buf += data

            else:

                if len(buf) > 0 and self.listener:

                    self.listener.on_data(self, buf)

                self.proc.stdout.close()

                if self.listener:

                    self.listener.on_finished(self)

                break


0

open_files_in_new_window spontaneously not working

Edward Grefenstette 14 year бұрын • 0

I've only noticed this behaviour once in Mountain Lion 10.8.2, but Sublime Text  2.0.1 (Build 2217) suddenly started ignoring the setting

"open_files_in_new_window" = true


Restarting the editor did not solve the problem.

The behaviour was fixed by setting this option to false, then back to true again.


I was not doing anything special at the time, so don't really know how to reproduce the bug. Hope this helps someone!

0

bug in C syntax highlighting

-10375 14 year бұрын • 0

Image 172

0

Cancel a running input panel.

Filipe Cabecinhas 15 year бұрын • жаңартылды 15 year бұрын • 0
Hi. I want to be able to cancel an input panel that is visible. How can I do that?
I'm implementing an asynchronous debugger mode and am showing the panel immediately after a command is sent (before the command finishes).

My problem is when the command makes the debugger quit. The panel is already visible. How can I hide it or destroy it?

0

Bookmarking doesn't work while searching

dutzi 15 year бұрын • жаңартылды 15 year бұрын • 0
While searching (Cmd+F), I can't use the Bookmark shortcut (Cmd+F2), only when I close the search box (Esc) I can use it
0

Make the sidebar moveable

Valentin Famelart 14 year бұрын • 0
It would be very nice if we can move the side bar from left to bottom (or somewhere else  and even make it "undockable".


0

More options to be added to command line

Andrey Lukyanov 14 year бұрын • жаңартылды 14 year бұрын • 0
Wish to be able to:
  • open files in read-only mode (should be controlled thru command line)
  • in full screen mode (can be added as Sublime setting or as command line option)
0

"Next Result" should "Show Build Results" if tab was closed.

Yair Chuchem 14 year бұрын • 0

Sometimes I close the build results tab and want to open it again. If I want to jump to a build error, I obviously want it open.


Easier solution: Is there a way to bind keys to "Show Build Results" (haven't found it..)

0

Dropping selections in find panel.

Juha Karttunen 14 year бұрын • 0
Keeping Command key pressed down when clicking on 'Find' should drop a selection.
This way the user could find next by clicking with mouse, and drop a selection by command-clicking. 
0

at the very least, the open folder dialog should have an "open in new window" checkbox

Brad Kent 13 year бұрын • 0