Ticket #5215 (closed: fixed)
script interpreter typing at the end
Reported by: | Andrei Savici | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.1 |
Component: | MantidPlot | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Janik Zikovsky |
Description
I am trying to type a command in the script interpreter, then I try to add print at the beginning. Instead the print command appears at the end. Suppose I have a run object,r. I type
r.getProtonCharge()
then I realize that I forgot to type print, so I move the cursor at the beginning, type print, but the output is
r.getProtonCharge()print
Change History
comment:3 Changed 8 years ago by Martyn Gigg
Fix cursor bug in script interpreter. Refs #5215
The cursor was being moved to the end when anything was typed rather than checking if it was already on the last line.
Changeset: 2b3329d545c8921ae5394f292d01ce9526eada23
comment:4 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 8 years ago by Janik Zikovsky
- Status changed from verify to verifying
- Tester set to Janik Zikovsky
comment:6 Changed 8 years ago by Janik Zikovsky
- Status changed from verifying to closed
Cursor insert and overwrite works fine in the script interpreter.
comment:7 Changed 8 years ago by Martyn Gigg
Fix cursor bug in script interpreter. Refs #5215
The cursor was being moved to the end when anything was typed rather than checking if it was already on the last line.
Changeset: 2b3329d545c8921ae5394f292d01ce9526eada23