Posted 19 years ago
by GavinK151
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]