search for: highlighting

Displaying 20 results from an estimated 3387 matches for "highlighting".

2006 Feb 12
0
Effect.Highlight doesn''t return to original color with many elements?
Hi guys. Most of the time, Effect.Highlight works just fine for me. However, when I highlight a large number of elements, the color of those elements never returns to the original color... As an example, consider the code at the bottom of this post. Each element starts to fade back to original, but stops short, leaving each highlighted. Anyone know what might be causing this, or what I
2006 Sep 03
9
using highlight from aaf
Hi, I''m trying to use highlight ferret method with trunk aaf and 0.10.1 ferret. In my search display I use: Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id, :content) * searcher is a protected method; how can I access to the searcher from aaf ? * is the doc id in aaf the same as my model id ? * is the first param, query, the string query or the query object ?
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All, I''ve just discover scriptaculous and it is a really good library. Even if I have some difficulties with short syntax in javascript code :/ I have a strange behaviour with Effect.Highlight, and as it''s said on bug report page : "It''s also a good idea to discuss this on the Mailing List beforehand, maybe it''s already known and in the works, or it
2005 Dec 14
4
Is it possible to highlight search keywords in results?
I''m wondering if ferret has any built-in search/replace mechanism that I might be able to use to highlight the query data in each search result. The reason I think this would be a good idea is that I could end up having to practically duplicate the ferret query parser just to interpret the query so that I can figure out how to highlight the keywords in the search results. Just in case
2007 Jun 19
3
another issue with highlighting
Hi, I''m encountering another highlighting issue. (about the first one "range search and highlighting", i received no response. I don''t even know if somebody tried to reproduce and/or if it''s normal behavior) about the new issue, an example will be easier for you to reproduce: I''m filling an index with...
2006 Nov 02
2
highlighting with find_by_contents
I''m trying to highlight keyword snippets using the highlight method of the results returned from find_by_contents (the actual models), but always come up with an empty array. Any ideas what could be going wrong? -- Posted via http://www.ruby-forum.com/.
2011 Jun 28
3
PEG Markdown Highlight
Dear fellow Markdown enthusiasts, As you all might know, Markdown is a highly context sensitive language that the (often regex-based) syntax highlighting mechanisms in existing editors struggle to keep up with. I have taken John MacFarlane's excellent peg-markdown compiler and modified its parser to function as an interpreter for syntax highlighting purposes. The end result is a Markdown-specific syntax highlighter that should be able to match...
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
...h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Casey O''Neill Sent: Friday, March 03, 2006 6:09 PM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails-spinoffs] Question about event listener highlighting withchild elements I have created a JavaScript object which is initialized for some input fields, fieldsets, and divs on the page. With each object i attach a mouseover and mouseout event that highlights and un-highlights. Also on mouseout i am trying to display the id of the object to a consol...
2011 Mar 10
1
phrase search highlighting
...they refused to use web search at all and keep telephoning around. Not the found phrase was highlighted in one color, but all locations of these words within the sample in different colors. "This result is wrong" was their complaint when looking at the sample. So I had to disable phrase highlighting at all like this: query: <!-- highlight only if Query does not contain PHRASE --> $if{$eq{$substr{$query,0,1},"},$field{sample},$highlight{$field{sample},$terms}}$if{$field{sample},...} (works only if the phrase is the first term, but that 99.9% the case) If time permits please adjust...
2009 Mar 16
2
R-code in html help pages: syntax highlighting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A follow up to my previous post. It'd be good to have syntax highlighting in the html help pages. There is highlight (http://www.andre-simon.de/) which seems to be open source. Since code is delimited in the help file format, it should not be too difficult to run a highlighting program (actually, vim and emacs do this too) recursively and pretty-print all the R examples...
2007 Jun 06
1
highlight and pagination
...al_description" style="display:none" id="link<%= link.id %>"> <%= link.description %> </div> <% end %> <%= pagination_links(@link_pages) %> Everything works fine when I get only 1 result page. When I get more pages and click the pages_link highlighting no longer works. You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.[] WHat can I do? Thanx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed t...
2012 Apr 12
1
Support for R in highlight.js
Hello, I'm the maintainer of a syntax highlighting tool highlight.js[1]. Recently the Kaggle project has announced they wanted to sponsor the development of the R highlighting definition for it[2]. I wanted to drop a line about it here since I suspect this list has much more R programmers on it than our small discussion group :-). So if you...
2018 Feb 13
1
Syntax highlighting
Hi, I would like know if there are any plans for some "standardized" syntax highlighting of R code? * Currently I'm using minted for my LaTeX slides with pygmentize and I do not know what scheme is used for highlighting the R code. * RStudio uses (as default) TextMate (Text editor for MacOS) highlighting for R code. * The R package "highr" just defines CSS classes and...
2007 Mar 09
5
higlighting problem
Hi, I''ve been having a problem getting highlighting to work with aaf. I have a class defined as follows such: class Link < ActiveRecord::Base acts_as_ferret :fields => { :description => { :store => :yes } } end I get back the correct results when I do Link.find_by_contents, however, I''d like to highlight them. If I do some...
2007 Jan 29
1
Segmentation fault in Search::Searcher#highlight
I''m using ferret 0.10.14 in Linux Fedora 3. When I do highlight with Index::Index#highlight, it works well. But, doing the same test with Searcher#highlight, [BUG] Segmentation fault occurred. Here''s my test code. require ''rubygems'' require ''ferret'' include Ferret::Search #searcher = Ferret::Index::Index.new(:path =>
2007 Jun 11
5
Highlight slowness
Has anyone else found that using ferret''s highlighting slows searches down significantly? I am seeing that it more than doubles the search time on my system. I am returning up to 500 results at once, so the slow down is quite noticeable (probably adding about .7 seconds for searches with large result sets.) --Paul -- Posted via http://www.ruby-f...
2006 Jul 31
4
RJS to find an element
I''m trying to implement a remove from cart method based on the examples in the second edition Agile book. I have everything working except for the RJS that removes items from the cart. Ideally what I''d like to do is highlight an element that I am deleting only if there is more than one of that particular item in the cart. If the item deleted is the only of
2007 Feb 06
2
Which method to use to get content from index with a_a_f?
Hi everybody, After staring at the a_a_f API for quite sometime now, I decided it''s time to ask... Which method should I use to get content from the index without using highlight? Consider the following controller action: def preview if params[:search].blank? # normal case @text = @myfile. # which method do I use here to get the :text from the index??? else # if we come from
2006 Jul 26
2
How to highlight the search term in the search result
In the ''basecamp'' product from 37signals if I search for ''ruby'' the I get a bunch of results. In the search result page the search term (ruby in this case) is highlighted. I was wondering how to accomplish the same. How to highlight the ''search term'' in the search result? Is there any already existing utility that I could use? Thanks.
2006 May 09
4
changing the color of :highlight
Is there an easy way to change to color of the :highlight effect? :complete => visual_effect(:highlight, "targetid", :duration => 1) thanks -- Posted via http://www.ruby-forum.com/.