Displaying 20 results from an estimated 3393 matches for "highlighte".
Did you mean:
highlight
2006 Feb 12
0
Effect.Highlight doesn''t return to original color with many elements?
...ct.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 might need to do
differently?
Note, I''ve tried splitting the effects off into queues, which resolves
the issue but doesn''t perform as desired...I really need this to appear
almost instantaneously.
It appears this happens in...
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 ?
...cument.getElementById(''right''));">
</select>
<select id="right">
</select>
</body>
</html>
---8<------------------------------
If I ''mouseover'' the first select box, the second will be highlighted. Great.
If I ''mouseover'' and rapidly ''mouseout-mouseover'' the first select box
whereas the effect is not finished, the second select box will be
freezed, i.e. the select box remains yellow and will not anymore
return to initial state.
It is a bug ? a feature ?...
2005 Dec 14
4
Is it possible to highlight search keywords in results?
...arch results. Just in case I''m not making sense,
here is an example of what I want:
query = ''contents:"testing|trucks"''
prepend = ''<strong>''
append = ''</strong>''
count = index.search_each(query) do |doc, score|
highlighted_contents =
index.highlight_for_query(doc, query, prepend, append)
puts highlighted_contents
end
This would make all instances of "testing" and "trucks" appear in bold
for html formatted text. Thoughts?
Thanks,
Carl
2007 Jun 19
3
another issue with highlighting
...ow 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 random data, i try to match for "*1*" and
then highlight the matched tokens. If it''s matched and not highlighted
i put it in z
It works as expected when there''re 100 entries (replace 500.times by
100.times), in that case z contains empty arrays.
When having 500 entries it doesn''t highlight every matches !
This example has been tested with 0.11.4
(r770 has been tested with the application...
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
...e (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 Markdown documents just as correctly as peg-markdown can, and that can easily be integrated into existing and new programs.
You can find all the relevant information at the project web page:
<http://hasseg.org/peg-markdown-highlight>
best,
- Ali Rantakari
2006 Mar 04
1
RE: Question about event listener highlighting withchild elements
..., 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 console. The
highlighting works except for cases when an object is the child of
another object. In this case both are highlighted and only the parent''s
id is currently. I want only the child to be highlighted and the
child(not parent) id to be displayed.
The second issue is stopping the event listeners when the objects are
deactivated. At some point I take the list of objects and deactivate
each one. In the deacti...
2011 Mar 10
1
phrase search highlighting
Hi
Some of my users are very "conservative" as it seems :)
The complained about "not finding anything useful", because the
highlighted sample
was wrongly colored when doing phrase search, e.g. "some word".
So 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 wr...
2009 Mar 16
2
R-code in html help pages: syntax highlighting
...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 in the entire CRAN.
Including the highlighter with R, or whatever supplementary tools
people use to make R html help files could simplify things. I've never
written docs or released a package, so I may be understimating the
effort it'd take to get this working.
Using the r-help gmane archives also leads to plain code.
This is probabl...
2007 Jun 06
1
highlight and pagination
..."%"+params[:suche]+"%"],
:include => [:member],
:per_page => 3
end
view:
<% if @description %>
<div class="link_initial_description" id="link<%= link.id %>">
<%= highlight(link.description, @highlight, highlighter = ''<strong
class="highlight">\1</strong>'') %>
</div>
<% else %>
<div class="link_initial_description" style="display:none"
id="link<%= link.id %>">
<%= link.description %>
</div>
<% end...
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're interested and don't mind touching a
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 something like iterate through the list of
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-forum.com/.
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?
...pt_length => :all, :pre_tag => ''[highlight]'', :post_tag =>
''[/highlight]'' })
end
end
I didn''t store my text in the database, only in the index. When I''m
coming from a search I use the highlight method, so the term I searched
for gets highlighted, but how do I get the text from the index in a
''normal case''. The highlight method feels inappropriate, because I don''t
want to highlight anything. I don''t see what other method to use.
Thanks in advance!
Mischa.
--
Posted via http://www.ruby-forum.com/.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pi...
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/.