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.
[1] | Google Search golang empty string check |
[2] | Google Search golang string last character |
[3] | Google Search golang last character in string |
[4] | Google Search golang double quote in string |
[5] | GitHub - siongui/dart-online-input-method-pali: Pali (Pāli, Pāḷi) online input method using Dart programming language |
[6] | Google Search javascript ime |
[7] | Google Search google input tools source code |
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