TBH, I don't remember where. I actually think Jon posted it. Someone asked about copying the scope to the clipboard and he stepped it with his undocumented black magic.
castles_made_of_sand wrote:C0D312 wrote: I'm still claiming this as a victory.
This... is a knife...
quodlibet wrote:I use the code provided by adzenith here: viewtopic.php?f=3&t=1646&p=7545&hilit=scope+clipboard#p7545
YMMV, but I find this plugin less intrusive as it prints the scope to the statusbar (allowing for quick inspection), but also to the console (which allows you to build lists as well as selective copy & paste). It's also faster if you want to inspect several sections, as you don't have to deal with the popup every time.
quodlibet wrote:I general, I find this functionality to be super useful. Does anyone maybe want to round this out with a couple of options (e.g., disabling the pop-up) and throw it in Package Control?
import sublime, sublime_plugin
def on_selection_modified(self, view):
Users browsing this forum: Alexa [Bot], scythargon and 46 guests