Added WSF_WIDGET_RAW_TEXT to render text via html encoding.
Added WSF_WIDGET_COMPOSITE.extend_html_text (READABLE_STRING_8) that should replace the now obsolete "extend_text" Added WSF_WIDGET_COMPOSITE.extend_raw_text (READABLE_STRING_GENERAL), for text that need to be html encoded during html rendering. Made WSF_FORM_RAW_TEXT obsolete.
This commit is contained in:
@@ -177,11 +177,24 @@ feature -- Change
|
||||
items.put_front (i)
|
||||
end
|
||||
|
||||
extend_text (t: READABLE_STRING_8)
|
||||
extend_html_text (t: READABLE_STRING_8)
|
||||
-- Extend a widget encapsulating html code `t'
|
||||
do
|
||||
extend (create {WSF_WIDGET_TEXT}.make_with_text (t))
|
||||
end
|
||||
|
||||
extend_text (t: READABLE_STRING_8)
|
||||
obsolete "Use extend_html_text (..) 2013-Sept-06"
|
||||
do
|
||||
extend_html_text (t)
|
||||
end
|
||||
|
||||
extend_raw_text (t: READABLE_STRING_GENERAL)
|
||||
-- Extend a widget encapsulating html encoded text `t'
|
||||
do
|
||||
extend (create {WSF_WIDGET_RAW_TEXT}.make_with_text (t))
|
||||
end
|
||||
|
||||
feature {NONE} -- Implementation: Items
|
||||
|
||||
items_by_type_from (a_container: ITERABLE [WSF_WIDGET]; a_type: TYPE [detachable ANY]): detachable ARRAYED_LIST [WSF_WIDGET]
|
||||
|
||||
Reference in New Issue
Block a user