shriprem / FWDataViz

Fixed Width Data Visualizer plugin for Notepad++. Turns Notepad++ into Excel for fixed-width data files. Displays cursor position data. Jumps to specific fields. Folding Record Blocks. Extracts Data. Builtin dialogs to configure file-type, record-type & fields; Themes & Colors; and Folding. Handles homogenous, mixed & multi-line records.
GNU General Public License v2.0
37 stars 6 forks source link

Feature request: Sequence Numbers in the 'Jump to Field' dropdown list #72

Closed jeff-bowles closed 2 years ago

jeff-bowles commented 2 years ago

I would like to see field numbers in the "jump to field" picklist. image

Thanks!

shriprem commented 2 years ago

@jeff-bowles , this request can be implemented fairly quickly. Before I do that and provide you with a pre-release build, any feedback on the Folding Record Blocks feature? I was anticipating that by now you would have been able to go through the brief usage notes and tried out the feature with your data files.

jeff-bowles commented 2 years ago

Hi @shriprem ,

Feedback on Folding Record Blocks -

Sorry, my response to you was blocked by some sort of firewall rule at work. I'll give it another go.

1) The technique of Settings --> Import --> Import plugin did not seem to do anything. I still had the old 2.5.3 DLL afterwarrd. Even after restarting NPP. I was able to install the DLL manually, however. 2) I am able to load sample files and see the folding/unfolding buttons. Ouroboros works well. Incidentally, when I first saw your code check-in, I saw the word and had to look it up. I never considered that the symbol would have a name. 3) Other sample files are not working so well. For instance, icd10cm_order_2021.txt loads and shows the fold points. However, the first fold point I click on causes all of the fold points to disappear from the UI. MultiLineGSN.txt loads without displaying fold points at all. 4) For my own FoldStructs.ini, I defined a simple case for one of my data files. Just the opening record type, intending that the closing would always be implied by the next opening. However, loading the file does not show the fold points at all.

I did not intend that you spend time troubleshooting this unless you really want to. I thought maybe I'd done something wrong and I would wat for the general release of 2.6.0 to see if it worked then.

If you want to pursue this with me, I can send you some examples (screen shots, INI files, flat files, etc). I'll have to either create fake data or scrub the personally-identifiable data from an existing one, as they are loaded with our customers' data.

@jeff-bowles

jeff-bowles commented 2 years ago

By the way - I'll be travelling tomorrow and offline. I'll check back over the weekend to see if you need anything from me.

jeff-bowles commented 2 years ago

Now I see that MultiLineGSN.txt is not defined for folding. Please disregard.

I tested with IPAC_ANSI.txt and got the same behavior as icd10cm_order_2020.txt; that is where the fold points disappear upon clicking any one of them. I also observed that switching to a different document (via the NPP tabs) and back will restore the appearance of the fold points, as will File --> "reload from disk".

jeff-bowles commented 2 years ago

There is also some odd behavior regarding scrolling down past the initial screenful of text. The fold points are not visible past that first screen, unless I either switch documents and back again, or "reload from disk".

jeff-bowles commented 2 years ago

Hmm - maybe a good clue for you. The "toggle line" button in the FWDataViz panel will toggle the folding on a node without making all the fold points disappear. It will toggle back (unfold) correctly as well.