From 26f1379ec095170c75f393970e2cb295ae315134 Mon Sep 17 00:00:00 2001 From: Dayanand Prabhu Date: Fri, 16 Jan 2015 16:26:59 +0530 Subject: [PATCH 1/2] Updated editor selector with atom-text-editor as editor is deprecated. --- keymaps/easy-motion.cson | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keymaps/easy-motion.cson b/keymaps/easy-motion.cson index de4ea4b..395a099 100644 --- a/keymaps/easy-motion.cson +++ b/keymaps/easy-motion.cson @@ -7,17 +7,17 @@ # For more detailed documentation see # https://atom.io/docs/latest/advanced/keymaps -'.platform-darwin .editor:not(.mini)': +'.platform-darwin .atom-text-editor:not(.mini)': 'cmd-shift-e': 'easy-motion:start' 'cmd-shift-y': 'easy-motion:start-reverse' -'.platform-darwin .find-and-replace .find-container .editor': +'.platform-darwin .find-and-replace .find-container .atom-text-editor': 'cmd-shift-e': 'easy-motion:start-contextual' 'cmd-shift-y': 'easy-motion:start-contextual-reverse' -'.platform-win32 .editor:not(.mini),.platform-linux .editor:not(.mini)': +'.platform-win32 .atom-text-editor:not(.mini),.platform-linux .atom-text-editor:not(.mini)': 'ctrl-shift-e': 'easy-motion:start' 'ctrl-shift-y': 'easy-motion:start-reverse' -'.platform-win32 .find-and-replace .find-container .editor, .platform-linux .find-and-replace .find-container .editor': +'.platform-win32 .find-and-replace .find-container .atom-text-editor, .platform-linux .find-and-replace .find-container .atom-text-editor': 'ctrl-shift-e': 'easy-motion:start-contextual' 'ctrl-shift-y': 'easy-motion:start-contextual-reverse' From cac2ab9b79bdbb9ad464e38300de3594a4af773b Mon Sep 17 00:00:00 2001 From: Dayanand Prabhu Date: Fri, 16 Jan 2015 16:28:35 +0530 Subject: [PATCH 2/2] Updated class selector edtior with atom-text-editor --- stylesheets/easy-motion.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/easy-motion.less b/stylesheets/easy-motion.less index 9cfebcd..02a625e 100644 --- a/stylesheets/easy-motion.less +++ b/stylesheets/easy-motion.less @@ -4,7 +4,7 @@ // for a full listing of what's available. @import "syntax-variables"; -.editor .easy-motion-cover .letter-cover { +.atom-text-editor .easy-motion-cover .letter-cover { &.single { color: hsl(hue(red), 100% - saturation(@syntax-background-color), 60% - lightness(@syntax-background-color) * 0.2); } @@ -24,6 +24,6 @@ height: 0px; } -.editor.easy-motion-editor .search-results .marker .region { +.atom-text-editor.easy-motion-editor .search-results .marker .region { display: none; }