Skip to content

Fix text substitution property setters#1349

Open
letit6E wants to merge 1 commit intoovertake:masterfrom
letit6E:master
Open

Fix text substitution property setters#1349
letit6E wants to merge 1 commit intoovertake:masterfrom
letit6E:master

Conversation

@letit6E
Copy link
Copy Markdown

@letit6E letit6E commented Mar 6, 2026

Summary

Fix copy-paste bug in ChatInputTextView property setters.

Setters for isAutomaticQuoteSubstitutionEnabled, isAutomaticLinkDetectionEnabled, isAutomaticDataDetectionEnabled, and isAutomaticDashSubstitutionEnabled were all incorrectly calling super.isAutomaticSpellingCorrectionEnabled instead of their corresponding super property.

This causes data detectors (and other text substitution settings) to not actually be toggled on the underlying NSTextView, while instead silently toggling spelling correction. For example, toggling "Data Detectors" in the Edit menu has no visible effect on detection of phrases like "in 5 minutes", because the actual isAutomaticDataDetectionEnabled on NSTextView is never set.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 6, 2026

CLA assistant check
All committers have signed the CLA.

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