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

-3

add_regions erases the previous regions with the same name.

Filipe Cabecinhas 12 years ago updated 12 years ago 0
add_regions() doesn't add regions. It replaces previous regions with the same name.

add_regions() with the same region name as a region already present in the view will replace the existing regions, instead of adding to them (as the name implies).

Example:
>>> v = sublime.windows()[0].active_view()
>>> v.add_regions('a', [v.full_line(v.text_point(133,0))], 'string', 'circle', sublime.HIDDEN)  # A circle is added, in line 133
>>> v.add_regions('a', [v.full_line(v.text_point(137,0))], 'string', 'circle', sublime.HIDDEN)  # The first circle is deleted and a circle is added to line 137

I was expecting to have two circles, one in line 133, one in line 137.

Regards,

  Filipe

-3

OS-hidden folders/files should not show up in side bar or find results

Hans Meyer 12 years ago updated by stijn 12 years ago 1
Per Visual Studio, folders/files marked as "hidden" at the OS level should not show up in the side bar or find results.
-3

Auto hide the function list window under some circumstances

codex 12 years ago updated 12 years ago 0
I am used to Slickedit's "next function/prev function" keyboard bindings.   So far, the closest approximation ST2 is to use <Command-R><Up/Down> to show the function list, and then using the arrow keys to move to the next function.  However, if I should simultaneously press Command, R, and an arrow key, and keep Command and R depressed while I select a function, the selection window will not automatically go away when I release the keys--it requires <Enter>.  This makes quick selection difficult (the same problem also occurs with Command-P).  There are some other problems with this method as well, such as:

- the next function is not visible in the function list, because the current function is always at the bottom
- the chosen function is not always in the same spot in the editor window (e.g. middle), and I can't easily find it because my eyes were focused on the function list as the editor window was scrolling around. 
-3

Google Closure Template

Niken Wijaya 12 years ago updated by Peter Meier 11 years ago 1

Would you please add syntax highlight for google closure template :)

-3

Command line interface should be available

whoru 11 years ago updated 11 years ago 0

There is no way to edit files on a headless system.

-3

Italic rendering does not work properly with the font I use

William Ledoux 12 years ago updated by Darin Morrison 12 years ago 2
Hi there,

The new italic rendering of text  does not work with the font I use, making the text unreadable.
Each italic character seems to take double the space, as you can see on the screenshot below:

Image 56

The font is HobTiny, you can download it for free: 
http://dr-hoiby.com/res/HobTiny.php
I think it only works on Windows.

Thanks for the amazing work
William Ledoux
-3

GBK格式乱码,怎么才能支持GBK编码啊?

陪心看海 12 years ago 0

请问有办法支持gbk编码吗?

-3

Can I set ST2 to be my default editor instead of having to manually choose it each time?

Carol Magdalein 12 years ago 0
Every time I open a file from Finder (Mac, obviously) I have to choose ST2 manually. I'd like to just open any text-based file in ST2 automatically.
-3

Show open files in sidebar

Winston Chang 12 years ago updated 12 years ago 1
I tend to keep a lot of files open at once (often 10 or more), and this makes it difficult to read the filenames in the tabs. 

It would be nice to be able to show the open files in the sidebar, or at least have some way of listing them vertically (as opposed to horizontally) so that the filenames don't have to be truncated.

If they are in the sidebar, there will have to be a way to separate them from the folder view, of course. Maybe the open file list could go above the folder view?
-3

Switch Project In Window Colors

Frag Chavez 12 years ago 0
It would be nice for the "Switch Project In Window..." options to be a little easier to read.  The style is nice, but perhaps a more readable color for the primary name of the project as it is difficult to read through a long list of these with the scales of gray that are currently in use.