1,192 karma · joined April 4, 2008
Sublime Text 2 is almost entirely C++ (with a smattering of Objective C for Cocoa and Python for plugins). Coding is generally fairly straight forward: code on one platform (mostly Linux at the moment, but I switch around frequently), and then make sure it still compiles elsewhere.
Sublime Text 2 itself uses a custom UI toolkit. There are a lot of apps where this may not make sense, but it's not such an unreasonable choice for Sublime Text, where I always knew that a lot of the UI controls were going to have to be custom no matter the toolkit (e.g., the text control and tab controls). The UI toolkit sits on top of a cross platform abstraction layer, which is more a union of platform functionality rather than lowest common denominator.
If you're not having any luck with it, it's worth posting on the forums or emailing support@sublimetext.com
Column selection interacts nicely with multiple selections, too: Use Ctrl+Drag (Command+Drag on OSX) to add selections, and Alt+Drag to subtract selections.
You can change the font, but it involves editing the preference files: Have a browse through "Preferences/Default File Preferences", and then copy the relevant keys into "Preferences/User File Preferences" - font_face and font_size in this case.
Documentation for Sublime Text 2 is extremely thin on the ground at the moment, it's something I'll try to address soon.
I'll look into what's going on with the command line handling under Linux.
The top Go.tmLanguage reported by Google appears to be a work in progress though, I'll see if I can get something sorted for the next version - I'd like to have Go support out of the box.
EDIT: Ah, you've added that now. I'll do some investigation: could you let me (jps@sublimetext.com) know which distro you're running?
(I'm the author of Sublime Text, btw)
It's easy for Ubisoft to also force the binary to be cracked: have the client request the server sign a random token with its private key, and verify it with a public key embedded into the client. This way a third party server could only be written if the client was also cracked to either change the key or remove the check.
I don't know how easy it would be to integrate into an existing text editor though. Firstly, the rendering itself. I do it via using the GPU to render textured quads, to get trilinear filtering without a big load on the CPU. Without this filtering, the quality goes out the window: standard font rendering algorithms don't render fonts nicely at tiny sized.
The other issue is performance: consider a large file, and just scrubbing up and down with the scroll bar. With the minimap, you have to be able to render thousands of lines of text efficiently, to keep scrolling smooth. I built the rendering structure around this requirement, and I suspect without a lot of attention, typical text rendering code wouldn't be able to layout and draw the text fast enough. Then again, it's not so bad if you would be happy to accept a few limitations, such as fixed width fonts and no soft word wrapping.
Thanks for the heads up about All Hallows Eve... I'll fix it for the next beta. Minimap is tediously resizeable via Preferences/General Preferences (change the value for the minimapMaxWidth value).
There's no built in command to move to the next/prev whitespace line, but it'd be pretty easy to whip up with a Python plugin.
While doing the morning rounds, and saw that: 1) Cool! Someone likes my editor enough to post it on HN! 2) Well, now I know why my ssh session died.
Unfortunately, there's not much I can do about it from here, so the web site will have to remain down for a while. Thanks for all the kind comments though!