[Feature Request] EvEditor - Do not add string-casted None
literals to buffer
#2222
Labels
devel-implemented
Already finished, usually in a branch not yet merged.
feature-request
A suggestion for new functionality.
good first issue
Low hanging fruit for those wanting to help out.
Is your feature request related to a problem? Please describe.
When editing an attribute using
set/edit
, if the attribute in question is unset or otherwiseNone
, the string"None"
is prepended to the buffer.Using the editor to set an initial value requires the first step to be
:x 1
in order to actually start with a clean slate.Describe the solution you'd like
I'd suggest that if the existing attribute value is anything other than a string, the editor should at least warn the user about the type mismatch.
In cases where the value is the literal
None
or otherwise evaluates toFalse
, these should simply not be appended to the buffer.The text was updated successfully, but these errors were encountered: