When I select multiple lines of text in text editor Sublime Text 3, and try to find (Ctrl+F) an existing string in it, it fails. In fact, any highlighting I do somehow makes the string unfindable. For example, if I highlight all text in my file, and Ctrl+F an existing string, it is unable to find any matches. Only when the string I want to find is not highlighted can the string be searched.
I have the 'in selection', 'highlight matches', and 'wrap' flags on when highlighting. My user preferences are as follows:
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_size": 10,
"auto_find_in_selection": true,
"trim_trailing_white_space_on_save": true,
"ignored_packages":
[
"Vintage"
]
}
Any help will be appreciated. I have been trying to figure this out for an hour. Originally I had "auto_find_in_selection" set to false - I thought that was the culprit, but the problem persisted even after setting it to true.
go to settings
-> user
and add this line:
"find_selected_text": true
next time you select a text and press cmd+'f'
it will be there as default search.