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

Multiple results in the same line #60

Open
mauricioszabo opened this issue Jul 11, 2016 · 1 comment
Open

Multiple results in the same line #60

mauricioszabo opened this issue Jul 11, 2016 · 1 comment

Comments

@mauricioszabo
Copy link
Contributor

Hello, I'm trying to write a package to integrate with proto-repl. One of the things I want to do is something like LightTable's watch expressions.

Problem is, Ink right now only supports a single inline result per line. I can work-around this, creating an hierarchical structure, in a single result, but will Ink support multi-line results?

@MikeInnes
Copy link
Member

This is definitely a problem which we need to solve. Aside from things like watches we also have to think about things like debugger uis, lint warnings, profiling annotations and so on.

At the moment I think the solution will be to wrap Atom's editor overlays with some kind of LineAnnotation type, which will have a priority setting (for ordering, like the status bar) and will organise itself so as not to overlap with other LineAnnotations on the same line. That'll also help with the amount of code sharing between the components mentioned above, which is currently suboptimal.

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

No branches or pull requests

3 participants