An open API service indexing awesome lists of open source software.

https://github.com/siongui/go-online-input-method-pali

Pali (Pāli, Pāḷi) online input method written in Go, compiled to JavaScript by GopherJS
https://github.com/siongui/go-online-input-method-pali

frontend go gopherjs input-method pali

Last synced: 5 days ago
JSON representation

Pali (Pāli, Pāḷi) online input method written in Go, compiled to JavaScript by GopherJS

Awesome Lists containing this project

README

        

============================================
Go_ Online Input Method - Pali_ (Pāli, Pāḷi)
============================================

Inspired by `palipad `_
(`demo of palipad `_),

Usage
=====

1. Development environment is ``Ubuntu 15.10`` and ``Go 1.5.2/1.5.3/1.6``.

2. Download and install Go_ and modify **GOROOT** in Makefile.

3. Install GopherJS_ and its `DOM binding`_:

.. code-block:: bash

$ make install

4. Run the code by:

.. code-block:: bash

$ make

Then open your browser at `localhost:8000 `_

Online Demo
===========

See `project page `_.

UNLICENSE_
==========

Released in public domain. See UNLICENSE_.

References
==========

.. [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 `_

.. _Go: https://golang.org/
.. _Pali: https://en.wikipedia.org/wiki/Pali
.. _GopherJS: http://www.gopherjs.org/
.. _DOM binding: https://godoc.org/honnef.co/go/js/dom
.. _UNLICENSE: http://unlicense.org/