Skip to content

Empty rule names crash regression#474

Merged
Zezombye merged 1 commit into
Zezombye:masterfrom
tylovejoy:fix/empty-rule-name-symbol-range
Jun 29, 2026
Merged

Empty rule names crash regression#474
Zezombye merged 1 commit into
Zezombye:masterfrom
tylovejoy:fix/empty-rule-name-symbol-range

Conversation

@tylovejoy

Copy link
Copy Markdown
Contributor

When a rule had an empty name, the symbol's selection range was sized using the <empty> placeholder label instead of the real text, which is 0 characters. That pushed the selection range past the end of the line.

Fixed by sizing the selection range from the actual rule text and only uses <empty> as the label.

@Zezombye Zezombye merged commit 66a4bf6 into Zezombye:master Jun 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants