FTC 1.2 beta 10

FTC 1.2 beta 10 has been uploaded to the web site.

We are getting to the end of the 1.2 development and I will soon
begin regression testing. With this beta I added in an
optimization which you can read about below. As part of my
strategy to test this optimization I put in a test statement while
in debug mode. This code will nullify the speed gains when you run
in the debugger. When you compile you application, you will get
the full speed. Before I release the final beta I will take out
the test code, so in the mean time please report to me any flaky
behavior you see or if you hit the break point I set in the code.

Here's what is new with this beta...

- Fixed a problem with the insertion point bias (when the
insertion caret is between lines) where it was set incorrectly
when at the beginning of the document.

- Enhanced the selectionXXX methods to take into account the
current style binding in determining if a style attribute is
currently set.

- Fixed a problem with scrolling the display to the insertion
caret. When the caret was at the beginning of a line the scrolling
motion would be jumpy. It now scrolls smoothly.

- Optimized the FTStyleRun.setText method for an overall speed
improvement in the FTC of about 5-7%. If you call the setText
method in your code, it now takes an optional parameter for the
length of the string you are passing in. So if you know the
length, passing it in saves the time of calculating the string's
length. If you pass in an incorrect length, you will cause
problems, so it is up to you to make sure this value is accurate.

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: