<commit_before>This jQuery plugin is for easily finding the starting and ending positions of selected text in text fields and textareas. It can also be used to set the selection, and replace the selection with given text (or insert text wherever the cursor is in the text field or textarea).

## Methods
* [$().textrange('get')](https://github.com/dwieeb/jquery-textrange/wiki/Get)
* [$().textrange('set')](https://github.com/dwieeb/jquery-textrange/wiki/Set)
* [$().textrange('replace')](https://github.com/dwieeb/jquery-textrange/wiki/Replace)

## Demo
* http://jsfiddle.net/F29Qz/<commit_msg>Adding a live demonstration for the plugin.<commit_after>This jQuery plugin is for easily finding the starting and ending positions of selected text in text fields and textareas. It can also be used to set the selection, and replace the selection with given text (or insert text wherever the cursor is in the text field or textarea).

## Methods
* [$().textrange('get')](https://github.com/dwieeb/jquery-textrange/wiki/Get)
* [$().textrange('set')](https://github.com/dwieeb/jquery-textrange/wiki/Set)
* [$().textrange('replace')](https://github.com/dwieeb/jquery-textrange/wiki/Replace)

## Demo
* http://dwieeb.github.com/jquery-textrange/
{'fraction_non_alphanumeric': 0.13996763754045308, 'fraction_numerical': 0.0016181229773462784, 'mean_word_length': 5.123762376237623, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5117501', 'n_tokens_mistral': 383, 'n_tokens_neox': 356, 'n_words': 115}