Skip to main content
7 events
when toggle format what by license comment
Mar 7, 2023 at 20:29 history edited DMGregory CC BY-SA 4.0
Don't repeat tags in title
Mar 7, 2023 at 19:53 answer added Yuri Santos timeline score: 1
Feb 20, 2023 at 3:30 comment added DMGregory It doesn't have to be a huge engineering commitment. Even just an enum variable storing the current input mode that you can use in a switch statement would probably be plenty.
Feb 20, 2023 at 2:19 comment added Nicholas Humphrey Thanks @DMGregory yeah gonna try it out if nothing else is recommended. I'm actually pretty new to state machine so will read some tutorials first. My only experience with state machine was when I studied parsing.
Feb 20, 2023 at 2:07 comment added DMGregory It sounds like you already have an idea of a way you could improve this solution: using a state variable instead of multiple flags. Have you tried out that approach to see if you like it better?
S Feb 20, 2023 at 1:22 review First questions
Feb 20, 2023 at 3:45
S Feb 20, 2023 at 1:22 history asked Nicholas Humphrey CC BY-SA 4.0