Commit 655c8f0
committed
Refactor NavigateUp/Down to use standard locations
The NavigatUp/NavigateDown functions have, until now, had their own
navigation implementation: setting a mark, changing the cursor position.
However, as we have standard functions for handling locations, it makes
sense to use them, especially with the new optional user callback, as this
makes the callback usage more predictable. The callback will now be
passed a "location" object (which looks like a quickfix item) with the
same structure as the locations returned to GotoDefinition callbacks and
FindUsages callbacks etc.1 parent 0d72875 commit 655c8f0
File tree
1 file changed
+13
-18
lines changed- autoload/OmniSharp/actions
1 file changed
+13
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
4 | 9 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
20 | 16 | | |
21 | 17 | | |
22 | | - | |
| 18 | + | |
23 | 19 | | |
24 | | - | |
25 | | - | |
| 20 | + | |
| 21 | + | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | | - | |
| 29 | + | |
34 | 30 | | |
35 | | - | |
36 | | - | |
| 31 | + | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
| |||
0 commit comments