<?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: X++ editor bug?</title>
	<atom:link href="http://www.artofcreation.be/2010/04/14/x-editor-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/</link>
	<description>The everyday life of a Dynamics AX developer</description>
	<lastBuildDate>Wed,  1 Feb 2012 16:29:10 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Klaas Deforche</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4620</link>
		<dc:creator>Klaas Deforche</dc:creator>
		<pubDate>Thu, 10 Jun 2010 08:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4620</guid>
		<description>Hi Daniel,

I guess you can log them where you normally log your issues:

For parters: PartnerSource or MS Premier Online
For customers: CustomerSource

You could also ask your contact at Microsoft. 

There will be a new X++ editor in AX60, so some bugs will be solved that way.</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>I guess you can log them where you normally log your issues:</p>
<p>For parters: PartnerSource or MS Premier Online<br />
For customers: CustomerSource</p>
<p>You could also ask your contact at Microsoft. </p>
<p>There will be a new X++ editor in AX60, so some bugs will be solved that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4617</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 09 Jun 2010 18:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4617</guid>
		<description>Hi Klaas!

Where developers can submit the issues that they could find? 
Is there some official page for submitting? I couldn&#039;t find it.

Thanks in advanced!</description>
		<content:encoded><![CDATA[<p>Hi Klaas!</p>
<p>Where developers can submit the issues that they could find?<br />
Is there some official page for submitting? I couldn&#8217;t find it.</p>
<p>Thanks in advanced!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaas Deforche</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4597</link>
		<dc:creator>Klaas Deforche</dc:creator>
		<pubDate>Wed, 02 Jun 2010 14:03:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4597</guid>
		<description>Hi Daniel,

Yes you are right, I have that bug to, nice find. 

Like you said, this solves the find issue:
Rplace this: (form SysEditorSearch.editor() on line 16)
[cc lang =&quot;xpp&quot;]editorString = _editor.searchString();[/cc]
with this:
[cc lang =&quot;xpp&quot;]editorString = substr(_editor.currentLine(), _editor.selectionStartCol(), _editor.selectionEndCol() - _editor.selectionStartCol());
if(!editorString)
editorString = _editor.searchString();[/cc]

Nice find!</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>Yes you are right, I have that bug to, nice find. </p>
<p>Like you said, this solves the find issue:<br />
Rplace this: (form SysEditorSearch.editor() on line 16)</p>
<div class="codecolorer-container xpp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xpp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">editorString <span style="color: #00007f;">=</span> _editor.<span style="color: #000000;">searchString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></div>
<p>with this:</p>
<div class="codecolorer-container xpp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xpp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">editorString <span style="color: #00007f;">=</span> <span style="color: #0000ff;">substr</span><span style="color: #000000;">&#40;</span>_editor.<span style="color: #000000;">currentLine</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #00007f;">,</span> _editor.<span style="color: #000000;">selectionStartCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #00007f;">,</span> _editor.<span style="color: #000000;">selectionEndCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00007f;">-</span> _editor.<span style="color: #000000;">selectionStartCol</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #0000ff;">if</span><span style="color: #000000;">&#40;</span><span style="color: #00007f;">!</span>editorString<span style="color: #000000;">&#41;</span><br />
editorString <span style="color: #00007f;">=</span> _editor.<span style="color: #000000;">searchString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></div>
<p>Nice find!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4596</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 02 Jun 2010 13:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4596</guid>
		<description>The find issue also happens for me.</description>
		<content:encoded><![CDATA[<p>The find issue also happens for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4591</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 31 May 2010 18:02:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4591</guid>
		<description>I&#039;m sorry I forgot to ask

Is it just me?

Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry I forgot to ask</p>
<p>Is it just me?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4590</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Mon, 31 May 2010 18:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4590</guid>
		<description>I found another bug in Editor. 

When you select a word for finding and press Ctrl-F, it appears in the textbox on Find and Replace form. Then, if you close that form, select another word and try to find it pressing again Ctrl-F, the previous word appears again in the Find form. 

I overcame it doing some changes on SysEditorSearch form, editor() method:

 // Due to a system bug, the search string is obtained from currentline() method
editorString = substr(_editor.currentLine(), _editor.selectionStartCol(), _editor.selectionEndCol() - _editor.selectionStartCol());
if(!editorString)
   editorString = _editor.searchString();

I have AX 2009 Rollup 4.
I hope that can be helpful for you.

Greetings!</description>
		<content:encoded><![CDATA[<p>I found another bug in Editor. </p>
<p>When you select a word for finding and press Ctrl-F, it appears in the textbox on Find and Replace form. Then, if you close that form, select another word and try to find it pressing again Ctrl-F, the previous word appears again in the Find form. </p>
<p>I overcame it doing some changes on SysEditorSearch form, editor() method:</p>
<p> // Due to a system bug, the search string is obtained from currentline() method<br />
editorString = substr(_editor.currentLine(), _editor.selectionStartCol(), _editor.selectionEndCol() &#8211; _editor.selectionStartCol());<br />
if(!editorString)<br />
   editorString = _editor.searchString();</p>
<p>I have AX 2009 Rollup 4.<br />
I hope that can be helpful for you.</p>
<p>Greetings!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peterson</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-4053</link>
		<dc:creator>Peterson</dc:creator>
		<pubDate>Mon, 19 Apr 2010 12:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-4053</guid>
		<description>Not only to you, happens to me too!</description>
		<content:encoded><![CDATA[<p>Not only to you, happens to me too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-3811</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 14 Apr 2010 17:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-3811</guid>
		<description>Definitly not. Crappy bug that you simply get used to.</description>
		<content:encoded><![CDATA[<p>Definitly not. Crappy bug that you simply get used to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vail</title>
		<link>http://www.artofcreation.be/2010/04/14/x-editor-bug/comment-page-1/#comment-3809</link>
		<dc:creator>Vail</dc:creator>
		<pubDate>Wed, 14 Apr 2010 17:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=682#comment-3809</guid>
		<description>Nope, not just you. The AX2009 editor does that and not only at the beginning of the method.
When copy/pasting a block of code it will always delete a space from the line below the block copied....

Annoying!!!</description>
		<content:encoded><![CDATA[<p>Nope, not just you. The AX2009 editor does that and not only at the beginning of the method.<br />
When copy/pasting a block of code it will always delete a space from the line below the block copied&#8230;.</p>
<p>Annoying!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

