Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link matchers do not work with multi-line links #24

Closed
TDaglis opened this issue Apr 28, 2015 · 13 comments
Closed

Link matchers do not work with multi-line links #24

TDaglis opened this issue Apr 28, 2015 · 13 comments
Assignees
Labels
Milestone

Comments

@TDaglis
Copy link
Contributor

TDaglis commented Apr 28, 2015

No description provided.

@Tyriar Tyriar added the addon label May 15, 2017
@Tyriar Tyriar changed the title Linkify addon does not work with multi-line links Link matchers do not work with multi-line links May 15, 2017
@Tyriar Tyriar added type/bug Something is misbehaving and removed addon labels May 15, 2017
@martellaj
Copy link

Is there anyone looking into this issue? It's a killer for VS Code's integrated terminal.

@webdeb
Copy link

webdeb commented Sep 21, 2017

+1

@parisk
Copy link
Contributor

parisk commented Sep 21, 2017

Hi @martellaj, right now this is not assigned to anyone, so no one is looking into this.

We will get on top of this, as soon as we find the required amount of time.

And of course PRs are always welcome 😁.

@Tyriar
Copy link
Member

Tyriar commented Sep 26, 2017

I believe all the pre-requisites for this are now done:

  • The buffer knows when lines are wrapped (at least on Linux/macOS)
  • There is a relatively fast method to grab the entire line as a string
  • Links no longer need to juggle the DOM so it will be possible to get multi-line lines with both parts reacting when hovering

I won't be able to pick this up any time soon. Here's what needs to be done for those interested:

@Tyriar
Copy link
Member

Tyriar commented Dec 22, 2017

We also want to make sure links work when the data goes off the screen to the right. This should be tackled at the same time as multi-line links

@chirgjn
Copy link

chirgjn commented Jan 25, 2018

I would like to take a stab at this. I have done a fair bit of js for past 2 years and am looking forward to get my first pull request. I can pick this up on the coming weekend if that is fine with everyone 😊

@Tyriar
Copy link
Member

Tyriar commented Jan 29, 2018

@chirgjn by all means. As a hint on where to start you will need to have the MouseZone's support ranges that can span multiple lines, and then check if lines are marked with isWrapped and if so check for lines on the entire wrapped line and create the appropriate MouseZone. This will mostly involve working in Linkifier.ts and MouseZoneManager.ts

@chirgjn
Copy link

chirgjn commented Jan 30, 2018

Thanks, picking this up this weekend 😃

@bastichelaar
Copy link

@chirgjn any progress on this?

@Tyriar
Copy link
Member

Tyriar commented Feb 27, 2018

@bastichelaar it's one of the handful of things I want to get to next if a PR doesn't come in.

Tyriar added a commit to Tyriar/xterm.js that referenced this issue Feb 27, 2018
@Tyriar Tyriar added this to the 3.3.0 milestone Feb 27, 2018
@Tyriar Tyriar self-assigned this Feb 27, 2018
@chirgjn
Copy link

chirgjn commented Feb 28, 2018 via email

@Tyriar
Copy link
Member

Tyriar commented Feb 28, 2018

@chirgjn FYI I've started working on it and plan to finish it off in probably the next week or 2 #1303

@webdeb
Copy link

webdeb commented Mar 21, 2018

@Tyriar thank you for the work on it, I'll check out your changes, maybe I'll be able to help out next time! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants