<?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 : UpdateAllViews called when deleting characters</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : UpdateAllViews called when deleting characters]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 04:26:58 +0000</pubDate>
  <lastBuildDate>Tue, 04 Oct 2011 05:55:06 +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=19013</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[UpdateAllViews called when deleting characters :    I have an application with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19013&amp;PID=66491&amp;title=updateallviews-called-when-deleting-characters#66491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 19013<br /><strong>Posted:</strong> 04 October 2011 at 5:55am<br /><br /><div>I have an application with multiple views where one is a CXTPSyntaxEditView. &nbsp;When testing v15.1.3 I noticed (for me) an unwanted&nbsp;behaviour:&nbsp;</div><div><br></div><div>If you press backspace to delete a character ALL my views are being updated - for every character you delete.&nbsp;</div><div><br></div><div>This is because when you delete a character range&nbsp;<font face="'Courier New', Courier, mono">CXTPSyntaxEditCtrl::InvalidateAll()</font> will be called. This function in turn calls</div><div><br></div><font face="'Courier New', Courier, mono">pParentWnd-&gt;GetDocument()-&gt;UpdateAllViews(NULL, xtpEditHintInvalidate);</font><div><br></div><div>which causes all my views to update.&nbsp;</div><div><br></div><div>Of course I could check if <font face="'Courier New', Courier, mono">lHint ==&nbsp;xtpEditHintInvalidate</font>, however this value is 10 which happens to be a value that I also use.&nbsp;</div><div><br></div><div>Version 15.0.2 did not have this behaviour.&nbsp;</div><div><br></div><div>Is this 'as designed' and will not change in future implementation or will there be another fix for it?&nbsp;</div><div><br></div><div>Thanks,&nbsp;</div><div>Fredrik</div>]]>
   </description>
   <pubDate>Tue, 04 Oct 2011 05:55:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19013&amp;PID=66491&amp;title=updateallviews-called-when-deleting-characters#66491</guid>
  </item> 
 </channel>
</rss>