Mercurial > jwe > octave
comparison libgui/src/m-editor/octave-qscintilla.h @ 21158:65827e9cccb8
Gui support for enhancement of dbstop.
* octave-qscintilla.cc (contextMenuEvent): Capture right-click in the
left margins to show a context menu for "dbstop if...".
* octave-qscintilla.{cc,h} (contextmenu_break_condition): new function
* file-editor-interface.h: pass condition to
handle_update_breakpoint_marker_request
* file-editor-tab.{cc,h}: (file_editor_tab, bp_info,
handle_request_add_breakpoint, next_breakpoint,
previous_breakpoint, do_breakpoint_marker,
add_breakpoint_callback):
Allow conditional breakpoint markers
* file-editor-tab.cc (handle_context_menu_break_condition): new function
* file-editor.{cc,h} (request_open_file, add_file_editor_tab,
handle_delete_debugger_pointer_request): pass bp conditions.
* marker.{cc,h} (marker, construct, handle_report_editor_linenr):
pass breakpoint conditions
* main-window.{cc,h} (handle_update_breakpoint_marker_request):
pass breakpoint condition.
* octave-link.h (update_breakpoint): pass breakpoint condition.
* octave-qt-link.{cc,h} (do_update_breakpoint): pass breakpoint condition.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Sat, 30 Jan 2016 10:13:34 +1100 |
parents | 00835323fb44 |
children | bac0d6f07a3e |
comparison
equal
deleted
inserted
replaced
21157:94fc5f13d51b | 21158:65827e9cccb8 |
---|---|
52 void create_context_menu_signal (QMenu*); | 52 void create_context_menu_signal (QMenu*); |
53 void context_menu_edit_signal (const QString&); | 53 void context_menu_edit_signal (const QString&); |
54 void qsci_has_focus_signal (bool); | 54 void qsci_has_focus_signal (bool); |
55 void status_update (bool,bool); | 55 void status_update (bool,bool); |
56 void show_doc_signal (const QString&); | 56 void show_doc_signal (const QString&); |
57 void context_menu_break_condition_signal (int); | |
58 void context_menu_break_once (int); | |
57 | 59 |
58 private slots: | 60 private slots: |
59 | 61 |
60 void contextmenu_help (bool); | 62 void contextmenu_help (bool); |
61 void contextmenu_doc (bool); | 63 void contextmenu_doc (bool); |
62 void contextmenu_help_doc (bool); | 64 void contextmenu_help_doc (bool); |
63 void contextmenu_edit (bool); | 65 void contextmenu_edit (bool); |
64 void contextmenu_run (bool); | 66 void contextmenu_run (bool); |
67 | |
68 void contextmenu_break_condition (bool); | |
69 void contextmenu_break_once (const QPoint&); | |
65 | 70 |
66 void text_changed (void); | 71 void text_changed (void); |
67 | 72 |
68 protected: | 73 protected: |
69 | 74 |