• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Highlighter Issues

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the below code, whenever I click find, it is supposed to highlight the text that is in the search box. I have looked through some other examples online and it looks like it should work, but it does not. Can anyone explain why?

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, never mind.

The two ints in the highlight method are for the start of the highlight and to the end of the highlight, not the start and how long the highlight should continue on.

Well I fixed my problem, but thanks anyways!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic