DrawBug |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
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 |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
|
Oh,
Use XTP V11.1.3 |
|
Tomasz
Senior Member Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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.
|
|
AndreiM
Moderator Group Joined: 18 August 2007 Status: Offline Points: 132 |
Post Options
Thanks(0)
|
The text drawing mechanism will be changed in 11.2.1 to be more font independent (I mean to draw correctly using any font).
|
|
Tomasz
Senior Member Joined: 05 August 2006 Status: Offline Points: 109 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |