Xcode Version Editor - How to navigate through the changes?

后端 未结 2 881
天命终不由人
天命终不由人 2021-02-14 16:37

In the built-in version editor view of Xcode 4 and 5, when it shows the differences between two revisions, how do you jump from one changes to another?

I\'m looking for

相关标签:
2条回答
  • 2021-02-14 16:52

    Thuggish Nuggets' answer is correct. To state it clearly, if you are in the Version Editor already:

    Just click on the blue area in the middle gutter between the left and right sides. It will become "selected" (blue selection lines will appear top and bottom). Don't click on the little numbered button, but in the space around it.

    Then you can arrow up and down (no command keys).

    Not the most obvious thing... and not documented.

    0 讨论(0)
  • 2021-02-14 17:02

    If you are already in the Version Editor:

    1. In the center gutter between the left and right sides, click a revision highlight (blue area) to select it
    2. Use the Up/Down arrow keys to navigate through the changes

    If you are NOT already in the Version Editor do this:

    1. Open the file with the changes you want to compare
    2. Select the version editor viewing mode
    3. Click the timeline button to select which revisions of the file you want to compare then click the timeline button again to dismiss the timeline
    4. In the center gutter between the left and right sides, click a revision highlight (blue area) to select it
    5. Use the Up/Down arrow keys to navigate through the changes
    0 讨论(0)
提交回复
热议问题