Posted 19 years ago by tobias weltner
AutoCaseCorrect works fine when I type in a token or insert it.
However, when I change the language definition programmatically (for example, change the way a token is using lower/upper-case), the changes are not reflected/autocorrected for existing tokens in the code.

I assume this has to do with optimization so that only "dirty" text is scanned and auto-corrected.

However, is there a way to have the entire document re-apply AutoCaseCorrect based on the current language definition?

Comments (1)

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Look at the Document.CaseCorrectText method. It allows you to specify a range of line to apply case-correction to.
The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.