Sublime Text 2 is a text editor for OS X, Linux and Windows, currently in beta.
Scrolling doesn't update selection
>>> edit = view.begin_edit('test')>>> view.insert(edit, 0, ("abcd"*12+"\n")*100)>>> view.end_edit(edit)>>> region = sublime.Region(4851, 4899)>>> view.sel().clear()>>> view.show_at_center(region)>>> view.sel().add(region)
At this point, the text should be highlighted, but it is not. Compare with what happens when we add one more line:
>>> view.show_at_center(sublime.Region(4900, 4900))
Voilà, the selection is highlighted.
I noticed this happening when using plugins that highlight and scroll. In my case, I'm using the SimpleMovements plugin to highlight multiple lines. If my view doesn't scroll, the line is not highlighted, which looks like my plugin isn't working!
Second instance of sublime, same file, updates and re-opens at the top of the file after changes
Project build system does not override global one for same selector
inline codeexecution like textmate
<div id="calender">
Caret position is after cal - pressing cmd-e (for execute) will make a best guess on what to execute and execute it (executes cal in a background process / terminal and pipes the generated calendar in as a replacement for cal)
this could then be used in all files like this:
<div id="php-version">
which would then execute php -v to get full version string and place it in the editor.
Also please add basic math features
css files:
b{
left: 10px;
right:10px;
}
Blue shows selection.
b{
left: 10px+144/3;
right:10px+144/3;
}
executing (cmd+e) would then replace selected numbers with the math:
b{
left: 58px;
right:58px;
}
Allow color schemes to be read as JSON natively
Summary: Allow Color schemes to be saved in both XML and JSON. Then auto-detect the file type and parse appropriately.
Whenever I open my color scheme to make a minor edit - it gives me a 'rhetorical headache' - it is so messy and hard and difficult to read and edit XML-Plist files for this kind of content!!!
I have found PlistJsonConverter plugin - which luckily makes things doable again but brings additional problems of losing comments, formatting, structure, etc. I don't see why this can't just be automated and implemented natively. Why should I have to keep converting back and forth between XML-Plist and JSON? Why can't Sublime Text just also support reading Color Schemes in JSON natively if they are found in that format? It would save a lot of headache.
Holding Shift+Option and clicking the button should performa column select
Auto save feature like espresso, or coda ,there no this kind of redactor for windows
in order to view result directly without refresh the brouser and without ctrl+s the document, this will be a wonderfull feature
Tab Settings Not Respecting User Settings
Highlighted text automatic quotes
I actually thought this had started working in the latest build but it doesn't always seem to invoke the same expected behaviour, sometimes appending the opposing quote or not.
Unable to run package setup
File "./PackageSetup.py", line 155, in upgrade
upgradePackage(pkg, pristinedir, datadir, backupdir)
File "./PackageSetup.py", line 148, in upgradePackage
os.path.join(backupdir, base), inhibitOverwrite)
File "./PackageSetup.py", line 64, in upgradeArchive
fname = os.path.join(pkgdir, f)
File ".\posixpath.py", line 70, in join
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 49: ordinal not in range(128)
Служба підтримки клієнтів працює на UserEcho