Shift+F7 show ONLY blocks in frame
authorThomas White <taw@physics.org>
Sat, 24 Mar 2018 17:35:35 +0000 (18:35 +0100)
committerThomas White <taw@physics.org>
Sun, 25 Mar 2018 18:50:01 +0000 (20:50 +0200)
Not the ones after it.

src/sc_editor.c

index f5d8180..897a2a4 100644 (file)
@@ -1582,7 +1582,7 @@ static gboolean key_press_sig(GtkWidget *da, GdkEventKey *event,
                        debug_paragraphs(e);
                } else if ( event->state & GDK_SHIFT_MASK ) {
                        if ( e->cursor_frame != NULL ) {
-                               show_sc_blocks(e->cursor_frame->scblocks);
+                               show_sc_block(e->cursor_frame->scblocks, "");
                        }
                } else {
                        open_debugger(e->cursor_frame);