You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So effectively we trigger the command our plugin provides in its top file and pass information about the type of query we want and the parameters we used as a dict encoded as a json string.
@@ -193,13 +193,13 @@ The following resources proved very helpfull for the success of the project. Man
193
193
194
194
* this [tutorial for python tokens](https://www.asmeurer.com/brown-water-python/tokens.html)
195
195
196
-
*[sublime 3 api documentation](https://www.sublimetext.com/docs/3/api_reference.html#sublime.View)
Copy file name to clipboardExpand all lines: doc/README.md
+27-2Lines changed: 27 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,32 @@
2
2
3
3
## Quick Command Overview
4
4
5
-
Here we will briefly go over the commands offered.
5
+
Here we will briefly go over the commands offered.
6
+
7
+
Before we get started, a small general remark: virtually every command starts with the keyword smart!
8
+
This was chosen in order to minimize chances of collision with other commands on your system.
9
+
10
+
```python
11
+
"smart <big_roi> [<big_roi_sub_index>]"
12
+
13
+
"smart <color> [alternative]"
14
+
```
15
+
16
+
however, because for a variety of commands, ommitting the keyword smart makes them more convenient and easier to speak
17
+
you may find the smart keyword in brackets
18
+
19
+
```python
20
+
"[smart] alternative <alternative_index>"
21
+
22
+
"[smart] paste back [<paste_back_index>]"
23
+
24
+
"[smart] paste <color> back"
25
+
```
26
+
27
+
if there are conflicts with other commands, trying to remove those brackets. furthermore, I I think it is best not to put brackets in cases where I haven't.
28
+
29
+
After the small remark let's get started!
30
+
6
31
7
32
### Selection Queries
8
33
@@ -63,7 +88,7 @@ Details vary but that is the. spirit! Ok , what else?
63
88
64
89
### Alternatives
65
90
66
-
As you can see, these commands select some ROI and generate alternatives. These alternatives are shown to the user in an output panel on the bottom of the screen and the top ones get highlighted in the code as well.
91
+
As you can see, these commands select some ROI (region of interest) and generate alternatives. These alternatives are shown to the user in an output panel on the bottom of the screen and the top ones get highlighted in the code as well.
67
92
68
93
We can select one of those alternatives with the alternative rule which comes in two variations:
0 commit comments