Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - Minor problem w/syntax coloring
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Minor problem w/syntax coloring

 Post Reply Post Reply
Author
Message
rconn View Drop Down
Groupie
Groupie


Joined: 16 May 2007
Location: United States
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote rconn Quote  Post ReplyReply Direct Link To This Post Topic: Minor problem w/syntax coloring
    Posted: 18 January 2009 at 2:42pm
If a keyword is defined as bold (txt:Bold = 1), the text width isn't calculated correctly and the last pixel or two on the right is truncated.  Turning off the bold, or incrementing the size slightly in CXTPSyntaxEditDrawTextProcess::DrawRowPart solves the problem.
 
Rex Conn
JP Software
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.125 seconds.