0

Suppose I am writing a line (call it "line a") in the editor, compiling it, and going to see it on the viewer. Now, in the viewer, I am scrolling to another line (call it "line b") , and doing Cmd+click to go to line b in the editor. Now I want to go back to line a in the editor. How do I do that? In eclipse, and also in TexPad, there is a "go back" button. Is there a similar button on TeXShop?

9
  • There is no such function in TeXShop that I am aware of.
    – Alan Munn
    Commented Jul 29, 2016 at 16:47
  • Do you use any workaround for the above scenario?
    – Yoni Zohar
    Commented Jul 29, 2016 at 17:41
  • I don't use Texshop, so I have no idea how the program works, but I can imagine two scenarios: 1) pdf viewer are in the same window, than just click in the editor side to resume typing at line a, since the courser should be still there 2) pdf and editor are in different windows, then you can use native mac shortcuts. I think cycling through open application (in the order of last usage) is cmd+tab and windows of the same application is cmd+[the caracter to mark inline code which does not get displayed in comments :(] Commented Jul 29, 2016 at 18:32
  • (cont.) See osxdaily.com/2012/06/08/14-must-know-tips-tricks-for-mac-os-x for details about these shortcuts. Commented Jul 29, 2016 at 18:34
  • Thanks. However, the scenario I described is a bit different: I was editing some line "a", then went to edit another line "b", which is now sseen both on the editor and the viewer. So the cursor no is in "b", while I want to go back to "a" (this happens e.g. when fixing a definition while proving a subsequent lemma).
    – Yoni Zohar
    Commented Jul 29, 2016 at 21:44

1 Answer 1

3

In the Preview window press the small left facing black arrow. That takes you back to your previous location. Then Cmd-Click to take you back to that location in your Source window.

1
  • Clever! I wouldn’t have thought of that :-) Commented Jan 1, 2018 at 16:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .