Jump to content

Highlight Text, Line or Caret


 Share

Recommended Posts

how to highlight text, line or blinking caret in edit control

i just want to show highlighted or in different color, where my caret is currently blinking

just like when we search in forums match text will highlighted in yellow color

and that mean no selection only highlight

Link to comment
Share on other sites

Could you give some context about where the text to be modified is?

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Link to comment
Share on other sites

That will be application specific, doing that int Scite would be different from Word would be different from in a web page :mellow:

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...