Open at055612 opened 2 years ago
Believe we need to include this extra script to make it work ace/ext-split.js
See how it is implemented in the kitchen sink https://github.com/ajaxorg/ace/blob/c2c8c23a0b83adcae928840da6cdf5c921e3ba39/demo/kitchen-sink/util.js#L37
The ace editor has a horizontal and vertical split mode. This may be a useful thing to expose to the users as it can make working on large files easier when you want to see two parts of the same file at once. Would need shortcuts for navigating between splits, e.g.
ctrl-h/j/k/l
, as long as they don't conflict with browser standard shortcuts. Possibly also have key binds to enable the splits.This would be exposed in the existing editor context menu.
See https://ace.c9.io/build/kitchen-sink.html for an example.