Posted 19 years ago
by GavinK151
![Avatar](https://secure.gravatar.com/avatar/a4dfe3553b3a9cf467c2b3c00ebf5309.jpg?s=64&d=identicon&r=g)
hi!
I am keen to try out the auto-replace feature provided by the SyntaxEditor but I cant seem to get anything useful to happen :-(
I have loaded the language definition file of choice
I have added some items to the AutoReplace range for mis-spelled words for example.
I have then created some code to just print debug info in the "AutoReplacePerformed" action for the editor
but this event never seems to fire. I dumped out the triggers collection and see "<" and "=".
I am certain I need to enable something but have missed out on what. I do have the propery "AutoReplaceTriggersEnabled" set to true in the form designer....
What have I missed/totally misunderstood/donr completely wrong?
thanks :-)
Gav
[Modified at 09/12/2005 11:45 AM]
I am keen to try out the auto-replace feature provided by the SyntaxEditor but I cant seem to get anything useful to happen :-(
I have loaded the language definition file of choice
I have added some items to the AutoReplace range for mis-spelled words for example.
I have then created some code to just print debug info in the "AutoReplacePerformed" action for the editor
but this event never seems to fire. I dumped out the triggers collection and see "<" and "=".
I am certain I need to enable something but have missed out on what. I do have the propery "AutoReplaceTriggersEnabled" set to true in the form designer....
What have I missed/totally misunderstood/donr completely wrong?
thanks :-)
Gav
[Modified at 09/12/2005 11:45 AM]