Jump to content



Photo

Highlight Selected Text

hilight selected text

  • Please log in to reply
7 replies to this topic

#1 ineedh3lp

ineedh3lp

    Wayfarer

  • Active Members
  • Pip
  • 72 posts

Posted 31 January 2012 - 12:51 AM

Hello,

Is there a way to highlight selected text? Like, if I double-click select a word, all the occurances of that word would be highlighted. Can this be set from AutoIt or by using a plugin?

Thank you!







#2 jaberwacky

jaberwacky

    jaberwacky

  • Active Members
  • PipPipPipPipPipPip
  • 3,570 posts

Posted 31 January 2012 - 01:20 AM

Inside of SciTE?

"In this latter, where the pieces have different and bizarre motions, with various and variable values, what is only complex is mistaken (a not unusual error) for what is profound."

 

Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt WikiUsing the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?


#3 ineedh3lp

ineedh3lp

    Wayfarer

  • Active Members
  • Pip
  • 72 posts

Posted 31 January 2012 - 01:30 AM

Yes, inside SciTE. Sorry I forgot to mention.

#4 jaberwacky

jaberwacky

    jaberwacky

  • Active Members
  • PipPipPipPipPipPip
  • 3,570 posts

Posted 31 January 2012 - 01:33 AM

I use this which works well for me. I'm no SciTE expert BTW.

highlight.current.word=1
highlight.current.word.by.style=1
highlight.current.word.colour=#CF6A4C
  • ineedh3lp likes this

"In this latter, where the pieces have different and bizarre motions, with various and variable values, what is only complex is mistaken (a not unusual error) for what is profound."

 

Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt WikiUsing the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?


#5 ineedh3lp

ineedh3lp

    Wayfarer

  • Active Members
  • Pip
  • 72 posts

Posted 31 January 2012 - 01:36 AM

Excellent! Thank you!

#6 matwachich

matwachich

    Polymath

  • Active Members
  • PipPipPipPip
  • 236 posts

Posted 01 February 2012 - 02:58 AM

Is there another way so that the current selection is highlited, not only the current word?
I tried with replacing word by selection, but it's not really what i need

#7 jaberwacky

jaberwacky

    jaberwacky

  • Active Members
  • PipPipPipPipPipPip
  • 3,570 posts

Posted 01 February 2012 - 03:02 AM

This might be what you want:


selection.multiple=1
selection.additional.typing=1
selection.additional.fore=#CF6A4C
selection.additional.back=#15191E
selection.additional.alpha=25

"In this latter, where the pieces have different and bizarre motions, with various and variable values, what is only complex is mistaken (a not unusual error) for what is profound."

 

Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt WikiUsing the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum?


#8 matwachich

matwachich

    Polymath

  • Active Members
  • PipPipPipPip
  • 236 posts

Posted 01 February 2012 - 11:39 AM

Sorry but it's not!
Where can i find a documentation about all those scite Lua commands and vars???

PS: what i mean is that, for example, if i select the letters in brackets: sa[lu]t it highlights all [lu] in the text

Edit: i found!

Edited by matwachich, 01 February 2012 - 11:41 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users