how do i find and highlight a specific word in a .txt file?
I only have this until now :
this.openFileDialog1.Filter = "TEXT (.xml;.txt|";
this.openFileDialog1.Multiselect = true;
this.openFileDialog1.Title = "My text editor";
DialogResult dr = openFileDialog1.ShowDialog();
if (dr == DialogResult.OK)
and i want to find these two words : "game" and "player" within a .txt file and highlight them if they're found.