Hello,
I'm trying to implement a dynamic recognition of user functions (just as intellisense of visual studio). To achieve this, I tried both the TextChanged and the DocumentChange Events, but for some reason I don't understand they get (both) fired multiple times.
I enter a single Char the event is fired 2 or sometimes four times. If I copy-paste a bigger amount of text to the controll, it gets fired 20 times or even more often.
This heavily affects performance and makes my project basically impossible, so... what causes this problem?
I used MessageBox.Show(myScintilla.Text) to display the text each time the event is fired, and after the first time it stays the same - but regardless of this the event gets fired again and again.
What can I do against this?
Best,
2mQ
I'm trying to implement a dynamic recognition of user functions (just as intellisense of visual studio). To achieve this, I tried both the TextChanged and the DocumentChange Events, but for some reason I don't understand they get (both) fired multiple times.
I enter a single Char the event is fired 2 or sometimes four times. If I copy-paste a bigger amount of text to the controll, it gets fired 20 times or even more often.
This heavily affects performance and makes my project basically impossible, so... what causes this problem?
I used MessageBox.Show(myScintilla.Text) to display the text each time the event is fired, and after the first time it stays the same - but regardless of this the event gets fired again and again.
What can I do against this?
Best,
2mQ