Xcode 9: Typing the opening square bracket with text selection fails to replace selected text
| Originator: | mail.junjie | ||
| Number: | rdar://32808818 | Date Originated: | June 16 2017, 2:17 PM |
| Status: | Resolved: | ||
| Product: | Developer Tools | Product Version: | Version 9.0 beta (9M136h) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: In macOS, typing a character when some text already selected should replace the entire selection with the character. However, this does not seem to be the case when typing the opening square bracket character "[". Instead of replacing the selected text with the character, Xcode 9 attempts to wrap the selection within square brackets. See attached video. Steps to Reproduce: 1. Select some text in Xcode 9 source editor (objective-c source code) 2. Type the opening square bracket "[" Expected Results: The selected text should be fully replaced by the square bracket Observed Results: The selected text becomes enclosed in square brackets instead Version: Version 9.0 beta (9M136h) macOS 10.12.4 (16E195) Notes: Configuration:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!