atom-ink icon indicating copy to clipboard operation
atom-ink copied to clipboard

Multiple results in the same line

Open mauricioszabo opened this issue 9 years ago • 1 comments

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?

mauricioszabo avatar Jul 11 '16 14:07 mauricioszabo

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.

MikeInnes avatar Jul 15 '16 15:07 MikeInnes