<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Saminda Wijeratne's Weblog</title>
	<atom:link href="http://samindaw.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://samindaw.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 01 Nov 2009 03:02:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Include a shell script file in to another schell script like in #include in C by Jazumaru</title>
		<link>http://samindaw.wordpress.com/2009/02/24/include-a-shell-script-file-in-to-another-schell-script-like-in-include-in-c/#comment-128</link>
		<dc:creator>Jazumaru</dc:creator>
		<pubDate>Sun, 01 Nov 2009 03:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=75#comment-128</guid>
		<description>you clarify my doubt 
thank you very much !!</description>
		<content:encoded><![CDATA[<p>you clarify my doubt<br />
thank you very much !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Is Velupillai Prabhakaran Alive? by ulaganathan</title>
		<link>http://samindaw.wordpress.com/2009/05/22/is-velupillai-prabhakaran-alive/#comment-127</link>
		<dc:creator>ulaganathan</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=167#comment-127</guid>
		<description>The Eelam war has wrought untold miseries to all in Srilanka. It should be admitted that the Sril Lankan Tamils have suffered the most. We are all accustomed to a cosy life in our home. We cannot imagine the ignominy of living a life of refugee either in your own country or outside. I agree that there is no point in looking back at history for seeking alibis for our present mistakes and violence. We need to remember Gandhi who said it is madness to take arms against your fellow human beings. We are not animals and we don&#039;t live in jungles. The Lankan Tamils should have persisted with their Gandhian struggle to redress their grievance, if any. What has the war brought them? We in India are told of stories of atrocities against Tamils, in the 70&#039;s and 80&#039;s and of discrimination against them in Universities. If you are going to say that there is no such discrimination now, so much the better. Yours is a sober voice which sounds reasonable and conciliatory. What about the psyche of the majority of the Singhala community, after the war? Will they be interested in taking the fellow Tamils along or will they treat them like second-class citizens? The danger lies not in the Tamil-minorities feeling insular and insecure in the face of the perceived threat from the majority but in  the majority Singhala community&#039;s jingoism and insensitivity to the problems of the minority groups. You cannot wish away the distinction of the people on the basis of the language and religion. You need to accept their right to practise their own culture and religion. The success of a nation&#039;s polity lies in all sections of the people feeling a sense of attachment to their country and a national pride. I wish the Singhalese people like you work patiently to achieve this goal. National reconciliation has to be built brick by brick. It needs patience and magnanimity from your end.</description>
		<content:encoded><![CDATA[<p>The Eelam war has wrought untold miseries to all in Srilanka. It should be admitted that the Sril Lankan Tamils have suffered the most. We are all accustomed to a cosy life in our home. We cannot imagine the ignominy of living a life of refugee either in your own country or outside. I agree that there is no point in looking back at history for seeking alibis for our present mistakes and violence. We need to remember Gandhi who said it is madness to take arms against your fellow human beings. We are not animals and we don&#8217;t live in jungles. The Lankan Tamils should have persisted with their Gandhian struggle to redress their grievance, if any. What has the war brought them? We in India are told of stories of atrocities against Tamils, in the 70&#8217;s and 80&#8217;s and of discrimination against them in Universities. If you are going to say that there is no such discrimination now, so much the better. Yours is a sober voice which sounds reasonable and conciliatory. What about the psyche of the majority of the Singhala community, after the war? Will they be interested in taking the fellow Tamils along or will they treat them like second-class citizens? The danger lies not in the Tamil-minorities feeling insular and insecure in the face of the perceived threat from the majority but in  the majority Singhala community&#8217;s jingoism and insensitivity to the problems of the minority groups. You cannot wish away the distinction of the people on the basis of the language and religion. You need to accept their right to practise their own culture and religion. The success of a nation&#8217;s polity lies in all sections of the people feeling a sense of attachment to their country and a national pride. I wish the Singhalese people like you work patiently to achieve this goal. National reconciliation has to be built brick by brick. It needs patience and magnanimity from your end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Eclipse plugin editor extension tab show &#8220;Generic&#8221; in &#8220;New&#8221; submenu by Help! My Eclipse 3.5 Plug-in Editor has Stopped Working! &#171; Hidden Clause</title>
		<link>http://samindaw.wordpress.com/2008/11/05/eclipse-plugin-editor-extension-tab-show-generic-in-new-submenu/#comment-124</link>
		<dc:creator>Help! My Eclipse 3.5 Plug-in Editor has Stopped Working! &#171; Hidden Clause</dc:creator>
		<pubDate>Sun, 27 Sep 2009 02:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=10#comment-124</guid>
		<description>[...] fact I did what most people would do: I went to Google. What I found was Saminda Wijeratne&#8217;s blog where the problem was the same, but the solution described was quite different than I [...]</description>
		<content:encoded><![CDATA[<p>[...] fact I did what most people would do: I went to Google. What I found was Saminda Wijeratne&#8217;s blog where the problem was the same, but the solution described was quite different than I [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Why did the war in SL went on for more than 20 years? by sulochanosho</title>
		<link>http://samindaw.wordpress.com/2009/09/15/why-did-the-war-in-sl-went-on-for-more-than-20-years/#comment-123</link>
		<dc:creator>sulochanosho</dc:creator>
		<pubDate>Tue, 15 Sep 2009 06:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=205#comment-123</guid>
		<description>Yes, &lt;i&gt;conditioning&lt;/i&gt; works and rocks. Mankind is no different feom monkeykind there.
Many of our inherited solid sermons and truths exactly fall into this kind of conditioning or category. Only once in a while, a rebel barks back loudly to hit the point. But he may survive or 
may be instantly jailed or eliminated. A good story there, indeed.</description>
		<content:encoded><![CDATA[<p>Yes, <i>conditioning</i> works and rocks. Mankind is no different feom monkeykind there.<br />
Many of our inherited solid sermons and truths exactly fall into this kind of conditioning or category. Only once in a while, a rebel barks back loudly to hit the point. But he may survive or<br />
may be instantly jailed or eliminated. A good story there, indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get the caret position (cursor position) of a iframe which has designMode &#8216;on&#8217; in firefox by iFrame in desingMode=&#34;on&#34;, cursor positioning - JavaScript / Ajax / DHTML answers</title>
		<link>http://samindaw.wordpress.com/2009/05/08/how-to-get-the-caret-position-cursor-position-of-a-iframe-which-has-designmode-on-firefox/#comment-122</link>
		<dc:creator>iFrame in desingMode=&#34;on&#34;, cursor positioning - JavaScript / Ajax / DHTML answers</dc:creator>
		<pubDate>Sat, 05 Sep 2009 15:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=131#comment-122</guid>
		<description>[...] iFrame in desingMode=&quot;on&quot;, cursor positioning    Does this link [...]</description>
		<content:encoded><![CDATA[<p>[...] iFrame in desingMode=&quot;on&quot;, cursor positioning    Does this link [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Eclipse plugin editor extension tab show &#8220;Generic&#8221; in &#8220;New&#8221; submenu by Gili Nachum</title>
		<link>http://samindaw.wordpress.com/2008/11/05/eclipse-plugin-editor-extension-tab-show-generic-in-new-submenu/#comment-121</link>
		<dc:creator>Gili Nachum</dc:creator>
		<pubDate>Sat, 22 Aug 2009 19:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=10#comment-121</guid>
		<description>The following was missing from the helping article:
the source dirs to add should be something like:
C:\stsdk\eclipse\plugins\org.eclipse.platform.source.*
Hopes that helps.</description>
		<content:encoded><![CDATA[<p>The following was missing from the helping article:<br />
the source dirs to add should be something like:<br />
C:\stsdk\eclipse\plugins\org.eclipse.platform.source.*<br />
Hopes that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get the caret position (cursor position) of a iframe which has designMode &#8216;on&#8217; in firefox by Jon</title>
		<link>http://samindaw.wordpress.com/2009/05/08/how-to-get-the-caret-position-cursor-position-of-a-iframe-which-has-designmode-on-firefox/#comment-120</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 13 Aug 2009 22:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=131#comment-120</guid>
		<description>Have you noticed that the caret will span multiple lines for FF if the focus is set programatically?  If you click on the RTE then all is fine, but if there is a block of text (within a div, p, etc) and focus is called on it, I end up with a very tall blinking cursor.  Very strange.

Regards, 

Jon</description>
		<content:encoded><![CDATA[<p>Have you noticed that the caret will span multiple lines for FF if the focus is set programatically?  If you click on the RTE then all is fine, but if there is a block of text (within a div, p, etc) and focus is called on it, I end up with a very tall blinking cursor.  Very strange.</p>
<p>Regards, </p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Monawada Muththe Mokada Karanne/මොනවද මුත්තේ මොකද කරන්නේ &#8211; අනාගත දායාදය by Tharindu</title>
		<link>http://samindaw.wordpress.com/2009/02/24/monawada-muththe-mokada-karanne/#comment-119</link>
		<dc:creator>Tharindu</dc:creator>
		<pubDate>Tue, 28 Jul 2009 09:08:31 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=71#comment-119</guid>
		<description>Naaaice dude ...loved it alot ..thank u 4 taking us back 2 our gud old dayz...
Kep it up</description>
		<content:encoded><![CDATA[<p>Naaaice dude &#8230;loved it alot ..thank u 4 taking us back 2 our gud old dayz&#8230;<br />
Kep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get the caret position (cursor position) of a iframe which has designMode &#8216;on&#8217; in firefox by Mohammad Khatib</title>
		<link>http://samindaw.wordpress.com/2009/05/08/how-to-get-the-caret-position-cursor-position-of-a-iframe-which-has-designmode-on-firefox/#comment-118</link>
		<dc:creator>Mohammad Khatib</dc:creator>
		<pubDate>Wed, 22 Jul 2009 12:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=131#comment-118</guid>
		<description>Wow, this is awesome, this is exactly what I needed. 
Thank you very much</description>
		<content:encoded><![CDATA[<p>Wow, this is awesome, this is exactly what I needed.<br />
Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to get the caret position (cursor position) of a iframe which has designMode &#8216;on&#8217; in firefox by samindaw</title>
		<link>http://samindaw.wordpress.com/2009/05/08/how-to-get-the-caret-position-cursor-position-of-a-iframe-which-has-designmode-on-firefox/#comment-117</link>
		<dc:creator>samindaw</dc:creator>
		<pubDate>Wed, 22 Jul 2009 11:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://samindaw.wordpress.com/?p=131#comment-117</guid>
		<description>this is for firefox, i daresay for other browsers this can differ.

  o=iframeObject
  sel=o.contentWindow.getSelection();

  //we are saving the current selected range obj
  range2=sel.getRangeAt(0);


  //and we need to create a new range object to set the caret position to 5
  var range = document.createRange();

  range.setStart(sel.anchorNode,5);

  range.setEnd(sel.anchorNode,5);


  //remove the old range and add the newly created range
  sel.removeRange(range2);

  sel.addRange(range);

note the sel.anchorNode and sel.focusNode properties. If you understand the contents that in an iframe in designmode is also just bunch of xml tags (xml nodes), it is exactly what the properties mean. the selectionstart can be in one node while the selection end can be in another node. in the above sample i&#039;m just putting both of them in the same node. Try debugging and see the values in the object &quot;sel&quot;. u&#039;ll understand.

hth</description>
		<content:encoded><![CDATA[<p>this is for firefox, i daresay for other browsers this can differ.</p>
<p>  o=iframeObject<br />
  sel=o.contentWindow.getSelection();</p>
<p>  //we are saving the current selected range obj<br />
  range2=sel.getRangeAt(0);</p>
<p>  //and we need to create a new range object to set the caret position to 5<br />
  var range = document.createRange();</p>
<p>  range.setStart(sel.anchorNode,5);</p>
<p>  range.setEnd(sel.anchorNode,5);</p>
<p>  //remove the old range and add the newly created range<br />
  sel.removeRange(range2);</p>
<p>  sel.addRange(range);</p>
<p>note the sel.anchorNode and sel.focusNode properties. If you understand the contents that in an iframe in designmode is also just bunch of xml tags (xml nodes), it is exactly what the properties mean. the selectionstart can be in one node while the selection end can be in another node. in the above sample i&#8217;m just putting both of them in the same node. Try debugging and see the values in the object &#8220;sel&#8221;. u&#8217;ll understand.</p>
<p>hth</p>
]]></content:encoded>
	</item>
</channel>
</rss>
