Is there a way to have an attribute modifiable in the inspector with the grey "Edit" button, which makes the usual white text-editing window pop up? Just like for the "Menu Items" attribute for [umenu]...
well, I think it depends what you are trying to do with it.
I personally haven't used it with CLASS_ATTR_SYM_VARSIZE, but I am not sure your approach is gonna work.
If the user inserts numeric values between commas I don't see how Max could turn them automatically into symbols. You might have to write a custom accessor to do that, but you risk of making things more complicated than they need to be...
A better, more general way might be to use CLASS_ATTR_ATOM_VARSIZE.
You can typecheck the arguments yourself and still parse commas away.
There might be other ideas, but I don't know exactly your scenario, so I can't really give you a definite answer.
Uhm... thanks Ádám, but I don't completely understand: does it mean that my "text_large" attribute should be a long single string, which then should be only parsed internally?
Meanwhile I have solved the issue with the CLASS_ATTR_ATOM_VARSIZE (just a rough programming error).
I was just wondering if there were a way to parse automatically a list of atoms with respect to commas (as the umenu object does). As far as I know atom_setparse() parses an unique string into a sequence of atoms, isn't it?
Yes, that was my idea (the 'using a single large string and then parse its content internally'). But as I told, I didn't test it, so I can't tell whether this was more efficient or not than the use of CLASS_ATTR_ATOM_VARSIZE...