Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - DrawBug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DrawBug

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


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: DrawBug
    Posted: 22 August 2007 at 7:32am
Hello,

I use the CXTSyntaxEditor in a view.
i've set GetEditCtrl().GetEditBuffer()->SetFileExt(".cpp");
And use default parser & color files.


And at the last char the last pixel line is not draw correct.

  Jimmy

Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2007 at 7:32am
Oh,

Use XTP V11.1.3

Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2007 at 7:13am

Please read other posts ... it was mentioned before - you are using Courier (bitmapped) font. The editor does not work with it correctly.

You should be using Courier New (TrueType) instead.
Back to Top
AndreiM View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 18 August 2007
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiM Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2007 at 4:42am
The text drawing mechanism will be changed in 11.2.1 to be more font independent (I mean to draw correctly using any font).
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2007 at 6:11am
Thanks. But I do hope that it does not mean decreased performance. SyntaxEdit is already slow. Try running it on low-end machine (yes people still use computers below 1GHz) and you will see how slow parsing is and that generally speaking the editor lags when doing anything more complex than typing one letter per second. Scintilla seems faster.
 
Please DO use *PROFILER* on XTP and SyntaxEdit specifically. Your library is great feature-wise but it is slow.
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.172 seconds.