BdR76 / RandomValuesNPP

Generate random values plug-in for Notepad++. Use this plugin to generate passwords, guids or random datasets in CSV, JSON, XML and SQL formats. Use the fake test data for performance and QA testing to improve software quality in application development, reports, database modeling, webdev etc.
15 stars 4 forks source link

[Bug; PR created] Generate values window: Limited to 9 rows #7

Closed htcfreek closed 11 months ago

htcfreek commented 1 year ago

The feature "Generate random values" is limited to 9 rows because the for loops in https://github.com/BdR76/RandomValuesNPP/blob/a38b628b1af568dabb903368ec3f3ae76eb6522f/RandomValuesNppPlugin/Forms/GenerateForm.cs are using (1 .. <10) instead of (1 .. <=10).

BdR76 commented 11 months ago

I've also increased the max columns to 30 instead of just 10. The code is a bit ugly, but that is due to how the Settings/SettingsBase was initially setup.

To anyone if you know how to add a List\<string> as a setting AND integrate it nicely with the Settings/SettingsBase and the Settings dialog, feel free to submit a PR.