default to case-sensitive search and allow autocomplete in middle of a line