Ticket #6454 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

script window: Code Folding does not do anything

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Release 2.5
Component: MantidPlot Keywords:
Cc: Blocked By:
Blocking: Tester: Karl Palmen

Description

Either make it work or remove the option. Either is fine.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:2 Changed 8 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:3 Changed 8 years ago by Martyn Gigg

  • Status changed from new to verify
  • Resolution set to invalid

comment:4 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to reopened
  • Resolution invalid deleted

comment:5 Changed 8 years ago by Martyn Gigg

  • Status changed from reopened to accepted

comment:6 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

Branch: feature/6454_scriptwindow_codefolding

Tester:

  • Open a script in the script window that contains some function definitions (or write a few small ones)
  • Go to Window->Code Folding and switch it on
  • You should see another column appear next to the margin with numbers in it and where ever there is a function block you should be able to collapse/expand that block of code using the little -/+ widget in the new margin.
  • Also check it works with multiple tabs (note that it is a global option that applies to all or nothing not per tab)

comment:7 Changed 8 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:8 Changed 8 years ago by Karl Palmen

  • Status changed from verifying to closed

I always get the column with numbers in it. The code folding works not only for functions, but for all indented blocks. It only works for multiple tabs that are are already open. Tabs opened after enabling folding need folding enabled separetely. I consider this a separate issue and pass the test.

comment:9 Changed 8 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:10 Changed 8 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:11 Changed 7 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:12 Changed 7 years ago by Martyn Gigg

Fix code folding. Refs #6454

It was wired to the wrong function!

Changeset: db73bbd6a888c9e78f7f6039325f23f656d6192f

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7300

Note: See TracTickets for help on using tickets.