@carocad: Proto REPL doesn't use the Atom Ink console but it would be an interesting experiment to try it. You could take a look at the Julia client to see how it's used https://github.com/JunoLab/atom-julia-client/blob/master/lib/runtime/console.coffee
I have a feeling you might be thinking of putting the icon in the existing REPL output of Proto REPL. It would be useful to have an icon there next to specific lines to indicate if it's standard output or the results of execution, docs, etc.
You should take a look at https://github.com/jasongilman/proto-repl/blob/master/lib/repl-text-editor.coffee
The appendText function is what you would want to change: https://github.com/jasongilman/proto-repl/blob/master/lib/repl-text-editor.coffee#L194
Every proto repl writes something to the REPL it does it using that method.
You should be able to use the atom decorations API to add a class when text is appended. Each class would add an icon in the gutter. http://blog.atom.io/2014/07/24/decorations.html https://github.com/atom/decoration-example
I think this comment should work to put icons in the gutter https://discuss.atom.io/t/icon-inside-gutter/19514/8
@jasongilman: thanks for the detailed input. I have never programmed in coffescript so this might take a while 😕. BTW, yes I was thinking about putting the icons on the REPL output of Proto-repl. Is there any specific reason why the repl is not modeled as an ink-console but as a special editor pane?
@carocad The only reason is that I started it before I knew about Atom ink. I haven't evaluated whether the console would work well for Proto REPL or not.