[ST4] Add support for various block_caret_ global settings in color schemes.#317
Merged
FichteFoll merged 4 commits intoSublimeText:masterfrom Jan 6, 2021
Merged
Conversation
This commit adds completions for various `block_caret_` globals introduced in Build 4086.
This commit adds appropriate highlighting for `block_caret_` globals in color schemes.
This commit 1. Adds the `block_caret_corner_radius`. 2. Fixes an issue where `block_caret` wasn't being highlighted.
Contributor
Author
|
Made a commit that adds |
This commit 1. Places the `block_caret_corner_radius` in the correct context so that the integer radius gets the correct scope. 2. Places the `block_caret_corner_style` in the correct context so that the corner style gets the correct scope.
Contributor
Author
|
I had previously placed all the |
Member
|
Thanks! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR
block_caret_global settings introduced in 4086.Here is a brief summary of them.
block_caret_corner_style: Controls the corner style of block carets. Valid values arecut,round&square.block_caret_border: Controls the color of the block caret's border.block_caret_underline: Controls the color of the block caret inside a selection. The color of the block caret inside a selection will fallback to the color of thecaretglobal ifblock_caret_underlineis not defined.block_caret_corner_radius: Controls the corner radius of block caret. This value lies in the range[0, 10]