Refactor terminal highlights and open mechanisms

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Kirill Bulatov 2023-07-12 22:08:44 +03:00
parent 91ba80ae98
commit 75d900704e
3 changed files with 19 additions and 7 deletions

View file

@ -392,6 +392,10 @@ impl TerminalElement {
let mut region = MouseRegion::new::<Self>(cx.view_id(), 0, visible_bounds);
// 1. Get file:linenumber syntax working ✔️
// 2. Switch terminal to look for word boundaries, on cmd-hover
// 3. Send those query strings to the resolver thing above
// Terminal Emulator controlled behavior:
region = region
// Start selections