Skip to content

BOY: make text input parsing selectable (and auto-detect from the type) #442

@gcarcassi

Description

@gcarcassi

If I understand correctly, the text input now allows to choose different formats to display, but always parses in the same way. For example 6 is always parsed and sent as a double, regardless of whether one actually may want the integer 6 or the string "6".

In principle, one should be able to choose the way the parsing happens, so that the user can choose exactly what happens. As a default, maybe it should try to match the type it got to begin with (e.g. if it receives a VDouble, parse it as a double, ...).

The best way would be to have formatters and parser registered overall (either in diirt or cs-studio core) so that in the configuration (or preferences) a site can define their formats and a BOY screen would select them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions