Sha256: 39a513ff9b809daf3fd268204bd47102747b796d3560c1fcde5119f0851e1dc3

Contents?: true

Size: 507 Bytes

Versions: 3

Compression:

Stored size: 507 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redcar-0.5.1 plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5 plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb
redcar-0.5.6dev plugins/find-in-project/lib/find_in_project/views/_file_line.html.erb