Selection background color after search

SyntaxEditor for Silverlight Forum

Posted 11 years ago by Mark Brunner
Version: 13.1.0150
Avatar

How can I change the background color of the search result highlight after searching? (using the EditorSearchView)

thx

Comments (3)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mark,

I believe it just moves the selection to cover the search result text range.  There is no specific highlight at this time.


Actipro Software Support

Posted 11 years ago by Mark Brunner
Avatar

Actually the selection after the search looks slightly ligther than the selection highlight.

So my next question: How can I change the color of the selection?

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mark,

The "inactive" selection color (when SyntaxEditor doesn't have focus) is lighter than the "active" one.  That's probably what you are seeing.

The SyntaxEditor.SelectionBackgroundActive and SelectionBackgroundInactive properties control this.


Actipro Software Support

The latest build of this product (v18.1 build 0233) was released 4 years ago, which was after the last post in this thread.