I should go check this, but for many commands (formatting) , if you select the text to be modified and then issue the command, you will get two triangles, fore and aft, with the latter restoring the previous value. I think this work for ip.