Posted 15 years ago by Jeff Key
Avatar
Would it be possible to make _when_ AutoCorrect is performed an option in the future, or perhaps have it always enabled? We use the Editor as a wrapped single-line textbox, so the user rarely, if ever, never moves to another line.

Comments (6)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
What would you propose Jeff - maybe make available a PerformAutoCorrect method that you can call?


Actipro Software Support

Posted 15 years ago by Jeff Key
Avatar
My preferred solution, and I have no idea how expensive this is internally so it may not be practical, would be to have an AutoCorrect property that took an AutoCorrectType enum that had the following members:
 
enum AutoCorrectType
{
  None,          // Default
  OnTextChange,  // Every time a change was made to the doc
  OnLineChange   // The current implementation
}
..or something like that.

Does that make sense?
Posted 15 years ago by Boyd - Automated Software Testing Consultant / Developer, Patterson Consulting, LLC
Avatar
I've run into the same issue with Case Auto-Correct. I'm using SyntaxEditor as an edit box for SQL statments that may not result in the user switching to another line. I'd like to be able to force the auto-correct feature to execute (for instance after the user presses the space bar).

It didn't find the proposed 'PerformAutoCorrect' method in the documentation. Has this functionality been implemented? If so, please advise as to how to perform the task. Thanks!!

[ 12-01-2004: Message edited by: Boyd ]
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The PerformAutoCorrect method has not yet been implemented but is on the TODO list.

We are always available, for an hourly rate, to implement features that are important to you if you need them implemented more quickly than they normally would. Send us an email if you're interested in paying for a feature to be implemented.


Actipro Software Support

Posted 15 years ago by Boyd - Automated Software Testing Consultant / Developer, Patterson Consulting, LLC
Avatar
I'm in no hurry, but wanted to see if I missed something. I'll be patient and wait. Thanks!
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The next maintenance release now has a Document.CaseCorrectText method available so you can programmatically case correct any range of lines you want.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.