- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::code_listing
::xowiki::formfield::code_listing create ... \
[ -cols (default "80") ] \
[ -rows (default "20") ]
Class Relations
::xotcl::Class create ::xowiki::formfield::code_listing \ -superclass ::xowiki::formfield::textareaMethods (to be applied on instances)
cols (setter)
pretty_value (scripted)
${:object} do_substitutions 0 if {[info commands ::apidoc::tclcode_to_html] ne ""} { set html [::apidoc::tclcode_to_html [:value]] regsub -all -- "\n?\r</FONT></EM>" $html </FONT></EM> html return "<pre class='code'>$html</pre>" } else { return "<pre class='code'>[string map [list & {&} < {<} > {>}] [:value]]</pre>" }rows (setter)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables