Ticket #5215 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

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:1 Changed 8 years ago by Andrei Savici

  • Milestone changed from Release 2.2 to Release 2.1

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

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

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6061

Note: See TracTickets for help on using tickets.