Is it possible to have two carets in a single textbox, or have two separate textboxes focused at the same time allowing the user to type into both symataniously?
I know you can simulate this by adding a keydown listener and making their values match, but I want the visible caret in both fields.
If not, does anyone have any ideas on how to simulate this?
Ace editor supports multiple cursors/carets like Sublime Text:
http://ajaxorg.github.io/ace/
Ctrl+Click (or Cmd(⌘)+Click on OS X) in the live demo on that page to get multiple cursors and type away!
You can also select a bunch of code and use Tab to indent a tab space, or Shift+Tab to outdent a tab space.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With