Page 1 of 1

Undocumented filed (1000)

PostPosted: Sat Dec 02, 2017 7:44 pm
by coon
Hey there, I found out there is an undocumented field. The ID is 1000 which is the MDI input field. In "Fields_by_number.htm" this is marked as reserved.

Re: Undocumented filed (1000)

PostPosted: Sun Dec 03, 2017 2:01 am
by cncdrive
Yes, that's correct.
Textfield 1000 is the MDI input field and it seems it is missing from the documentation.
I'll add it to the document now.

Re: Undocumented filed (1000)

PostPosted: Sun Dec 03, 2017 7:32 am
by Robertspark
What do you want to use the MDI field for with a plugin (or macro)

You have exec.code and exec.codesync

Re: Undocumented filed (1000)

PostPosted: Sun Dec 03, 2017 12:13 pm
by coon
I don't want to use it. I just defined an enum with all field codes, so I have symbolic names instead of plain numbers in my source code. When I was investigating the example plugin I've noticed there is a check for a field with an id of 1000 inside the Textfieldtexttyped_event() callback, which is the mdi input field but I had no enum constant, since it was documented as reserved. That's all. :)