Search forward and backward for symbol at point