145 |
bind_action("toggle", :toggle) |
bind_action("toggle", :toggle) |
146 |
bind_action("hide", :my_hide) |
bind_action("hide", :my_hide) |
147 |
bind_action("show", :my_show) |
bind_action("show", :my_show) |
148 |
|
bind_action("clear", :clear) |
149 |
end |
end |
150 |
|
|
151 |
def bind_action(name, meth) |
def bind_action(name, meth) |
200 |
end |
end |
201 |
end |
end |
202 |
|
|
203 |
|
## |
204 |
|
# Clear the console output |
205 |
|
# |
206 |
|
def clear |
207 |
|
@console.text = "" |
208 |
|
@console.makePositionVisible(0) |
209 |
|
end |
210 |
|
|
211 |
## |
## |
212 |
# Create the debugger UI and put it in a top frame |
# Create the debugger UI and put it in a top frame |
213 |
# |
# |