imepali

package module
v0.0.0-...-767a2e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2018 License: Unlicense Imports: 1 Imported by: 0

README

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

Inspired by `palipad <https://code.google.com/p/palipad/>`_
(`demo of palipad <http://palipad.googlecode.com/git/palipad.html>`_),

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 <http://localhost:8000/>`_


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

See `project page <http://siongui.github.io/go-online-input-method-pali/>`_.


UNLICENSE_
==========

Released in public domain. See UNLICENSE_.


References
==========

.. [1] Google Search `golang empty string check <https://www.google.com/search?q=golang+empty+string+check>`__

.. [2] Google Search `golang string last character <https://www.google.com/search?q=golang+string+last+character>`__

.. [3] Google Search `golang last character in string <https://www.google.com/search?q=golang+last+character+in+string>`__

.. [4] Google Search `golang double quote in string <https://www.google.com/search?q=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 <https://github.com/siongui/dart-online-input-method-pali>`_

.. [6] Google Search `javascript ime <https://www.google.com/search?q=javascript+ime>`__

.. [7] Google Search `google input tools source code <https://www.google.com/search?q=google+input+tools+source+code>`__

Dart:

- `dart - Use static variable in function() - Stack Overflow <http://stackoverflow.com/questions/22747125/use-static-variable-in-function>`_

- `String class - dart:core library - Dart API <https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:core.String>`_

- `events - Respond immediately to textarea changes in Dart - Stack Overflow <http://stackoverflow.com/questions/14433156/respond-immediately-to-textarea-changes-in-dart>`_

TODO: Use selection

- `javascript - Get cursor position (in characters) within a text Input field - Stack Overflow <http://stackoverflow.com/questions/2897155/get-cursor-position-in-characters-within-a-text-input-field>`_

- `dart - TextArea cursor position - Stack Overflow <http://stackoverflow.com/questions/22797294/textarea-cursor-position>`_

- `dart - caret position in an editable div (dartlang) - Stack Overflow <http://stackoverflow.com/questions/21730134/caret-position-in-an-editable-div-dartlang>`_

- `selection - Setting and getting selectionrange/caret position in contenteditable div element (dart) - Stack Overflow <http://stackoverflow.com/questions/28477487/setting-and-getting-selectionrange-caret-position-in-contenteditable-div-element>`_


.. _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/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindPaliInputMethodToInputTextElementById

func BindPaliInputMethodToInputTextElementById(id string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL