Closed htcfreek closed 1 year ago
PR isn't ready for review. For a good user experience I will add a che k to prevent users from adding more the 10 rows.
@BdR76 Now the PR is ready for review.
Thanks for the PR, actually the reason the nr of user items is limited to 10 in the first place, is because I couldn't figure out how to set a stringlist as one settings item in the settings .ini
file.
I'll look into how to use the stringlist in the PropertyGrid, it can be done using a System.ComponentModel.Editor
. That way there won't be an arbitrary limit on the nr of items to begin with.
@BdR76 Can you please provide a hotfix release? I like to create a updated deployment package of np++ for our company. It would be great if I can add a fixed version of the plugin.
I've build the DLLs for an intermediate version v0.2.2β with the current fixes, see the dll in Release
and Release-x64
folders.
https://github.com/BdR76/RandomValuesNPP/tree/main/RandomValuesNppPlugin/bin
I'm still looking how to add a stringlist as part of the settings dialog and ini file. If that works I'll create a new release
cheers Bas
The generate form ignores the 10th rows on saving the settings and generating the random values. The reason are two bugs in the file RandomValuesNppPlugin/Forms/GenerateForm.cs where the for loops only count till 9 instead of 10.
This PR fixes the bug(s).
Fixes issue: #7
⚠ Note: I didn't compile an test the code!!