How to make revert of CTRL J (Joint Command)
-
I use ctrl j short cut to join two lines
f1();
f2();
Ctrl + J
f1();f2();How can I revert it with short cut?
-
I use ctrl j short cut to join two lines
f1();
f2();
Ctrl + J
f1();f2();How can I revert it with short cut?
@kapabahwuk
Ctrl+Z for Undo to revert. If it's not done immediately it wouldn't know where you want to split the line. Otherwise Enter key at the split position at a future time. -
I would need to revert after I it saved and reopened and enter is not solution :)
-
I would need to revert after I it saved and reopened and enter is not solution :)
@kapabahwuk said in How to make revert of CTRL J (Joint Command):
I would need to revert after I it saved and reopened
So if you think about it by definition you would need to save the history, somehow, of all the "joins" you performed on lines so that you can correctly un-join them to "revert" back to the original at a later date. Just like for any other "undo" you want to save across sessions. QUndoStack might be of interest. And there is no relationship between this and a "short cut". I don't see what other answer you expect?