You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: lib/project/util.coffee
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
_=require'underscore-plus'
2
+
{$} =require'atom-space-pen-views'
2
3
3
4
module.exports=
4
5
escapeHtml: (str) ->
@@ -25,3 +26,20 @@ module.exports =
25
26
"#{_.pluralize(matchCount, 'result')} found in #{_.pluralize(pathCount, 'file')} for <span class=\"highlight-info\">#{@sanitizePattern(findPattern)}</span>"
26
27
else
27
28
"No #{if replacedPathCount?then'more'else''} results found for '#{@sanitizePattern(findPattern)}'"
0 commit comments