That depends on the application. Which app is it? And do you mean you want KM to perform this operation? And do you mean you want to create a hotkey which will trigger KM to change the "current line" to red? That doesn't sound too hard but I would need clarification on these questions.