<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Have a problem with Xtreme SyntaxEdit. BUG?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : Have a problem with Xtreme SyntaxEdit. BUG?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 03:57:12 +0000</pubDate>
  <lastBuildDate>Fri, 23 Mar 2007 15:10:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=6676</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Have a problem with Xtreme SyntaxEdit. BUG? : Thanks for you reply. When can...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21411&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2860">GeorgeBuzykin</a><br /><strong>Subject:</strong> 6676<br /><strong>Posted:</strong> 23 March 2007 at 3:10pm<br /><br /><DIV>Thanks for you reply.</DIV><DIV>When can I expect to see this (v11.1 ?) release on your site and/or to buy it?<img src="https://forum.codejock.com/smileys/smiley32.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>George.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 Mar 2007 15:10:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21411&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21411</guid>
  </item> 
  <item>
   <title><![CDATA[Have a problem with Xtreme SyntaxEdit. BUG? : Thanks for your notes. All those...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21372&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6676<br /><strong>Posted:</strong> 22 March 2007 at 6:04pm<br /><br />Thanks for your notes. All those 4 bugs will be fixed in the next coming release.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 22 Mar 2007 18:04:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21372&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21372</guid>
  </item> 
  <item>
   <title><![CDATA[Have a problem with Xtreme SyntaxEdit. BUG? : I have the Retail version of Xtreme...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21271&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21271</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2860">GeorgeBuzykin</a><br /><strong>Subject:</strong> 6676<br /><strong>Posted:</strong> 19 March 2007 at 4:26pm<br /><br /><P>I have the Retail version of Xtreme ToolkitPro v10.4.1.<BR>I'd like to use SyntaxEdit view in my application the same (or similar) way<BR>as it has been done in the MDITextEditor demo, but I have several problems.</P><P><BR>I) A problem with scroll bars and splitters:</P><P>To see a BUG (or may be a feature :) ) you can do the following steps:</P><P>1) Run MDITextEditor demo.<BR>2) Call Tools-&gt;Options...<BR>3) Turn off horizontal scroll bar.<BR>4) Press 'OK' button.<BR>5) Call Window-&gt;Split and click in the center of SyntaxEdit view<BR>&nbsp;(or drag vertical splitter to the center of SyntaxEdit view)</P><P>You see? We have horizontal scroll bars in right-hand panes. Why?<BR>It is not very good :(</P><P>Then:</P><P>6) Call Tools-&gt;Options... again.<BR>7) Turn on horizontal scroll bar.<BR>8) Press 'OK' button.</P><P>You see? We have two horizontel scroll bars in right-hand panes.<BR>It is funny, isn't it?</P><P>Then, if we will perform thees steps with vertical scroll bar we<BR>would have INTEGER ZERO DIVISION error in line 1. in the following<BR>section of XTPSyntaxEditCtrl.cpp (RecalcScrollBars() method):</P><P>//---------------------------------------------------------</P><P>...</P><P>&nbsp;if (::IsWindow(m_hWnd))<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPClientRect rcWnd(this);</P><P>-&gt; line 1.&nbsp;iPageX = rcWnd.Width() / m_tm.tmAveCharWidth;<BR>&nbsp;&nbsp;iPageY = rcWnd.Height() / m_tm.tmHeight;</P><P>&nbsp;&nbsp;iMax += iPageX/2;<BR>&nbsp;}</P><P>...</P><P>//---------------------------------------------------------</P><P><BR>So, I need help.<BR>How can I fix this problem in Xtreme ToolkitPro v10.4.1 sources I have?<BR>It would be very good to fix this problem in future releases.</P><P><BR>II) A problem with syntax coloring schemes:</P><P>If I have only one syntax coloring scheme then all color and font changes in Editor<BR>Options dialog does not take place just after 'Ok' or 'Apply' button is pressed.</P><P>I think, that the reason of this problem is in this section of<BR>XTPSyntaxEditSectionManager.cpp souce file:</P><P>//---------------------------------------------------------<BR>POSITION CXTPSyntaxEditSchemaFileInfoList::LookupName(const CString&amp; csName, XTP_EDIT_SCHEMAFILEINFO&amp; info)<BR>{<BR>&nbsp;for (POSITION pos = GetHeadPosition(); pos;)<BR>&nbsp;{<BR>-&gt; line 1.&nbsp;info = GetNext(pos);<BR>&nbsp;&nbsp;if (csName.CompareNoCase(info.csName) == 0)<BR>&nbsp;&nbsp;{<BR>-&gt; line 2.&nbsp;&nbsp;return pos;<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;return NULL;<BR>}<BR>//---------------------------------------------------------</P><P>The line 1. changes 'pos' and the next list position is returned in the line 2!<BR>So, if we have only one syntax coloring schemes this method returns NULL every time!</P><P>Method LookupValue(), LookupDesc(), etc. have the same problems.</P><P>III) Resource string with ID XTP_IDS_EDIT_MSG_WARN_RELOAD<BR>"File <a href="" target="_blank">\\""%s\\</A>"" is modified by outside source!\nDo you want to reload?"<BR>has useless backslashes. It would be better to fix it.<BR></P>]]>
   </description>
   <pubDate>Mon, 19 Mar 2007 16:26:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6676&amp;PID=21271&amp;title=have-a-problem-with-xtreme-syntaxedit-bug#21271</guid>
  </item> 
 </channel>
</rss>