Skip to content

Capitalize text in SpinBox and EditorSpinSlider to parse with Expression#105330

Closed
aaronfranke wants to merge 1 commit intogodotengine:masterfrom
aaronfranke:capital-spin-box
Closed

Capitalize text in SpinBox and EditorSpinSlider to parse with Expression#105330
aaronfranke wants to merge 1 commit intogodotengine:masterfrom
aaronfranke:capital-spin-box

Conversation

@aaronfranke
Copy link
Copy Markdown
Member

Alternative to #100395. For example, this allows typing tau/4 instead of TAU/4 in the editor. If we also re-enable infinity, this would also fix the problem where users need to type INF but it's displayed as inf, and typing inf doesn't work.

@MewPurPur
Copy link
Copy Markdown
Contributor

MewPurPur commented Apr 13, 2025

What about methods such as randf()?

@aaronfranke
Copy link
Copy Markdown
Member Author

@MewPurPur Dang, you're right. I guess we could specifically search for the constants and capitalize them, but that seems like a really specific hack. Honestly, I would prefer to just re-open PR #100395.

@aaronfranke aaronfranke marked this pull request as draft April 13, 2025 11:33
@AThousandShips AThousandShips removed this from the 4.x milestone Jun 5, 2025
@aaronfranke aaronfranke deleted the capital-spin-box branch January 10, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants