From 1f19441dd831937c073e9b4291b4bed13e1fa12d Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Sun, 31 Jan 2021 17:01:05 +0530 Subject: [PATCH 1/4] Add `gutter_foreground_highlight` to the list of scheme completions. This commit adds the `gutter_foreground_highlight` to the list of scheme completions. --- .../Globals Keys (in-string).sublime-completions | 5 +++++ .../Completions/Globals Keys.sublime-completions | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions b/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions index 501343f6..35842207 100644 --- a/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions +++ b/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions @@ -81,6 +81,11 @@ "details": "Gutter foreground color", "kind": ["keyword", "k", "globals"], }, + { + "trigger": "gutter_foreground_highlight", + "details": "Gutter foreground highlighted color", + "kind": ["keyword", "k", "globals"], + }, { "trigger": "highlight", "details": "Border color of inactive search results", diff --git a/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions b/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions index 9e96cda6..4ce958e0 100644 --- a/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions +++ b/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions @@ -121,6 +121,12 @@ "contents": "\"gutter_foreground\": \"$1\",", "kind": ["keyword", "k", "globals"], }, + { + "trigger": "gutter_foreground_highlight", + "details": "Gutter foreground highlighted color", + "contents": "\"gutter_foreground_highlight\": \"$1\",", + "kind": ["keyword", "k", "globals"], + }, { "trigger": "highlight", "details": "Border color of inactive search results", From a42f070526237fab05fa74208d760a7605b5d5f3 Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Sun, 31 Jan 2021 17:04:24 +0530 Subject: [PATCH 2/4] Add highlighting for `gutter_foreground_highlight`. This commit adds the key to the color scheme syntax file for appropriate highlighting. --- .../Sublime Text Color Scheme.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax b/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax index 599ad840..d959cf2f 100644 --- a/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax +++ b/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax @@ -231,7 +231,7 @@ contexts: |stack_guide|active_guide|guide |misspelling |brackets_foreground|bracket_contents_foreground|tags_foreground - |minimap_border|gutter|gutter_foreground|rulers|fold_marker + |minimap_border|gutter(?:_(?:foreground|foreground_highlight))?|rulers|fold_marker |line_diff_(?:modified|added|deleted) # added in 3186 & 3189 |block_caret(?:_(?:border|underline))? # block_caret added in 3190, others in 4086. )(") From 9a3555c05aec81a45a8d157af8789112cb633831 Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Sun, 31 Jan 2021 17:10:25 +0530 Subject: [PATCH 3/4] Add scroll highlight related keys to the list of scheme completions. This commit adds 1. `scroll_highlight` 2. `scroll_selected_highlight` to the list of scheme completions. --- .../Globals Keys (in-string).sublime-completions | 10 ++++++++++ .../Completions/Globals Keys.sublime-completions | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions b/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions index 35842207..dbe17a45 100644 --- a/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions +++ b/Package/Sublime Text Color Scheme/Completions/Globals Keys (in-string).sublime-completions @@ -166,6 +166,16 @@ "details": "Ruler color", "kind": ["keyword", "k", "globals"], }, + { + "trigger": "scroll_highlight", + "details": "Search results color on scroll bar", + "kind": ["keyword", "k", "globals"], + }, + { + "trigger": "scroll_selected_highlight", + "details": "Search results color of selected on scroll bar", + "kind": ["keyword", "k", "globals"], + }, { "trigger": "selection", "details": "Selection color", diff --git a/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions b/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions index 4ce958e0..23325e73 100644 --- a/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions +++ b/Package/Sublime Text Color Scheme/Completions/Globals Keys.sublime-completions @@ -223,6 +223,18 @@ "contents": "\"rulers\": \"$1\",", "kind": ["keyword", "k", "globals"], }, + { + "trigger": "scroll_highlight", + "details": "Search results color on scroll bar", + "contents": "\"scroll_highlight\": \"$1\",", + "kind": ["keyword", "k", "globals"], + }, + { + "trigger": "scroll_selected_highlight", + "details": "Search results color of selected on scroll bar", + "contents": "\"scroll_selected_highlight\": \"$1\",", + "kind": ["keyword", "k", "globals"], + }, { "trigger": "selection", "details": "Selection color", From 7942eedd7e148e4aca997789ea256d5254f79f78 Mon Sep 17 00:00:00 2001 From: Ashwin Shenoy Date: Sun, 31 Jan 2021 17:15:21 +0530 Subject: [PATCH 4/4] Add highlighting for scroll related global keys. This commit adds the scroll related keys to the color scheme syntax file for appropriate highlighting. --- .../Sublime Text Color Scheme.sublime-syntax | 1 + 1 file changed, 1 insertion(+) diff --git a/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax b/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax index d959cf2f..7fd75426 100644 --- a/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax +++ b/Package/Sublime Text Color Scheme/Sublime Text Color Scheme.sublime-syntax @@ -232,6 +232,7 @@ contexts: |misspelling |brackets_foreground|bracket_contents_foreground|tags_foreground |minimap_border|gutter(?:_(?:foreground|foreground_highlight))?|rulers|fold_marker + |scroll_(?:highlight|selected_highlight) |line_diff_(?:modified|added|deleted) # added in 3186 & 3189 |block_caret(?:_(?:border|underline))? # block_caret added in 3190, others in 4086. )(")