Highlight colors in Windows
- From: Seth Verrinder <sethv@xxxxxxxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Wed, 7 Jan 2009 10:28:03 -0600
In Windows the default highlight color is darker than it is on the
Mac, which means that selections look kind of odd for black text. Is
there a way to have the FTC show selected text as white?
Also, there's a small glitch in the line breaking algorithm. If the
character that causes a line to exceed the wrap width is a single
character preceded by a space the line will break after the character.
I made the following change at the end of FTStyleRun.seekEndPosition:
Original: while Mid(text, endPoint, 1) = " "
New: while Mid(text, endPoint+1, 1) = " "
That seems to fix the problem, but I'm not sure if it's actually
correct.
Thanks,
Seth Verrinder
FTC Website:
http://www.truenorthsoftware.com/FormattedTextControl/FormattedTextControl.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in
the subject field.
Other related posts: