UpdateAllViews called when deleting characters |
Post Reply |
Author | |
Fredrik
Senior Member Joined: 22 June 2005 Status: Offline Points: 235 |
Post Options
Thanks(0)
Posted: 04 October 2011 at 5:55am |
I have an application with multiple views where one is a CXTPSyntaxEditView. When testing v15.1.3 I noticed (for me) an unwanted behaviour: If you press backspace to delete a character ALL my views are being updated - for every character you delete. This is because when you delete a character range CXTPSyntaxEditCtrl::InvalidateAll() will be called. This function in turn calls which causes all my views to update. Of course I could check if lHint == xtpEditHintInvalidate, however this value is 10 which happens to be a value that I also use. Version 15.0.2 did not have this behaviour. Is this 'as designed' and will not change in future implementation or will there be another fix for it? Thanks, Fredrik
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |