Rebol 编程/dump-pane
外观
< Rebol 编程
DUMP-PANE face
打印整个窗格的面部信息。(用于调试)
DUMP-PANE 是一个函数值。
- face -- (类型:对象)
dump-pane: func [ "Print face info for entire pane. (for debugging)" face [object!] /local depth style ][ depth: "" print [depth "Style:" all [in face 'style face/style] "Offset:" face/offset "Size:" face/size "Text:" if face/text [copy/part form face/text 20] ] insert depth tab if object? face/pane [dump-face face/pane] if block? face/pane [foreach f face/pane [dump-face f]] remove depth ]