[Build 137.1688 RC4] We have 2 textbox instead of one textbox with @Editor(type=Editors.SelectionVariables)



As we are using : @Editor(type=Editors.SelectionVariables) in the Code Editor, we have 2 textbox instead of one textbox in the "Edit Block" windows of Algowizard.


We talk about this bug in the last coding session on discord with Mark



Please see the attached capture (Image 0, 1 and 2) and a code example (OpenPLInMoneyExceptOne) with @Editor(type=Editors.SelectionVariables as parameter



Attachments
image-2.png
(29.22 KiB)
image-0.png
(37.22 KiB)
image-1.png
(28.70 KiB)
SQExtension OpenPLExceptOne.sxp
(1.85 KiB)
  • Votes +2
  • Project AlgoWizard
  • Type Bug
  • Status New
  • Priority Normal

History

E
#1

Emmanuel

17.05.2023 23:57

Task created

E
#2

Emmanuel

17.05.2023 23:57
Voted for this task.
E
#3

Emmanuel

18.05.2023 00:04
This is happening in every snippets using @Editor(type=Editors.SelectionVariables) in the parameter
HF
#4

Vence_Jo

19.05.2023 22:30
Voted for this task.
E
#5

Emmanuel

17.07.2023 11:22

Subject changed from [Build 137.1639 RC3] We have 2 textbox instead of one textbox with @Editor(type=Editors.SelectionVariables) to [Build 137.1688 RC4] We have 2 textbox instead of one textbox with @Editor(type=Editors.SelectionVariables)

E
#6

Emmanuel

15.08.2023 14:02
This can happen depending of the name of the variable.


In the same snippets , this will produce the error :   with   int NbOrder


    @Parameter(defaultValue="0", category="Parameters", showIfDefault=false)
    @Help("MagicNumber of the Excluded order, this order will not be closed")
    @Editor(type=Editors.SelectionVariables)
    public int NbOrder;


But this will not produce the error :                        with int MagicNumberNbOfOrder


    @Parameter(defaultValue="0", category="Order identification", showIfDefault=false)
    @Help("Number Of Order is used to set the quantity of order, Their MagicNumbers are successives to the above MagicNumber")
    @Editor(type=Editors.SelectionVariables)
    public int MagicNumberNbOfOrder;







Votes: +2

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please