News:

  • October 12, 2025, 07:20:41 PM

Login with username, password and session length

Author Topic: Feature request -- sort data block list in XRef/Usage print dialog  (Read 2341 times)

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
I have about 80 user memory blocks in one app, in order of when I thought of them of course.

If I want to print an xref for just a selected subset of blocks, it would help if they were in alphabetical order in the select/deselect box.   I think they're currently in block number order.

Might even be nice to be able to sort the memory block list when desired and reallocate the block numbers.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #1 on: April 18, 2022, 07:29:14 PM »
Isn't alphabetical one of the sort options?
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #2 on: April 18, 2022, 07:32:33 PM »
Yes, the output sorts based on elements, nickname, or block number.

I'm talking about sorting the list in the upper left of the dialog for selecting and deselecting.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6126
  • Yes Pinky, Do-more will control the world!
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #3 on: April 18, 2022, 11:46:26 PM »
Oops...missed the "print dialog" part. Small text. Old eyes.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #4 on: April 19, 2022, 12:09:32 AM »
Yup, I got those too.  In addition to alphabetizing, might be nice to stretch the whole dialog so maybe 20 or 30 blocks show at a time.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #5 on: April 20, 2022, 10:28:16 AM »
Yup, I got those too.  In addition to alphabetizing, might be nice to stretch the whole dialog so maybe 20 or 30 blocks show at a time.

I "fixed" the generated order.  Here's what I did (anyone can chime in)

Symbolic Consts (single entry)
Unassigned Nicknames (single entry)
Built-In Data Blocks, maintaining old sort order - by Block # (these are already a good order, i.e. ST, DST, X, Y, C, V, etc.)
User Data Blocks, Alphabetical
$System Heap Items, Alphabetical
Heap Items, Alphabetical
Other, Alphabetical (this category doesn't show up for Doc or Xref Print, but the code is generic)

I put a suffix on the first entry of that group in the checklist box (see attachment)


Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #6 on: April 20, 2022, 01:49:55 PM »
Awesome!   That will be really helpful.   8)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #7 on: April 28, 2022, 12:07:12 PM »
It appears I jumped the gun.  The implementation details went much deeper than just sorting the UI list - had to back it out :-\

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3601
  • Darth Ladder
Re: Feature request -- sort data block list in XRef/Usage print dialog
« Reply #8 on: April 28, 2022, 12:26:47 PM »
Yup, I get those situations too sometimes.  Understood!
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.