jps,
Any chance you can fix this two issues:
ST3 Bug report: Panels not scrolling automatically
And
ST3 Bug: delete file hangs
They are the major annoyances I have with ST3 at the moment.
Thanks!
ā Felipe.
jps,
Any chance you can fix this two issues:
ST3 Bug report: Panels not scrolling automatically
And
ST3 Bug: delete file hangs
They are the major annoyances I have with ST3 at the moment.
Thanks!
ā Felipe.
Can you enable the console logging described in the first post of this topic, and send the output to support@sublimetext.com?
fcoury: The file deleting issue on OS X is fixed in 3009
after upgrading from 3008 to 3009 on osx i got this
i rolled back to 3008, but maybe this will help to fix something
[quote]Process: Sublime Text [39821]
Path: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Identifier: Sublime Text
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [235]
Date/Time: 2013-02-01 16:15:44.484 +0300
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @loader_path/ā¦/Frameworks/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
Reason: image not found
Binary Images:
0x10dad2000 - 0x10df7ffff +Sublime Text (??? - ???) /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
0x7fff6d6d2000 - 0x7fff6d706baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff852bd000 - 0x7fff852bdfff com.apple.Cocoa (6.6 - ???) <7EC4D759-B2A6-3A99-AC75-809FED1500C6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff87be0000 - 0x7fff87be0fff com.apple.Carbon (153 - 153) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
[/quote]
[quote=ācastles_made_of_sandā]@Quarnster
ā¦
How you do the upgrade?[/quote]
Itās a bit complex, actually. I had 3007 running as āSublime Textā and 3008 running as āSublime Text 3008ā. 3008 was the one that was updated to 3009 and the āsublā command was pointing to the āSublime Textā path so was launching 3007 (but the window of the now 3009 was the one that moved to the front, despite the file being opened in 3007). The confusion was severe as to why I couldnāt alt+~ between the two open ST3 windows until I realized what was going on
Indexing now working on windows XP ! And i must say iām really impressed by how fast indexing was done o0 (i have a project with more than 4k files, with different languages)
Is there anyway, to say, add a python virtualenv to the symbol index, but have it NOT show up in the goto anything panel (ctrl+p )?
@castles_made_of_sand: You mean like providing āGoto Definitionā support but not āSymbol Listā?
Then what? I donāt really understand.
And slightly going OT here, but it seems like the forumās serverās clock is about 1:20min ahead despite selecting the correct timezone in preferences.
Edit: Something I just discovered: When I opened ST3 portable for the first time it displayed the sidebar. I could not close the sidebar (using āctrl+k, ctrl+bā) until I selected āView > Side Bar > Show open filesā, after that it works as expected.
Yes, I noticed that too. Ctrl+k, Ctrl+b seems not work without enabling view open files, but itās also stopped working for me on a few other occasions.
view.insert in ST2 had this description:
Inserts the given string in the buffer at the specified point. Returns the number of characters inserted: this may be different if tabs are being translated into spaces in the current buffer.
In ST3 view.insert returns nothing. Is there a reason for this, and can we get it to return the characters inserted again?
Note: This post is courtesy of boredom, I guess.
I reviewed the āsublime.pyā file, mostly adjusting it to match pep8, add a few āisinstanceā checks, removed a typo, added some blank lines to separate (probably similar) constants and removed the call of āsublime_api.settings_getā respectively. Check the revisions for the changes I made, the first commit was the original file.
gist.github.com/4694665
Edit: Updated magic for Selection class because as it works now there is no way that comparing two Selection instances of the same view construct different lists due to their wrapper nature. The only possibilities that these could differ are 1. that the selection is changed by some other thread between evaluating the two operands and 2. Selection instances of different views. Thus, comparing the view_id attributes seems more accurate/reliable. āltā cannot really be implemented. āstrā can be used to compare older Selection objects with an updated one due to wrapper nature. See also.
Iām using plugin_loaded() to import a module which is working fine, but Iām getting an error
"sublime_plugin.py", line 133, in on_api_ready
for m in sys.modules.values():
RuntimeError: dictionary changed size during iteration
Is there any way to avoid this?
Canāt you just import the module the normal way? plugin_loaded is only required for API calls, itās best to do module imports before that, so the application isnāt blocking on IO
[quote=ājpsā]
Canāt you just import the module the normal way? plugin_loaded is only required for API calls, itās best to do module imports before that, so the application isnāt blocking on IO[/quote]
Iām using a string from the packageās sublime-settings file to load the module which only contains completions.
If thatās a really bad idea, Iād love some recommendations.
The most direct solution would be to use set_timeout or set_timeout_async. The latter will run the passed in function in a separate thread, so is preferable if itās not going to cause trouble elsewhere. Module importing in Python is threadsafe, although I donāt know off the top of my head if custom importers need to do anything to maintain this guarantee. All plugins are loaded through a custom importer, MultizipImporter in sublime_plugin.py.
jps, what is your stance on the smart_indent issue described here: smart_indent bug? ?
Without any knowledge of ST internals Iām daring to assume that this is an easy fix. Is it possible to get it in ST3? This is a blocker for me and, Iām sure, for some other people as well. Using ST for languages without braces and some other editor for braced languages will beā¦ awkard.
I tried to do a proper workaround by adjusting the Default keymap, but it seems that anything that does \n insertion is a suspect (i.e. āoā/āOā commands in Vintage and probably other things) - not to mention unindent on ā}ā.
small bug i think
https://gist.github.com/a068888801aaac1b050e
I like emacs keybindings so I plan to reconfigure my bindings to match. Iām starting with ctrl-g, which is basically escape.
There are a few instances where hitting ctrl-g doesnāt have the effects of esc.
show_files overlay => calling ctrl-g closes the box, but leaves the preview of the file open, which is very strangeā¦ hitting esc has the correct action
prompt_select_workspace => ctrl-g does nothing, only escape works (more than likely because this is a popup windowā¦ anyway to unify?)
a good example of where this behavior is correct is in the āgoto definitionā. the keybinding in fact is honored here and kills the preview properly.
on a side note: how do you go about altering the built in packages? I want to change some of the syntax for the lisp package but it appears the packages are not easily accessible for updating, and even if I could, would get overwritten with a version update.
and what about clearing the console?