sublime_text
sublime_text copied to clipboard
[ST4] Autocomplete fails to find words on the same line
trafficstars
Description
Autocomplete fails to find and complete words which exist on the same line in the document.
Steps to reproduce
Note: This works as expected on ST3. This issue only affects ST4.
- Open a new tab in ST4
- Paste the below block of text
- Move your cursor to end of line 5 (right after "opp")
- Press tab (or whatever you've bound autocomplete to)
Hello,
This is a fake letter.
This is another sentence here with the word opportunity in it. Here I try to use it again and autocomplete it and it opp
Note: If you place a line break between the two sentences on line 5, autocomplete will function as expected on "opp".
Expected behavior
"opp" should be autocompleted to opportunity.
Actual behavior
"opp" is not autocompleted.
Environment
- Build: 4096
- Operating system and version: macOS 11.1
Still an issue on build 4126 and macOS 12.3
Fixed in build 4157.