Adding placeholder on active line if active line is empty

Nice, copied the placeholder code and updated it for my use case - it worked, Thanks for the pointer.