Sha256: a40e33b53cbe7870fee94f4a7a2a4f28208b476d64a7aae6164adee2a0976986

Contents?: true

Size: 488 Bytes

Versions: 5

Compression:

Stored size: 488 Bytes

Contents

<tr class="result line_for_<%= @file_index %> <%= (@line_index % 2 == 0 ? 'even' : 'odd') %>" data-href='<%= CGI::escapeHTML(@file_name) %>' data-line_no='<%= @line_no %>'>
  <td class='line_no'><%= @line_no %></td>
  <% regexp_text = CGI.escapeHTML((@literal_match ? Regexp.escape(@query) : @query)) %>
  <% text = CGI.escapeHTML(@line.strip).gsub((@match_case ? /(#{regexp_text})/ : /(#{regexp_text})/i)) { "<span>#{$1}</span>" } %>
  <td class='text'><pre><%= text %></pre></td>
</tr>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redcar-0.5.5dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5.4dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5.3dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5.2dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5.1dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb