Print Page | Close Window

DrawBug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=7850
Printed Date: 05 June 2024 at 3:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DrawBug
Posted By: jimmy
Subject: DrawBug
Date 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




Replies:
Posted By: jimmy
Date Posted: 22 August 2007 at 7:32am
Oh,

Use XTP V11.1.3



Posted By: Tomasz
Date 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.


Posted By: AndreiM
Date 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).


-------------
Regards,
Andrei Melnik


Posted By: Tomasz
Date 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.



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