<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex 4 AutoComplete component with text highlighting</title>
	<atom:link href="http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/</link>
	<description>it's RIA, not Rio</description>
	<lastBuildDate>Fri, 20 Jan 2012 06:59:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-65164</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 29 Jul 2011 13:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-65164</guid>
		<description>I do not think I will invest my time for this feature, sorry.</description>
		<content:encoded><![CDATA[<p>I do not think I will invest my time for this feature, sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Decrock</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-65163</link>
		<dc:creator>Sam Decrock</dc:creator>
		<pubDate>Fri, 29 Jul 2011 08:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-65163</guid>
		<description>It would be cool to see it in the design mode of flash builder :-)</description>
		<content:encoded><![CDATA[<p>It would be cool to see it in the design mode of flash builder <img src='http://www.jabbypanda.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Idan</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61949</link>
		<dc:creator>Idan</dc:creator>
		<pubDate>Tue, 07 Sep 2010 14:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61949</guid>
		<description>Hi,

I am writing an application where the user can enter question depend on database the user choose.
After each char I want do give user the current suggestion (it can be in the middle of the word also).


Is it possible to do with this component ?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am writing an application where the user can enter question depend on database the user choose.<br />
After each char I want do give user the current suggestion (it can be in the middle of the word also).</p>
<p>Is it possible to do with this component ?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda’s travel to RIA world &#187; Should my Flex 4 AutoComplete to be renamed as InputAssist?</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61716</link>
		<dc:creator>JabbyPanda’s travel to RIA world &#187; Should my Flex 4 AutoComplete to be renamed as InputAssist?</dc:creator>
		<pubDate>Wed, 25 Aug 2010 16:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61716</guid>
		<description>[...] I am currently in a process of updating the code for the component previously known as &quot;Flex 4 AutoComplete component with text highlighting&quot;. [...]</description>
		<content:encoded><![CDATA[<p>[...] I am currently in a process of updating the code for the component previously known as &quot;Flex 4 AutoComplete component with text highlighting&quot;. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxim Kachurovskiy</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61709</link>
		<dc:creator>Maxim Kachurovskiy</dc:creator>
		<pubDate>Wed, 25 Aug 2010 07:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61709</guid>
		<description>Good job! :)</description>
		<content:encoded><![CDATA[<p>Good job! <img src='http://www.jabbypanda.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Wegar</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61534</link>
		<dc:creator>Jens Wegar</dc:creator>
		<pubDate>Fri, 13 Aug 2010 03:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61534</guid>
		<description>Hey,

first off nice work on the component. I have to agree though with a previous commenter that it would be good if you put your code in a package structure such as com.jabbypanda.* for the next release. Also, as pointed out previously, the colors for the highlight in the list and the text in the list are hardcoded. I fixed this by changing the hardcoded values at lines 83 and 84 of HighlightListItemRenderer to:

                    selectionFormat.backgroundColor      = HighlightItemList(owner).getStyle(&quot;highlightColor&quot;);
                    selectionFormat.color                = HighlightItemList(owner).getStyle(&quot;highlightTextColor&quot;);                    


This allows me to change the colors through CSS</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>first off nice work on the component. I have to agree though with a previous commenter that it would be good if you put your code in a package structure such as com.jabbypanda.* for the next release. Also, as pointed out previously, the colors for the highlight in the list and the text in the list are hardcoded. I fixed this by changing the hardcoded values at lines 83 and 84 of HighlightListItemRenderer to:</p>
<p>                    selectionFormat.backgroundColor      = HighlightItemList(owner).getStyle(&#8220;highlightColor&#8221;);<br />
                    selectionFormat.color                = HighlightItemList(owner).getStyle(&#8220;highlightTextColor&#8221;);                    </p>
<p>This allows me to change the colors through CSS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61331</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Fri, 30 Jul 2010 12:35:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61331</guid>
		<description>2Saulo Brust: Please contact me via email jabbypanda AT gmail.com to discuss in more details the direction of development of SearchInput component that you are taking, I would be willing to help you out during the development.</description>
		<content:encoded><![CDATA[<p>2Saulo Brust: Please contact me via email jabbypanda AT gmail.com to discuss in more details the direction of development of SearchInput component that you are taking, I would be willing to help you out during the development.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61329</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Fri, 30 Jul 2010 12:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61329</guid>
		<description>I agree with you, that hardcoded colors values used for character highlighting into HighlightListItemRenderer is not a flexible solution.

You can add custom styles  by youself to control those color values at the runtime, just have a look at source code of spark.components.supportClasses.ItemRenderer class to study how it handles custom styles such as  &#039;rollOverColor&#039; or &#039;contentBackgroundColor&#039;.</description>
		<content:encoded><![CDATA[<p>I agree with you, that hardcoded colors values used for character highlighting into HighlightListItemRenderer is not a flexible solution.</p>
<p>You can add custom styles  by youself to control those color values at the runtime, just have a look at source code of spark.components.supportClasses.ItemRenderer class to study how it handles custom styles such as  &#8216;rollOverColor&#8217; or &#8216;contentBackgroundColor&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saulo Brust</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61318</link>
		<dc:creator>Saulo Brust</dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61318</guid>
		<description>Interesting and excellent component!

I am developing a search input component based on this. If you want to take a look or collaborate: http://github.com/brust/SearchInput</description>
		<content:encoded><![CDATA[<p>Interesting and excellent component!</p>
<p>I am developing a search input component based on this. If you want to take a look or collaborate: <a href="http://github.com/brust/SearchInput" rel="nofollow">http://github.com/brust/SearchInput</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Myron</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/comment-page-1/#comment-61202</link>
		<dc:creator>Myron</dc:creator>
		<pubDate>Wed, 21 Jul 2010 14:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110#comment-61202</guid>
		<description>Good job, JabbyPanda!

I just want to tell you about two things I had little troubles with. First, one have to reorganize your packages structure in order to use the component in his app. If you modify it to something like &quot;com.jabbypanda.*&quot; it whould be very convenient.

And another thing I have faced is connected with using cyrillic. It seems that RegExp(str,&quot;i&quot;) is not really case insensitive for cyrillic and you will get troubles with highlighting matches. I have fixed that by manually adding few toLowerCase in highlightTexts():

var searchPattern :RegExp = new RegExp(lookupTextValue.toLowerCase(), &quot;gi&quot;);
var firstFoundWordIndex : int = label.toLowerCase().search(searchPattern);

and

var matches : Array = label.toLowerCase().match(searchPattern);

Except this thing everything works very well! One more thing I can mention - it&#039;s not very convenient that highlighting colors are hardcoded.

Thank you!</description>
		<content:encoded><![CDATA[<p>Good job, JabbyPanda!</p>
<p>I just want to tell you about two things I had little troubles with. First, one have to reorganize your packages structure in order to use the component in his app. If you modify it to something like &#8220;com.jabbypanda.*&#8221; it whould be very convenient.</p>
<p>And another thing I have faced is connected with using cyrillic. It seems that RegExp(str,&#8221;i&#8221;) is not really case insensitive for cyrillic and you will get troubles with highlighting matches. I have fixed that by manually adding few toLowerCase in highlightTexts():</p>
<p>var searchPattern :RegExp = new RegExp(lookupTextValue.toLowerCase(), &#8220;gi&#8221;);<br />
var firstFoundWordIndex : int = label.toLowerCase().search(searchPattern);</p>
<p>and</p>
<p>var matches : Array = label.toLowerCase().match(searchPattern);</p>
<p>Except this thing everything works very well! One more thing I can mention &#8211; it&#8217;s not very convenient that highlighting colors are hardcoded.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

