Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
![](https://cdn.userecho.com/characters/82.png?1)
Save on view leave dirty marker even if is_dirty is false
The following plugin will create a new file, open the new file, write to it and then save. Even though the file is marked as not dirty, the tab indicate that it is dirty and trying to close the file prompt the save dialog.
import sublime, sublime_plugin
target = None
def insert_world(view):
edit = view.begin_edit()
view.insert(edit, 0, "Hello world!")
view.end_edit(edit)
view.run_command('save')
print view.is_dirty() # print False
class SaveStillDirtyBugListener(sublime_plugin.EventListener):
def on_load(self, view):
global target
if target is None:
return
if view.file_name() == target.file_name():
insert_world(view)
target = None
class SaveStillDirtyBugCommand(sublime_plugin.TextCommand):
def run(self, edit):
with open('test', 'w+') as test:
test.close()
view = self.view.window().open_file('test')
if view.is_loading():
global target
target = view
else:
insert_world(view)
![](https://cdn.userecho.com/characters/79.png?1)
Tab characters should be counted as multiple columns
![](/s/cache/a0/d3/a0d344ebee56c9e8a6f374350fe412e4.png)
Shift + F10 should open context menu in Windows.
ST ignores Shift + F10, it is standard for opening context menu in other applications and Windows in general.
![](https://cdn.userecho.com/characters/82.png?1)
Extend window when activating side bar (like a drawer)
When you view/invoke the side bar in Sublime Text 2, the width of the window stays constant—the side bar appears on the left, code in the middle and the mini-map on the right. This usually “squishes” the code view…
It would be nice if there was a way to keep the code and mini-map locked to a specific width and force the window to grow wider when you invoke the side bar. Displaying it as a "drawer" is not really necessary, but making the window expand is mainly what I am suggesting.
![](/s/cache/ff/fb/fffbb9818b4e0d657e7413f9a08b72ed.png)
with auto_complete_commit_on_tab set to true, return does not clear autocomplete list
![](https://cdn.userecho.com/characters/77.png?1)
Support opacity in selectionBorder theme color
![](https://cdn.userecho.com/characters/73.png?1)
Cursor in Vintage command mode is a little funny
![](https://cdn.userecho.com/characters/89.png?1)
Paste doesn't work on Mac OS when using non-english keyboard layout
![](https://cdn.userecho.com/characters/85.png?1)
scroll_past_end=false: buffer scrolls not restored
When having `scroll_past_end` set to false, workspace buffer scroll positions are not restored upon Sublime close & relaunch, or project switch, except the first visible buffer. Cursor positions within each of buffers are preserved, and selections are preserved too, but all but one buffer scroll positions are reset to top.
Having `scroll_past_end` set to true, scroll positions are preserved properly, both on relaunch and project switch.
![](https://cdn.userecho.com/characters/74.png?1)
Quad Vertical Pane?
Bring it back please!
Служба підтримки клієнтів працює на UserEcho