FocusIn event, serial 37, synthetic NO, window 0x2c00001, mode NotifyGrab, detail NotifyPointer
KeymapNotify event, serial 37, synthetic NO, window 0x0, keys: 4294967188 0 2 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
/* | |
Writes a left mouse button press or release event | |
directly to the input device of the mouse. | |
Credit for barebones code: https://goo.gl/upXCqR | |
Currently takes one arg which must be either of: | |
BTN_LF_PRESS: write a left mouse button press event | |
BTN_LF_RELEASE: write a left mouse button release event | |
Written by: mattst@i-dig.info @ 2018-03-02 |
def sort_view_items(self): | |
cs = self.settings.case_sensitive | |
if self.settings.sort_by_file_name: | |
sk = lambda vi: (vi.name if cs else vi.name.lower(), vi.group, vi.tab) | |
elif self.settings.sort_by_folder: | |
sk = lambda vi: (vi.folder, vi.name if cs else vi.name.lower()) |
# Code to test the reliability of windll.kernel32.GetFileAttributesW() | |
# by running it on every file (that has read access) on the file system. | |
import os, os.path, sys | |
from ctypes import windll | |
HIDDEN_FILE_ATTRIBUTE = 2 | |
GET_ATTRIBUTES_FAILED = -1 |
# { "keys": ["ctrl+whatever"], "command": "example" }, | |
# { "keys": ["ctrl+whatever"], "command": "example_two" } | |
import sublime, sublime_plugin | |
# ********************* | |
# WindowCommand Version | |
# ********************* |
// > BOXY TOMORROW | |
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
// Definitely, your next theme for Sublime Text 3 | |
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[ | |
// | |
// >> Autocomplete | |
// =========================================================================== | |
// Autocomplete settings and behavior |
# | |
# ST Command: quick_panel_bug_demo | |
# | |
# Run from the console with the command: | |
# window.run_command("quick_panel_bug_demo") | |
# | |
# Or assign it to a key binding using: | |
# { "keys": ["ctrl+whatever"], "command": "quick_panel_bug_demo" } | |
# |
// | |
// Modifications to theme: Boxy Tomorrow.sublime-theme | |
// Location: Packages/User/Boxy Tomorrow.sublime-theme | |
// | |
// The settings below override the theme and its settings | |
// and will be the last values loaded by Sublime Text. | |
// | |
// Note that font sizes can be fractions, e.g. 11.5. | |
// |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- My modifications to the Boxy Tomorrow.tmTheme colour scheme. --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Stan Made</string> | |
<key>colorSpaceName</key> |
// | |
// Modifications to theme: predawn-DEV.sublime-theme | |
// Location: Packages/User/predawn-DEV.sublime-theme | |
// See: Theme Customisation @ https://goo.gl/dTkjuX | |
// | |
// Note that font sizes can be fractions, e.g. 11.5 | |
// | |
[ |