txtu added
This commit is contained in:
parent
6ba5576fe0
commit
a39605bfaa
|
@ -21,6 +21,10 @@ end;\n\
|
|||
iface.title = function(self, str)\n\
|
||||
return nil\n\
|
||||
end;\n\
|
||||
iface.under = function(self, str)\n\
|
||||
if str == nil then return nil; end; \n\
|
||||
return cat('<u>',str,'</u>');\n\
|
||||
end;\n\
|
||||
iface.em = function(self, str)\n\
|
||||
if str == nil then return nil; end; \n\
|
||||
return cat('<i>',str,'</i>');\n\
|
||||
|
|
|
@ -49,6 +49,10 @@ function txtb(v)
|
|||
return iface:bold(v)
|
||||
end
|
||||
|
||||
function txtu(v)
|
||||
return iface:under(v)
|
||||
end
|
||||
|
||||
function fmt(...)
|
||||
local i, res
|
||||
if arg == nil then
|
||||
|
@ -1328,6 +1332,9 @@ iface = {
|
|||
bold = function(self, str)
|
||||
return str;
|
||||
end,
|
||||
under = function(self, str)
|
||||
return str;
|
||||
end,
|
||||
xref = function(self, str, obj)
|
||||
-- return "@"..str.."{"..obj.."}";
|
||||
local o = ref(here():srch(obj));
|
||||
|
|
Loading…
Reference in a new issue