<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>evolutionHighlight jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71693/evolutionhighlight-jquery-plugin</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>evolutionHighlight jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71693/evolutionhighlight-jquery-plugin</link><pubDate>Thu, 02 Jun 2022 15:18:24 GMT</pubDate><guid isPermaLink="false">58156104-a2d1-4b74-a5ec-b62294c57733</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71693/evolutionhighlight-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Former Member on 06/02/2022 15:18:24&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_evolutionHighlight" name="jQuery_fn_evolutionHighlight"&gt;&lt;/a&gt;jQuery.fn.evolutionHighlight&lt;/h3&gt;
&lt;p&gt;This plugin decorates &lt;code&gt;&amp;lt;textarea&amp;gt;&lt;/code&gt; elements to support highlighting of ranges with CSS class names. Internally, a mirror of the &lt;code&gt;textarea&lt;/code&gt; is created behind it, and highlighted ranges are rendered as &lt;code&gt;span&lt;/code&gt; elements with CSS classes applied. This is used by the [[evolutionComposer jQuery Plugin|evolutionComposer]] plugin to support highlighting.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;p&gt;Highlights two ranges in a &lt;code&gt;textarea&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight({
    ranges: [
        { start: 5, stop: 10, className: 'myHighlightStyle' },
        { start: 13, stop: 34, className: 'myHighlightStyle' }
    ]
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;a id="Options" name="Options"&gt;&lt;/a&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ranges&lt;/code&gt;: array of ranges to highlight. Each range requires
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;start&lt;/code&gt;: Start Index&lt;/li&gt;
&lt;li&gt;&lt;code&gt;stop&lt;/code&gt;: Stop Index&lt;/li&gt;
&lt;li&gt;&lt;code&gt;className&lt;/code&gt;: CSS class name to apply to a wrapper &lt;code&gt;span&lt;/code&gt;. The class should ideally only define a background color, and not any padding or margin.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;
&lt;h4&gt;&lt;a id="clear" name="clear"&gt;&lt;/a&gt;clear&lt;/h4&gt;
&lt;p&gt;Clears highlights.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;clear&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="resize" name="resize"&gt;&lt;/a&gt;resize&lt;/h4&gt;
&lt;p&gt;Safely resizes a &lt;code&gt;textarea&lt;/code&gt; already decorated with &lt;code&gt;evolutionHighlight&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;resize&amp;#39;, width, height);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="css" name="css"&gt;&lt;/a&gt;css&lt;/h4&gt;
&lt;p&gt;Safely applies CSS to a &lt;code&gt;textarea&lt;/code&gt; already decorated with &lt;code&gt;evolutionHighlight&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;css&amp;#39;, {
    border: &amp;#39;2px solid red&amp;#39;,
    fontSize: &amp;#39;15px&amp;#39;
});
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>evolutionHighlight jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71693/evolutionhighlight-jquery-plugin/revision/1</link><pubDate>Fri, 15 Jan 2021 21:45:15 GMT</pubDate><guid isPermaLink="false">58156104-a2d1-4b74-a5ec-b62294c57733</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71693/evolutionhighlight-jquery-plugin#comments</comments><description>Revision 1 posted to API Documentation by Ben Tiedt on 01/15/2021 21:45:15&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.evolutionHighlight&lt;/h3&gt;
&lt;p&gt;This plugin decorates &lt;code&gt;&amp;lt;textarea&amp;gt;&lt;/code&gt; elements to support highlighting of ranges with CSS class names. Internally, a mirror of the &lt;code&gt;textarea&lt;/code&gt; is created behind it, and highlighted ranges are rendered as &lt;code&gt;span&lt;/code&gt; elements with CSS classes applied. This is used by the [[evolutionComposer jQuery Plugin|evolutionComposer]] plugin to support highlighting.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;p&gt;Highlights two ranges in a &lt;code&gt;textarea&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight({
    ranges: [
        { start: 5, stop: 10, className: 'myHighlightStyle' },
        { start: 13, stop: 34, className: 'myHighlightStyle' }
    ]
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;ranges&lt;/code&gt;: array of ranges to highlight. Each range requires
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;start&lt;/code&gt;: Start Index&lt;/li&gt;
&lt;li&gt;&lt;code&gt;stop&lt;/code&gt;: Stop Index&lt;/li&gt;
&lt;li&gt;&lt;code&gt;className&lt;/code&gt;: CSS class name to apply to a wrapper &lt;code&gt;span&lt;/code&gt;. The class should ideally only define a background color, and not any padding or margin.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Methods&lt;/h3&gt;
&lt;h4&gt;clear&lt;/h4&gt;
&lt;p&gt;Clears highlights.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;clear&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;resize&lt;/h4&gt;
&lt;p&gt;Safely resizes a &lt;code&gt;textarea&lt;/code&gt; already decorated with &lt;code&gt;evolutionHighlight&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;resize&amp;#39;, width, height);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;css&lt;/h4&gt;
&lt;p&gt;Safely applies CSS to a &lt;code&gt;textarea&lt;/code&gt; already decorated with &lt;code&gt;evolutionHighlight&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;textarea.myTextArea&amp;#39;).evolutionHighlight(&amp;#39;css&amp;#39;, {
    border: &amp;#39;2px solid red&amp;#39;,
    fontSize: &amp;#39;15px&amp;#39;
});
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>