From cd77e40942c440507ee22cb4ab81a0f2ccc2b108 Mon Sep 17 00:00:00 2001 From: Rui Okada Date: Wed, 10 Jan 2024 21:04:33 -0800 Subject: [PATCH] Make minor style changes --- atomic_soft_tab_nav.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/atomic_soft_tab_nav.py b/atomic_soft_tab_nav.py index 5d00f1a..2bc6563 100644 --- a/atomic_soft_tab_nav.py +++ b/atomic_soft_tab_nav.py @@ -36,7 +36,7 @@ def on_text_command(self, view, command_name, args): """ Handles the case when the cursor will enter a soft tab. The author is unaware of how to cancel keyboard input - commands so here we programatically move the cursor to the + commands, so here we programatically move the cursor to the next edge of soft tab the cursor will enter and then move the cursor back/forward one character to "cancel" the original left/right key input. @@ -80,7 +80,7 @@ def on_text_command(self, view, command_name, args): elif args.get('by') == 'lines' and self.plugin_settings.get('enable_line_nav'): """ Handles the case when the cursor moves onto a soft tab - from a line above or below. In this case we programatically + from a line above or below. In this case, we programatically move the cursor to the next line and then replace the original keyboard input with left/right keydown depending on where the cursor is in the current soft tab block. This will @@ -129,7 +129,6 @@ def on_text_command(self, view, command_name, args): # Window Commands of Preferences - class AtomicSoftTabNavSetLineNavSettingsCommand(sublime_plugin.WindowCommand): def run(self, **args): if 'enable' in args: