Inspired by palipad (demo of palipad),
- Development environment is
Ubuntu 15.10
andGo 1.5.2/1.5.3/1.6
. - Download and install Go and modify GOROOT in Makefile.
Install GopherJS and its DOM binding:
$ make install
Run the code by:
$ make
Then open your browser at localhost:8000
See project page.
Released in public domain. See UNLICENSE.
Dart:
- dart - Use static variable in function() - Stack Overflow
- String class - dart:core library - Dart API
- events - Respond immediately to textarea changes in Dart - Stack Overflow
TODO: Use selection
- javascript - Get cursor position (in characters) within a text Input field - Stack Overflow
- dart - TextArea cursor position - Stack Overflow
- dart - caret position in an editable div (dartlang) - Stack Overflow
- selection - Setting and getting selectionrange/caret position in contenteditable div element (dart) - Stack Overflow