OCamlPro/tryocaml — pull request #21 by lefessan (2011-12-26 23:02:09+00:00)
Title: First attempt at multiline editing

My first attempt at multiline editing. Testing needed. CSS verification needed.

New command "multiline true/false" to switch between one-line (the default) and multi-line (use ;; as end of input). Is it the most convenient way ?

The prompt type depends on whether we are on the first line or another one. I modified the CSS to be able to change the prompt (use #sharp instead of #sharp:before, don't know the difference...)

I added ;; to the code when clicking so that it works even in multiline mode.