Print Page | Close Window

Markup bug/crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17197
Printed Date: 20 June 2025 at 2:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup bug/crash
Posted By: jimmy
Subject: Markup bug/crash
Date Posted: 03 September 2010 at 6:45am
Hello,

found a bug / crash in MarkupPad.

Start Markuppad.exe
insert
<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
  <TextBlock Cursor="Hand" FontSize="30" VerticalAlignment="Center" HorizontalAlignment="Center" TextDecorations='Underline' TextTrimming='CharacterEllipsis'
>Enter Text Here XXX</TextBlock>
</Page>

now add many many xxxx to the text.
if text width is bigger than the client rect, it crash.
if TextDecorations is removed, it work correct.

  Jimmy



Replies:
Posted By: Oleg
Date Posted: 03 September 2010 at 1:19pm
Thanks a lot!

Please patch sources to fix it:

in bottom of CXTPMarkupTextBlock::TrimLine add
     pPartEllipsis->pLine = li.pLine;





-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net