This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
-- OO Classes (API compat with Gideros so we can use busted unit testing) | |
-- You can't mix and match, e.g. MyClass = TCore.class(EventDisatpch) | |
-- doesn't work. That's about the only class you'll need to implement | |
-- on your own for model objects. | |
-- | |
-- @usage | |
-- local MyClass = TCore.class() | |
-- | |
local TCore = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
name = "Modified Cmd-Arrow", | |
description = "Modified Cmd-Arrow keys to behave as Sublime Text 2", | |
author = "Paul Kulchenko", | |
onEditorKeyDown = function(self, editor, event) | |
local keycode = event:GetKeyCode() | |
local mod = event:GetModifiers() | |
local result |