flandreas / antares

Digital circuit learning platform
51 stars 6 forks source link

Non-standard bit width not displayed in property editor #839

Open flandreas opened 5 days ago

flandreas commented 5 days ago

If a component's bit width property has a non-standard value (one that is not contained in the dropdown list, e.g. 3), this value is not displayed in the edit field when receiving the focus.

If the user leaves the edit field, an error "Illegal bit width expression" is displayed in red text beneath the property window.

The old value (e.g. 3) is still preserved, i.e. the component still has the old bit width, and the user can proceed. Entering another (even non-standard) value such as 7 also works fine.