add mark to current position before goto definition