Hey everyone,
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.
clarisaduta 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.