highlighting

Emacs: persistent highlighting of a region

The Emacs extension markerpen.el (link text) allows you to hightlight arbitrary regions in your buffer. With this extension, the added highlighting is lost once you kill the buffer though. However, it would be nice to be able to highlight arbitrary regions of a file in a "persistent" way -- in the sense that the added hightlighting is no...

How Do I programatically select text in a webBrowser Control? c#

Here's the Problem: I want to enable the user of my program to search a webBrowser control for a given keyword (standard Ctrl+ F). I am having no problem finding the keyword in the document and highlighting all the instances using a span and the replace() function. I am having trouble getting the "find next" functionlity that I want to w...

Solr highlighting of multiple terms

I have configured Solr so that the terms I'm searching are highlighted, but if those terms are far between them, I will only see the first one in the highlighting snippet. What I want is to have something similar to Google's: separating snippets with an "ellipse" (...) so I can see the multiple terms in their context at once. Is it pos...

How to highlight rows in list based on condition

Version 2.3.4 Let's say, I have an items table with some fields, for example: id, name, something, created_at, updated_at, is_dirty. I'm using active scaffold to display a HTML table from it. class ItemsController < ApplicationController layout 'application' active_scaffold :item do |c| c.columns = [ :id, :name, :something ] ...

Change inactive page 'Title'

I influenced from StackOverflow Chat. Here when the page is inactive then number of the new incoming chat messages are displayed in the Page title. When the page is activated the this number is disappeared. How can I implement this concept in my application? I also want to highlight that window. ...

WPF Generic Search Box for a window (only View search no backend search)

I was thinking of ways to implement a generic View search. What I mean here is say a Window has many controls (including usercontrols,customcontrols, etc). I want to implement a generic search box on the top of window which searches any Text in the window and highlight them. I wanted to know is there a generic way of doing this or has ...