nitc :: CmdMessage :: print_message
fun print_message(no_color: nullable Bool) do print to_s
src/doc/term/term.nit:49,2--57
redef fun print_message(no_color) do
if no_color == null or not no_color then
print "No result found for `{mentity_name.blue}`...".bold
else
print "No result found for `{mentity_name}`..."
end
print ""
if suggestions.not_empty then
print "Did you mean?"
print ""
for s in suggestions do
print s.cs_list_item(no_color)
print ""
end
end
end
src/doc/term/term.nit:71,2--86,4
redef fun print_message(no_color) do
if no_color == null or not no_color then
print "Multiple results found for `{mentity_name.blue}`...".bold
else
print "Multiple results found for `{mentity_name}`..."
end
print ""
if conflicts.not_empty then
print "Did you mean?"
print ""
for s in conflicts do
print s.cs_list_item(no_color)
print ""
end
end
end
src/doc/term/term.nit:90,2--105,4