diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-03-05 22:50:55 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-03-05 22:50:55 +0100 |
commit | ab91f61fac68ea49aafe1f6a4d2451be57839da4 (patch) | |
tree | 88cfc3b9937790551914bbc66974798c5d682acd /src/sc_editor.c | |
parent | e367c2a2471194351af4fed2aac6fa13375da89b (diff) |
Debugging stuff
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index f2a70bf..909914d 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -837,6 +837,8 @@ static void insert_text(char *t, SCEditor *e) int offs; int err = 0; + printf("insert! --------------------------------------------------------\n"); + if ( fr == NULL ) return; /* If this is, say, the top level frame, do nothing */ @@ -919,6 +921,8 @@ static void insert_text(char *t, SCEditor *e) update_local(e, fr, sln, sbx); fixup_cursor(e); + printf("done! --------------------------------------------------------\n"); + advance_cursor(e); sc_editor_redraw(e); |