Re: Automatic Word Highlighting
Posted: Sun Sep 05, 2010 9:41 am
Yeah the typing goes extremely slow and fails much but I'm also developing a second that inherits the richtextbox control and just uses some API calls it's working pretty good with a few bugs.
My other method don't work properly as it is very slow so just don't try it but can explain:
It selects the word by the select function with start at the start index and length as the word length
Then it sets the color with the selectioncolor property
Then it deselects the text by using the select function again
.select(richtextbox1.textlenght - 1, 0)
My other method don't work properly as it is very slow so just don't try it but can explain:
It selects the word by the select function with start at the start index and length as the word length
Then it sets the color with the selectioncolor property
Then it deselects the text by using the select function again
.select(richtextbox1.textlenght - 1, 0)