Skip to content

Commit

Permalink
Fix a small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Jun 1, 2024
1 parent ba766ae commit e850cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-doc/virtual-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ although the "definition" is a website in this case and it opens in a browser wi

More specifically, here's what happens when you press Ctrl+Enter on `self.do_something()`:

1. The `jump_to_definition` sees the Ctrl+Enter. It generates a `<<JumpToDefinitionRequest>>` virtual event.
1. The `jump_to_definition` plugin sees the Ctrl+Enter. It generates a `<<JumpToDefinitionRequest>>` virtual event.
2. The `urls` plugin has done a `.bind("<<JumpToDefinitionRequest>>", ...)`, but it ignores the event.
2. The `langserver` plugin has done a `.bind("<<JumpToDefinitionRequest>>", ...)`,
so a function in the `langserver` plugin runs.
Expand All @@ -137,7 +137,7 @@ More specifically, here's what happens when you press Ctrl+Enter on `self.do_som

And here's what happens when you press Ctrl+Enter on a URL:

1. The `jump_to_definition` sees the Ctrl+Enter. It generates a `<<JumpToDefinitionRequest>>` virtual event.
1. The `jump_to_definition` plugin sees the Ctrl+Enter. It generates a `<<JumpToDefinitionRequest>>` virtual event.
2. The `urls` plugin has done a `.bind("<<JumpToDefinitionRequest>>", ...)`,
so a function in the `urls` plugin runs.
3. The `urls` plugin opens the URL in the default web browser.
Expand Down

0 comments on commit e850cbf

Please sign in to comment.