Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Controls Guy on April 18, 2022, 05:50:52 PM

Title: Feature request -- sort data block list in XRef/Usage print dialog
Post by: Controls Guy on April 18, 2022, 05:50:52 PM
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.
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: BobO on April 18, 2022, 07:29:14 PM
Isn't alphabetical one of the sort options?
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: Controls Guy 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.
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: BobO on April 18, 2022, 11:46:26 PM
Oops...missed the "print dialog" part. Small text. Old eyes.
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: Controls Guy 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.
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: franji1 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)

Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: Controls Guy on April 20, 2022, 01:49:55 PM
Awesome!   That will be really helpful.   8)
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: franji1 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 :-\
Title: Re: Feature request -- sort data block list in XRef/Usage print dialog
Post by: Controls Guy on April 28, 2022, 12:26:47 PM
Yup, I get those situations too sometimes.  Understood!