Add command to get hat decorations#4
Open
JohnEffo wants to merge 71 commits intocursorless-everywhere:mainfrom
Open
Add command to get hat decorations#4JohnEffo wants to merge 71 commits intocursorless-everywhere:mainfrom
JohnEffo wants to merge 71 commits intocursorless-everywhere:mainfrom
Conversation
…e-hats.json for consistency FYI @rntz
…e windows automatically
…visible ranges, not VS Code's. This means that we no longer depend on the size of the sidecar at all, and unblocks splits (because there wasn't a API to change the scroll position of a non-active editor)
…e so we don't need to update scroll
…ck up the new plugin; instead, just uninstall/reinstall. This might be slightly slower but avoids dealing with merge conflicts related to the version file, and also makes branching easier.
for more information, see https://pre-commit.ci
Author
|
Not ready for merge. |
…com/JohnEffo/cursorless-everywhere into feature/add-retrieve-cursor-command
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…com/JohnEffo/cursorless-everywhere into feature/add-retrieve-cursor-command
for more information, see https://pre-commit.ci
phillco
pushed a commit
that referenced
this pull request
Jul 9, 2023
## Checklist - [x] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [x] I have not broken the cheatsheet - [x] I have tested building the docs Replace the hand-written diagram of relative / ordinal modifiers with one generated by LaTeX / tikz. If it is necessary in the future to change this image, you can reuse and modify the below latex code to regenerate it. ``` \documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing,calligraphy} % to convert pdf -> png: % convert -density 300 relative-ordinal.pdf -quality 100 -background white -alpha remove relative_ordinal.png \begin{document} \def\spacing{1.4cm} \newcommand{\ibrace}[4]{ \draw [decorate, decoration = {brace, amplitude=5pt}] (#2*\spacing, #1*0.8cm + 0.5cm) -- (#3*\spacing, #1*0.8cm + 0.5cm) node[above=5pt, pos=0.5, scale=0.8] {\texttt{"#4"}}; } \newcommand{\bbrace}[4]{ \draw [decorate, decoration = {brace, amplitude=5pt}] (#2*\spacing, #1*0.8cm + 0.5cm) -- (#3*\spacing, #1*0.8cm + 0.5cm) node[above=-20pt, pos=0.5, scale=0.8] {#4}; } \newcommand{\funk}[3]{ \draw[fill=black] (#1*\spacing,0) circle (0.1cm) node[below=#2, text width=1cm,align=left,scale=0.7] (F#1) {\texttt{"#3"}}; } \begin{tikzpicture}[ultra thick] \funk{0}{0pt}{first funk} \funk{1}{0pt}{second funk} \funk{2}{0pt}{third previous funk} \funk{3}{0pt}{second previous funk} \funk{4}{0pt}{previous funk} \funk{5}{0pt}{funk} \funk{6}{0pt}{next funk} \funk{7}{0pt}{second next funk} \funk{8}{0pt}{third next funk} \funk{9}{0pt}{second last funk} \funk{10}{0pt}{last funk} \draw[latex-] (F5) -- +(0,-0.8cm) node[below=2pt,scale=0.8] {input target}; \ibrace{0}{6}{8}{next three funks}; \ibrace{0}{2}{4}{previous three funks}; \ibrace{1}{5}{7}{three funks}; \ibrace{2}{3}{5}{three funks backward}; \ibrace{0}{0}{1}{first two funks}; \ibrace{0}{9}{10}{last two funks}; \bbrace{-3}{10}{0}{iteration scope}; \end{tikzpicture} \end{document} ``` --------- Co-authored-by: Martin Rykfors <martin.rykfors@evolabel.com>
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.
What is this