Andyman wrote:
I would like to run an interpretor (ocaml or f#) in the output window. This
works easily enough by adding a "go" command in the options file.
To be really useful I would then like to be able to select text in the
editor window then hit a hotkey to run that text in the interpretor.
...
Thinking a bit about this it doesnt seem a totally trivial thing. Is
something like this possible?
You are correct - it isn't. ;)
Wanting something like this is why I wrote the OCaml lexer... when I
then realized that it wouldn't get me where I wanted to go, I created
a complete Scintilla binding for LablGTK. Then I based a new OCaml
toplevel GUI (all in OCaml) on that.
Generally, your toughest problem is that the OCaml toplevel itself is
not implemented such that its output is easily parsed - it scatters
its error and diagnostic messages across both stdout and stderr
(sometimes the output for a single construct is split across both).
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest