<commit_before>trigger-plugins
===============

A collection of small plugins for [Trigger](http://www.trigger.io) developed primarily for [Fetchnotes](http://fetchnotes.com)

<h1>Usage:</h1>

<h2>Context menu</h2>

forge.internal.call('contextmenu.show',
{
    items:[<i>string1</i>,<i>string2</i>,...]
},
*successCallback*
);

Creates a native context menu and returns the string of the selected item to the success handler.

<h2>Keyboard</h2>
Developed primarily as a workaround for this bug: http://code.google.com/p/android/issues/detail?id=15245

forge.internal.call('keyboard.typestring',
{
    input:<i>string</i>
})

Types the given string by simulating virtual keyboard events<commit_msg>added some nice newlines<commit_after>trigger-plugins
===============

A collection of small plugins for [Trigger](http://www.trigger.io) developed primarily for [Fetchnotes](http://fetchnotes.com)

<h1>Usage:</h1>

<h2>Context menu</h2>

forge.internal.call('contextmenu.show',<br/>
{<br/>
    items:[<i>string1</i>,<i>string2</i>,...]<br/>
},<br/>
*successCallback*<br/>
);

Creates a native context menu and returns the string of the selected item to the success handler.

<h2>Keyboard</h2>
Developed primarily as a workaround for this bug: http://code.google.com/p/android/issues/detail?id=15245

forge.internal.call('keyboard.typestring',<br/>
{<br/>
    input:<i>string</i><br/>
})

Types the given string by simulating virtual keyboard events
{'fraction_non_alphanumeric': 0.17277125086385625, 'fraction_numerical': 0.01796821008984105, 'mean_word_length': 5.2956521739130435, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4748834', 'n_tokens_mistral': 483, 'n_tokens_neox': 467, 'n_words': 117}