Mercurial > hg > octave-nkf
comparison gui/src/m-editor/file-editor.cc @ 14829:e97be88fc478 gui
Fixed removing all breakpoints.
* file-editor-tab: Renamed slot to remove all breakpoints.
* file-editor: Renamed slot to remove all breakpoints.
* octave-event: Added checking for return value when adding breakpoints.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Mon, 02 Jul 2012 15:18:55 +0200 |
parents | eae0e9f2a8c6 |
children | 41b86dc61306 |
comparison
equal
deleted
inserted
replaced
14827:6b90737f69cc | 14829:e97be88fc478 |
---|---|
228 void | 228 void |
229 file_editor::request_remove_breakpoint () | 229 file_editor::request_remove_breakpoint () |
230 { | 230 { |
231 file_editor_tab *activeFileEditorTab = active_editor_tab (); | 231 file_editor_tab *activeFileEditorTab = active_editor_tab (); |
232 if (activeFileEditorTab) | 232 if (activeFileEditorTab) |
233 activeFileEditorTab->remove_breakpoint (); | 233 activeFileEditorTab->remove_all_breakpoints (); |
234 } | 234 } |
235 | 235 |
236 void | 236 void |
237 file_editor::request_comment_selected_text () | 237 file_editor::request_comment_selected_text () |
238 { | 238 { |