From c9efe880dff6480b84e18989a83a9de30b179248 Mon Sep 17 00:00:00 2001 From: Anpleenko Alexander Date: Wed, 13 May 2026 09:04:24 +0300 Subject: [PATCH] =?UTF-8?q?CRLF=20=E2=86=92=20LF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 44 ++++++------ Packages/Default/toggle_color_scheme.py | 42 +++++------ Packages/User/DupliComment.sublime-macro | 38 +++++----- Packages/User/JS-consolelog.sublime-macro | 88 +++++++++++------------ Packages/User/PlainTasks.sublime-settings | 8 +-- 5 files changed, 110 insertions(+), 110 deletions(-) diff --git a/.gitignore b/.gitignore index fc54964..223bdc6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1,22 @@ -/Cache -/Index -/Local -/Distrib -/Backup -/Trash -/Lib - -bh_unicode_properties.cache -Package Control.last-run -Package Control.ca-list -Package Control.ca-bundle -Package Control.system-ca-bundle -Package Control.cache/ -Package Control.ca-certs/ -*.sublime-project -*.sublime-workspace - -/Installed Packages/* -!Package Control.sublime-package - -/Packages/ +/Cache +/Index +/Local +/Distrib +/Backup +/Trash +/Lib + +bh_unicode_properties.cache +Package Control.last-run +Package Control.ca-list +Package Control.ca-bundle +Package Control.system-ca-bundle +Package Control.cache/ +Package Control.ca-certs/ +*.sublime-project +*.sublime-workspace + +/Installed Packages/* +!Package Control.sublime-package + +/Packages/ diff --git a/Packages/Default/toggle_color_scheme.py b/Packages/Default/toggle_color_scheme.py index e6650ca..0484aaa 100644 --- a/Packages/Default/toggle_color_scheme.py +++ b/Packages/Default/toggle_color_scheme.py @@ -1,22 +1,22 @@ -import sublime, sublime_plugin - -class ToggleColorSchemeCommand(sublime_plugin.TextCommand): - def run(self, edit, **args): - s = sublime.load_settings("Preferences.sublime-settings") - options = args['options'] - if options[0]: - current_scheme = s.get("color_scheme", options[0]['color_scheme']) - current_theme = s.get("theme", options[0]['theme']) - current_option = s.get("color_scheme_option", -1) - - next_option = current_option + 1 - if next_option >= len(options): - next_option = 0 - - if options[next_option]['theme']: - s.set('theme', options[next_option]['theme']) - if options[next_option]['color_scheme']: - s.set('color_scheme', options[next_option]['color_scheme']) - s.set('color_scheme_option', next_option) - +import sublime, sublime_plugin + +class ToggleColorSchemeCommand(sublime_plugin.TextCommand): + def run(self, edit, **args): + s = sublime.load_settings("Preferences.sublime-settings") + options = args['options'] + if options[0]: + current_scheme = s.get("color_scheme", options[0]['color_scheme']) + current_theme = s.get("theme", options[0]['theme']) + current_option = s.get("color_scheme_option", -1) + + next_option = current_option + 1 + if next_option >= len(options): + next_option = 0 + + if options[next_option]['theme']: + s.set('theme', options[next_option]['theme']) + if options[next_option]['color_scheme']: + s.set('color_scheme', options[next_option]['color_scheme']) + s.set('color_scheme_option', next_option) + sublime.save_settings("Preferences.sublime-settings") \ No newline at end of file diff --git a/Packages/User/DupliComment.sublime-macro b/Packages/User/DupliComment.sublime-macro index 57f40f7..3b7da3e 100644 --- a/Packages/User/DupliComment.sublime-macro +++ b/Packages/User/DupliComment.sublime-macro @@ -1,19 +1,19 @@ -[ - { - "args": null, - "command": "duplicate_line" - }, - { - "args": { - "block": false - }, - "command": "toggle_comment" - }, - { - "args": { - "by": "lines", - "forward": false - }, - "command": "move" - } -] +[ + { + "args": null, + "command": "duplicate_line" + }, + { + "args": { + "block": false + }, + "command": "toggle_comment" + }, + { + "args": { + "by": "lines", + "forward": false + }, + "command": "move" + } +] diff --git a/Packages/User/JS-consolelog.sublime-macro b/Packages/User/JS-consolelog.sublime-macro index 27f9466..bc42ff0 100644 --- a/Packages/User/JS-consolelog.sublime-macro +++ b/Packages/User/JS-consolelog.sublime-macro @@ -1,44 +1,44 @@ -[ - { - "args": - { - "to": "bol" - }, - "command": "move_to" - }, - { - "args": - { - "characters": "console." - }, - "command": "insert" - }, - { - "args": - { - "characters": "log" - }, - "command": "insert" - }, - { - "args": - { - "characters": "(" - }, - "command": "insert" - }, - { - "args": - { - "to": "eol" - }, - "command": "move_to" - }, - { - "args": - { - "characters": ");" - }, - "command": "insert" - } -] +[ + { + "args": + { + "to": "bol" + }, + "command": "move_to" + }, + { + "args": + { + "characters": "console." + }, + "command": "insert" + }, + { + "args": + { + "characters": "log" + }, + "command": "insert" + }, + { + "args": + { + "characters": "(" + }, + "command": "insert" + }, + { + "args": + { + "to": "eol" + }, + "command": "move_to" + }, + { + "args": + { + "characters": ");" + }, + "command": "insert" + } +] diff --git a/Packages/User/PlainTasks.sublime-settings b/Packages/User/PlainTasks.sublime-settings index 25c2900..19cee4c 100644 --- a/Packages/User/PlainTasks.sublime-settings +++ b/Packages/User/PlainTasks.sublime-settings @@ -1,4 +1,4 @@ -{ - "color_scheme": "Packages/PlainTasks/tasks-eighties-colored.hidden-tmTheme", - "date_format": "(%H:%M %d-%m-%y)" -} +{ + "color_scheme": "Packages/PlainTasks/tasks-eighties-colored.hidden-tmTheme", + "date_format": "(%H:%M %d-%m-%y)" +}