Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Markup bug/crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup bug/crash

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Markup bug/crash
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.