Linking splits together - both ways?

He
HelenF
Posts: 28
Joined: Sat Dec 16, 2017 9:46 am
Platform: Mac

Tue Feb 26, 2019 10:55 am Post

Hi - I'm really finding it useful the way you can use an outline in the left pane and scrivenings in the right pane, linking them so that what you click on in the outline in the left pane shows up as the scrivenings in the right pane (Manual Section 12.2.5).

My question has to do with the following scenario.
Sometimes while messing around with the scrivenings in the right pane, I get lost as to whereabouts I am in the outline in the left pane.
Which wouldn't really matter - except I make the doc headings in the outline reflect my overall structure, so sometimes want to be able to glance across and make sure I'm keeping on track.

So my question is this.
Is there a way to highlight the doc in the outline (left pane) that reflects where I am in the scrivenings in the right pane? I'm thinking something like 'reveal in binder' but for 'reveal in other pane'.

As I write out my question, I'm realising this would probably be v difficult to program so likely is not possible!
However I will ask it anyway since even if it is not possible someone might have a nice workaround!

sc
scshrugged
Posts: 519
Joined: Wed Feb 10, 2016 6:55 pm
Platform: Mac + iOS

Tue Feb 26, 2019 1:41 pm Post

I think what you want is this:
For your described setup what you would do is right-click (anywhere but the history buttons) the Scrivenings Header Bar. This will reveal a contextual menu; from that choose––Reveal in Other Editor.

You can find more general information on the Header Bar in the Manual, Sec. 8.1.1. Specifically, see Header Bar Contextual Menu for a description of each of the menu items.
I'm a Scrivener user, not an L&L employee.

User avatar
AmberV
Posts: 24306
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Tue Feb 26, 2019 1:49 pm Post

There is a way of doing that, although it isn’t a one-click thing, for this specific scenario. The problem is that the active “thing” in your editor is technically the “container” for the session, or what you see in the editor header bar that is printed in grey text, to the left of the editable section name within the selection. So while you can right-click in the header bar and select “Reveal in Other Editor”, that command doesn’t do precisely what you want as that will either select the entire multiple selection used to form the Scrivenings session, or the container item you clicked on will be highlighted. Not very specific!

To highlight a section from within a session you have to first isolate it as a single text document. Fortunately that part is easy (there are many other good reasons to want to do that):

  1. With the cursor in the area you want to reveal, hit ⌘4 to load the selection in the editor by itself. Selection in this case means whichever Scrivenings chunk is printed in black in the header bar.
  2. Now right-click in the header bar and select “Reveal in Other Editor”.
  3. Last thing to do is get back to where you were—well that’s what the Back button is for. :) I use ⌘[ because I find that faster (and I also have it bound to a dedicated button on my mouse).

This command is limited to cases where the selected item you are revealing is already present in the other editor (that include being hidden by collapse states in the outliner)—it will not cause the other split to navigate to another location in order to reveal the item. So in that sense it is different from Reveal in Binder, which will do whatever it needs to do to reveal it, even shutting off collection views, scrolling half a yard, and drilling down to the 10th level, if that’s what it takes.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

He
HelenF
Posts: 28
Joined: Sat Dec 16, 2017 9:46 am
Platform: Mac

Wed Feb 27, 2019 3:06 am Post

Thanks Both! Very helpful as always.
My sense is that the load-locate-go back workflow is a bit unwieldy for me (plus it seems to lose my 'lock in place' setting so requires yet another click).

HOWEVER in playing around with your various suggestions I realised I can just click from scrivenings to outline within the split I am in (and back again) which achieves nearly what I want. Not quite but good enough for a quick look.
Cheers
Helen

User avatar
AmberV
Posts: 24306
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Ourense, Galiza
Contact:

Wed Feb 27, 2019 11:00 am Post

HOWEVER in playing around with your various suggestions I realised I can just click from scrivenings to outline within the split I am in (and back again) which achieves nearly what I want. Not quite but good enough for a quick look.


That’s exactly what I do. I use the inherent connection between group views as a form of contents and navigation. What you select in the outliner will be the text chunk you’ll be editing when you switch back to Scrivenings. There is also a button for jumping around and seeing where you are in a session, up by the Up/Down arrows on the right side of the header bar. I prefer the Outliner for most things though, since that can be purely keyboard driven.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles