OCamlPro / ocaml-top

A simple cross-platform OCaml code editor built for top-level evaluation.
http://typerex.org/ocaml-top.html
GNU General Public License v3.0
64 stars 8 forks source link

Limit the scope of auto-reindentation #18

Closed AltGr closed 11 years ago

AltGr commented 11 years ago

Still needs to find the best compromise to be correct when expected but not disturb the user when editing in the middle of an expression.

AltGr commented 11 years ago

Fixed by ddce254b4f840826b9f32864f4b6b9aa39928ad3 : now only the current line is reindented while you type, the indent of lines after is delayed to the moment the cursor changes line. Seems to be a great compromise.