<?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: Keyword highlighting in html Part Two</title>
	<atom:link href="http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/feed/" rel="self" type="application/rss+xml" />
	<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/</link>
	<description>Diggin&#039; up kwality cool stuff</description>
	<lastBuildDate>Fri, 12 Jan 2018 14:45:53 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>By: Giannis</title>
		<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/comment-page-1/#comment-13825</link>
		<dc:creator><![CDATA[Giannis]]></dc:creator>
		<pubDate>Fri, 12 Jan 2018 14:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://dyslexicdog.com/site/?p=485#comment-13825</guid>
		<description><![CDATA[(the editor hide the code, but point is to have  MIT  )]]></description>
		<content:encoded><![CDATA[<p>(the editor hide the code, but point is to have  MIT  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giannis</title>
		<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/comment-page-1/#comment-13824</link>
		<dc:creator><![CDATA[Giannis]]></dc:creator>
		<pubDate>Fri, 12 Jan 2018 13:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://dyslexicdog.com/site/?p=485#comment-13824</guid>
		<description><![CDATA[More than tree years after what you wrote, and your code remains not only useful, but one of the best solutions while searching of the topic :) 

I have a question (maybe not as simple as it sounds): Could i (and how you&#039;d propose i should do it) use your code for acronyms? 

I need to pass an array of words to be searched, and another (with the same key) with the explanation of the acronym - for example, every use of the word MIT should bring MIT Any ideas?]]></description>
		<content:encoded><![CDATA[<p>More than tree years after what you wrote, and your code remains not only useful, but one of the best solutions while searching of the topic <img src="http://dyslexicdog.com/site/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" />  </p>
<p>I have a question (maybe not as simple as it sounds): Could i (and how you&#8217;d propose i should do it) use your code for acronyms? </p>
<p>I need to pass an array of words to be searched, and another (with the same key) with the explanation of the acronym &#8211; for example, every use of the word MIT should bring MIT Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the big dog</title>
		<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/comment-page-1/#comment-13313</link>
		<dc:creator><![CDATA[the big dog]]></dc:creator>
		<pubDate>Sun, 03 Jul 2016 12:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://dyslexicdog.com/site/?p=485#comment-13313</guid>
		<description><![CDATA[Hi Matteo, thanks for notifying me about the bug - I&#039;d tried to trim the code down to the minimum for didactic purposes, but in so doing, broke it for multi-line contentEditables - It was failing to take empty lines into account when performing the stack-based save and restore methods. The solution is simply to track the line number of the selection as well as its position within the text. I&#039;ve updated the code with a fix for Chrome, but it seems Chrome and Firefox handle linebreaks within ContentEditables differently - Chrome treats new lines as separate divs, whereas Firefox is inserting br elements. I will correct the code for cross-browser support shortly.]]></description>
		<content:encoded><![CDATA[<p>Hi Matteo, thanks for notifying me about the bug &#8211; I&#8217;d tried to trim the code down to the minimum for didactic purposes, but in so doing, broke it for multi-line contentEditables &#8211; It was failing to take empty lines into account when performing the stack-based save and restore methods. The solution is simply to track the line number of the selection as well as its position within the text. I&#8217;ve updated the code with a fix for Chrome, but it seems Chrome and Firefox handle linebreaks within ContentEditables differently &#8211; Chrome treats new lines as separate divs, whereas Firefox is inserting br elements. I will correct the code for cross-browser support shortly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo Cacciola</title>
		<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/comment-page-1/#comment-13295</link>
		<dc:creator><![CDATA[Matteo Cacciola]]></dc:creator>
		<pubDate>Thu, 23 Jun 2016 02:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://dyslexicdog.com/site/?p=485#comment-13295</guid>
		<description><![CDATA[Congratulations for your work. Just a notice. I am testing the code with Firefox, and I am experiencing a bug, I suppose. I mean, after I erase a line by deleting char by char, the caret doesn&#039;t go to the end of the previous line, but to the beginning of text. It seems that saveSelection function returns {start: 0, end: 0} without running the while block.
Do you know why? I am not able to find the reason, please need your help]]></description>
		<content:encoded><![CDATA[<p>Congratulations for your work. Just a notice. I am testing the code with Firefox, and I am experiencing a bug, I suppose. I mean, after I erase a line by deleting char by char, the caret doesn&#8217;t go to the end of the previous line, but to the beginning of text. It seems that saveSelection function returns {start: 0, end: 0} without running the while block.<br />
Do you know why? I am not able to find the reason, please need your help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://dyslexicdog.com/site/2014/05/keyword-highlighting-in-html-part-two/comment-page-1/#comment-9348</link>
		<dc:creator><![CDATA[Jacob]]></dc:creator>
		<pubDate>Tue, 03 Feb 2015 11:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://dyslexicdog.com/site/?p=485#comment-9348</guid>
		<description><![CDATA[Excellent post. Thank you, just what I needed to implement simple on the fly syntax highlighting without using a heavy library.]]></description>
		<content:encoded><![CDATA[<p>Excellent post. Thank you, just what I needed to implement simple on the fly syntax highlighting without using a heavy library.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
