highlighting

Why wasn't fast-vector-highlighter (lucene-contrib) made an official part of Lucene 3.0 core

I've read some Jira entries and they mentioned moving fast-vector-highlighter to core about a year ago but it never made it. Looking at the svn for contrib it seems incomplete. There are no tests for FastVectorHighlighter Documentation is lacking No samples anywhere on apache.org Anyone have any ideas what its status is? ...

How to change the outlining hover color in VS 2010?

If i hover over the thin vertical bar on the left, it highlights the entire scope of the block that's to the right. When this scope is large, my entire screen flashes white (a consequence of my custom color scheme). Is there a way to change that color? i don't recall there being one when i made the theme. ...

problem in leigeber's sorting

iam using leigeber's sorting javascript to sort my data on my page......i took the js from here :- leigeber's sorting javascript Now this is shwoing highlighted sorted column and all and its all perfect.Now iam having some negative and some positive values in my data and i want to show those negative data in red color and positive in g...

Script or tutorial for auto completing highlights

Im looking for links/tips/tutorials on how to help users highlight an entire word, as opposed to partial words. Heres an example: Someone on my site sees the words President Obama and wants to highlight this. But as they highlight the words, they only highlight "esident Obam" (missing the first two chars and last character of the high...

highlighting search results in php/mysql

how do i highlight search results from mysql query using php? this is my [modified] code: $search_result = ""; $search_result = $_GET["q"]; $result = mysql_query('SELECT cQuotes, vAuthor, cArabic, vReference FROM thquotes WHERE cQuotes LIKE "%' . $search_result .'%" ORDER BY idQuotes DESC', $conn) or die ('Error: '.mysql_error()); ...

Emacs 23: Selection not highlighted

I installed Ubuntu 10.04, and with it came Emacs 23. If I want to select text in Emacs, that works perfectly fine except the fact that the region is not highlighted. However, this only happens, if I try to make a region using the keyboard. If I select something with the mouse, it is highlighted as usual. Does anybody know, why the regi...

How to search a PDF in Acrobat Reader AND jump to a certain page via parameter?

Hi, we are using lucene within a web application to search in a great number of PDF documents. The workflow is like this: A user enters a search term A list of search results is presented to the user. Each search result represents one PDF document and shows the user on which page the search term was found. Each of these pages is rep...

highlight navigation PHP

I've launched a website a while back and successfully used Javascript + CSS to highlight the current page on the navigation. However, it is not working in Safari and it does not validate well, when using Javascript, so I decided to have PHP assign the CSS id to the HTML elements. So far, it works fine, compared to the other times where...

codemirror live syntax highlighting: extend for {tags}

I have implemented Codemirror http://marijn.haverbeke.nl/codemirror/ to work as a live text editor within an application and it works perfect. The only thing I would love to do is create a custom color (e.g. red) for tags used in our system. We would be using tags like {something here} or {{something here}} doe anyone know how I can...

Silverlight Datagrid: Highlight an entire Column?

I have a DataGrid in my Silverlight application, and would like to "highlight" an entire column when any cell in that column is selected. E.g., given this grid (where "[ ]" represents a cell): [ ][ ][ ] [ ][ ][ ] [ ][ ][ ] If I select a cell, like this [ ][ selected ][ ] [ ][ ...

How do I get Lucene (.NET) to highlight correctly with wildcards?

I am using the Lucene.NET API directly in my ASP.NET/C# web application. When I search using a wildcard, like "fuc*", the highlighter doesn't highlight anything, but when I search for the whole word, like "fuchsia", it highlights fine. Does Lucene have the ability to highlight using the same logic it used to match with? Various maybe-...

silverlight 4/datagrid/change the highlighted cell in highlighted row

Hello, I have a silverlight datagrid which have as DataContext a list of SuiviCaBo(personnal object). I also have a chart with columnSeries. My goal is when I click on a bar inside the chart, the line of the datagrid that match the information is highlighted and the right column is selected. I succeeded in hightling the row by using th...

Android: Disable highlighting in GridView

Hello, after searching for more than 3h in den the docs and testing I have to ask this question: how can I turn off the orange highlight, when clicking on an item in a GridView? Thx ...

Highlighter in lucene doesn't return any fragment

I'm trying to implement highlighting in my lucene application and I can't get any fragment. getBestFragment always returns null. My code: QueryParser parser = new QueryParser(Version.LUCENE_30, "text", myAnalyzer); Query realQuery = parser.parse(query); Highlighter highlighter = new Highlighter(new QueryScorer(realQuery, "text")); for...

How to highlight text automatically inside an UIAlertView text field

Hello everyone I have an UIAlertView with a textfield that shows a default value and two buttons, one to cancel and the other one to confirm. What I am trying to do is that when the alert view is popped up the default value is highlighted so the user can override the whole value faster than manually erasing it. - (void)tableView:(UITabl...

Android: disabling highlight on listView click

I want to disable the orange highlight that occurs when touching a listView row. So far in my xml I have tried the following: android:focusable="false" android:focusableInTouchMode="false" android:clickable="false" More information: I want there to be zero difference when a user touches the screen on this listView object. ...

Javascript library for syntax-highlighting syslog text logs?

I'm display some plain-text syslog output on a web page. I'd really like to pretty-print it, highlighting dates and hostnames. Are there any javascript syntax highlighting libraries which come with syslog support? ...

C# Winforms Textbox - Can I keep the selection when it loses focus?

I would like to have a regular textbox on my form, where the selected text is still highlighted even if you use another control, e.g. push a button. Does anyone know a way to achieve this (without using a RichTextBox which is not suitable for what I am doing). Thanks in Advance ...

Can Visual Studio 2010 do ".inc" file syntax highlighting?

Can Visual Studio 2010 be configured to do syntax highlighting on ".inc" files? We have numerous large projects with tons of these ".inc" files (asp files) and so changing the file extension to ".asp" is not an option. All I want Visual Studio 2010 to do is treat these ".inc" files just like ".asp" files when it comes to syntax highlight...

Highlight row of form when input is focussed

I have the following piece of Mootools 1.11 code (not upgradable as this is within Joomla), which I want to highlight the form row, when an item within it is focussed. However, this doesn't work. I need to know how to access the parent div of the form item. window.addEvent('domready', function() { var list = $$('#ChronoContact_lenso...