Quantcast
Channel: How to Highlight Text
Browsing all 12 articles
Browse latest View live

How to Highlight Text

Thank you guys, you helped me a lot. But the above codes are still having some bug, I edited sucessfully :'Box is my RichTextBox Private Sub Box_TextChanged(ByVal sender As System.Object, ByVal e As...

View Article


How to Highlight Text

Here's another version using a Lambda:For Each word As String In h_words Array.ForEach(Regex.Matches(RichTextBox1.Text, word, RegexOptions.IgnoreCase).Cast(Of Match).ToArray, _ Sub(x)...

View Article


How to Highlight Text

Pretty cool, Ace. Thanks!

View Article

How to Highlight Text

That's even faster with less fat.  Nice work again...Onion is a recent refuge from Mac OS X and hates Mac App Store. System: Windows 7 x64

View Article

How to Highlight Text

Here's a good example that I put together as well.Dim h_words As String() = {"one", "two", "three"} For Each word As String In h_words For Each m As Match In Regex.Matches(RichTextBox1.Text, word,...

View Article


How to Highlight Text

It works for me.  Nice work, jal2...Onion is a recent refuge from Mac OS X and hates Mac App Store. System: Windows 7 x64 Thanks for the compliment!  If I got it right, I suppose it proves that even a...

View Article

How to Highlight Text

It works for me.  Nice work, jal2...Onion is a recent refuge from Mac OS X and hates Mac App Store. System: Windows 7 x64

View Article

How to Highlight Text

I can't use that code because I'm making a syntax highlighter.After highlighting the rest of the words will become the color and it highlight the keyword.If i type anything else it will replace the...

View Article


How to Highlight Text

I can't use that code because I'm making a syntax highlighter.After highlighting the rest of the words will become the color and it highlight the keyword.If i type anything else it will replace the...

View Article


How to Highlight Text

Dim keyword As String = "the" 'find this word. Dim currentPositionOfCursor As Int32 = 0 Do Dim posOfNextHit As Int32 = RichTextBox1.Find(keyword, currentPositionOfCursor, RichTextBoxFinds.None) If...

View Article

How to Highlight Text

By the way, I am using Microsoft Visual Basic 2010 (VB.NET)

View Article

How to Highlight Text

Hi, I am currently making a Syntax Highlighter.How can I highlight certain text inside a RichTextBox ?I am Currently Using This Code :Public Function Highlight(ByVal highlightcolor As String, ByVal...

View Article
Browsing all 12 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>