Set mark in text