[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39722] history list adds extraneous carriage
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands |
Date: |
Mon, 12 Aug 2013 23:08:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
Follow-up Comment #3, bug #39722 (project octave):
I've printed the text that is issued via
emit command_double_clicked ((*it).data().toString());
and the correct text is appearing in the proper order. I believe this is a
flaw in communications between the GUI and the core:
https://savannah.gnu.org/bugs/?39723
I will bring this up on the discussion list. I think the evaluate is correct
from the GUI's perspective.
Other than that, I think the patch does sensible things. When a block is
copied, there is no CR added after the last line, but I think I prefer that
for use in an editor...but perhaps other would disagree. I think that is
something we could leave temporarily to get feedback from beta-users.
We could make the following code a function:
for (QModelIndexList::iterator it = rows.begin (); it != rows.end (); it++)
{
if ((*it).isValid ())
{
if (prev_valid_row)
text += "n";
text += (*it).data().toString();
prev_valid_row = true;
}
}
since it is duplicated in the code.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39722>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Dan Sebald, 2013/08/07
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Dan Sebald, 2013/08/07
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Torsten, 2013/08/12
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands,
Dan Sebald <=
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Torsten, 2013/08/13
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Dan Sebald, 2013/08/13
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Torsten, 2013/08/14
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Dan Sebald, 2013/08/14
- [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands, Torsten, 2013/08/15