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

Crash when clicking the Plus or Minus buttons on the filled line items after a Data Extraction #60

Closed shriprem closed 2 years ago

shriprem commented 2 years ago

Steps to Replicate

  1. Load a fixed-width data file.
  2. Click the Data Extraction button.
  3. In the Data Extraction dialog specify a record type and field type on a few (1 or more) line items.
  4. Click the Extract Data button.
  5. Now click the Plus button next to one of the line items wherein you had specified the record and field types. This will cause Notepad++ to crash immediately.

Diagnosis

When Extract Data button is clicked, there is a change of the active document in the Notepad++ editor. To start with, the active document in Notepad++ was the fixed-width file that launched the Data Extraction dialog. But now the active document is the new document with the extracted data. This change of the active document is causing the crash.