Some enums aren't parsed correctly #57

Closed
opened 2022-12-19 23:11:52 +01:00 by Aire-One · 1 comment
Owner

Currently, some enums string contains the description.

As an example, here is an enum from wibox.widget.imagebox:

   enum Horizontal_fit_policy
      "auto : Honor the resize variable and preserve the aspect ratio."
      "none : Do not resize at all."
      "fit : Resize to the widget width."
   end
   horizontal_fit_policy: Horizontal_fit_policy

It should be defined as

   enum Horizontal_fit_policy
      "auto"
      "none"
      "fit"
   end
   horizontal_fit_policy: Horizontal_fit_policy

We need to fix this issue.

Currently, some `enum`s string contains the description. As an example, here is an `enum` from `wibox.widget.imagebox`: ``` enum Horizontal_fit_policy "auto : Honor the resize variable and preserve the aspect ratio." "none : Do not resize at all." "fit : Resize to the widget width." end horizontal_fit_policy: Horizontal_fit_policy ``` It should be defined as ``` enum Horizontal_fit_policy "auto" "none" "fit" end horizontal_fit_policy: Horizontal_fit_policy ``` We need to fix this issue.
Aire-One added this to the v1.0 milestone 2022-12-19 23:11:52 +01:00
Author
Owner

This issue should be fixed by #76.

This issue should be fixed by #76.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Aire-One/awesomewm.d.tl#57
No description provided.