<?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 : Small bug with autocomplete window</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : Small bug with autocomplete window]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 02:59:14 +0000</pubDate>
  <lastBuildDate>Fri, 24 Apr 2009 10:53:39 +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=14091</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[Small bug with autocomplete window : Thanks - it really works ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48328&amp;title=small-bug-with-autocomplete-window#48328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14091<br /><strong>Posted:</strong> 24 April 2009 at 10:53am<br /><br />Thanks - it really works]]>
   </description>
   <pubDate>Fri, 24 Apr 2009 10:53:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48328&amp;title=small-bug-with-autocomplete-window#48328</guid>
  </item> 
  <item>
   <title><![CDATA[Small bug with autocomplete window : Hello,  To reproduce the strange...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48311&amp;title=small-bug-with-autocomplete-window#48311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4339">peerschindel</a><br /><strong>Subject:</strong> 14091<br /><strong>Posted:</strong> 24 April 2009 at 3:33am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>To reproduce the strange behavior:<BR>1. Open the auto complete list in an empty line.</DIV><DIV>2. Type a character which is NOT in the list. As result NOTHING is highlighed in the list.</DIV><DIV>3. Close the autocomplete window (but NOT with the keyboard, but e.g. by clicking somewhere in the view)<BR><BR>So "m_bHighLight" is FALSE from the action in 2.<BR>The NEXT time you open the auto complete window (with ...::Show) NOTHING is highlighted in the begining.</DIV><DIV>&nbsp;</DIV><DIV>Now when you do it different:<BR>1. Open the auto complete list in an empty line.<DIV>2. Type a character which IS in the list. As result SOMETHING is highlighed in the list.</DIV><DIV>3. Close the autocomplete window.</DIV><DIV>&nbsp;</DIV><DIV>So "m_bHighLight" is TRUE from the action in 2. (or 3., if you closed it with a key)<BR>The NEXT time you open the auto complete window (with ...::Show) SOMETHING is highlighted in the begining.</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Fri, 24 Apr 2009 03:33:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48311&amp;title=small-bug-with-autocomplete-window#48311</guid>
  </item> 
  <item>
   <title><![CDATA[Small bug with autocomplete window : Sorry - don&amp;#039;t see differences...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48210&amp;title=small-bug-with-autocomplete-window#48210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14091<br /><strong>Posted:</strong> 21 April 2009 at 4:22pm<br /><br />Sorry - don't see differences with and without your changes. Could you make some sample case&nbsp;where we can see such differences in action please? ]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 16:22:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48210&amp;title=small-bug-with-autocomplete-window#48210</guid>
  </item> 
  <item>
   <title><![CDATA[Small bug with autocomplete window : Thanks, I will check this proposal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48209&amp;title=small-bug-with-autocomplete-window#48209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14091<br /><strong>Posted:</strong> 21 April 2009 at 4:15pm<br /><br />Thanks, I will check this proposal and update SVN after. <DIV><FONT size=2></FONT><FONT size=2>BTW - flag m_bHighLight set to TRUE in All Mouse Button Handlers according to HitTest and also inside &nbsp;<FONT face=Arial> <FONT size=2>CXTPSyntaxEditAutoCompleteWnd::OnKeyDown</FONT></FONT></FONT></DIV><DIV><FONT size=2>&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 16:15:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48209&amp;title=small-bug-with-autocomplete-window#48209</guid>
  </item> 
  <item>
   <title><![CDATA[Small bug with autocomplete window : Hello Syntax Edit team,   There&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48183&amp;title=small-bug-with-autocomplete-window#48183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4339">peerschindel</a><br /><strong>Subject:</strong> 14091<br /><strong>Posted:</strong> 21 April 2009 at 6:14am<br /><br />Hello Syntax Edit team, <DIV>&nbsp;</DIV><DIV>There's a small bug in autocomplete window.</DIV><DIV>The function "CXTPSyntaxEditAutoCompleteWnd::Show"</DIV><DIV>does NOT set the member variable "m_bHighLight".</DIV><DIV>This means it's random whether the first line of the list in auto-complete-window</DIV><DIV>is selected when opening the list or not. (Actually it depends how the auto-complete-window</DIV><DIV>was closed the previous time: With a selection because the last typed character was for</DIV><DIV>a string in the list or not).</DIV><DIV>What makes it even more random is the fact, that the member variable "m_bHighLight"</DIV><DIV>is NOT initialized at all in the constructor of "CXTPSyntaxEditAutoCompleteWnd".</DIV><DIV>(So the very first time it's totally random and can be e.g. different in Debug and Release).</DIV><DIV>&nbsp;</DIV><DIV>Here my proposal for a bug fix in file "XTPSyntaxEditAutoCompleteWnd.cpp"</DIV><DIV>in function "CXTPSyntaxEditAutoCompleteWnd::Show" ca. in line 143:</DIV><DIV>&nbsp;</DIV><DIV>Replace:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; ...</DIV><DIV>&nbsp;&nbsp;&nbsp; int nSearch = Search(strSearch);<BR>&nbsp;&nbsp;&nbsp; m_nHighLightLine = nSearch;<BR><BR>&nbsp;&nbsp;&nbsp; ScrollTo(nSearch);<BR>&nbsp;&nbsp;&nbsp; ...</DIV><DIV>&nbsp;</DIV><DIV>with</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; ...</DIV><DIV><DIV>&nbsp;&nbsp;&nbsp; int nSearch = Search(strSearch);<BR>&nbsp;&nbsp;&nbsp; m_nHighLightLine = nSearch;</DIV><DIV>&nbsp;&nbsp;&nbsp; //&nbsp;21.04.09, initialize "m_bHighLight" when showing auto complete window</DIV><DIV>&nbsp;&nbsp;&nbsp; // so that it's not random any more if something is highlighted when opening it or not<BR>&nbsp;&nbsp;&nbsp; m_bHighLight = m_nHighLightLine &gt;= 0 ;</DIV><DIV><BR>&nbsp;&nbsp;&nbsp; ScrollTo(nSearch);<BR>&nbsp;&nbsp;&nbsp; ...</DIV></DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV><DIV>P.S.:</DIV><DIV>I really don't know how the people could use the ActiveX variant without the possibility</DIV><DIV>to inspect/modify the source code...<BR>I just want to make a proposal for the following effect (what - I think - is a bug).<BR><BR></DIV>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 06:14:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14091&amp;PID=48183&amp;title=small-bug-with-autocomplete-window#48183</guid>
  </item> 
 </channel>
</rss>