'clear' button now clears the entire pane
Dependencies
- [2]
RK2ASPN7add lots of buttons to the toolbar
Change contents
- replacement in 0075-clear_pane at line 2
Current_pane.editor_state.lines = {{data=''}}Current_pane.editor_state.screen_top1 = {line=1, pos=1}Current_pane.editor_state.cursor1 = {line=1, pos=1}Text.redraw_all(Current_pane.editor_state)edit.clear(Current_pane.editor_state)edit.clear(Current_pane.output_editor_state)Current_pane.canvas = nil