[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57469] F9 with escape sequences ("\n", "\t",
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #57469] F9 with escape sequences ("\n", "\t", etc.) leads to unexpected results |
Date: |
Mon, 23 Dec 2019 11:29:25 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #57469 (project octave):
Status: None => Confirmed
Summary: F9 with new line in strings leads to unexpected
result => F9 with escape sequences ("\n", "\t", etc.) leads to unexpected
results
_______________________________________________________
Follow-up Comment #2:
It is not just newlines, it seems to be any one of the special escape
sequences. I tried "\t" for tab and the output is printed and then
immediately deleted.
Test string
printf (" %-30s %6d\tafter_tab", "PASS", 8);
On the other hand, if I copy and paste this text in to the Command Window and
hit enter it runs correctly. So, if there is a way to have F9 pass the
results more directly to the interpreter that might help.
Also, I can get rid of the newline on the command window by double escaping it
in the Editor like so
printf (" %-30s %6d\\njunk", "PASS", 8);
But this still doesn't print the results of executing the statement.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57469>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/