Change to "Split with selection as title" availability

I have a very minor frustration stemming from my personal workflow. I’ll start with my “wish list” item, and then explain my reasoning.

If I select the last piece of text in a document, I can’t do a “Split with selection as title” to split the document at this point and create a new document with the title set as this text. So I’d love the “Split with selection as title” to appear whenever there is text selected, even if this text is the final text in a document.

I personally can’t see a disadvantage to changing the logic in this way, most people wouldn’t even notice the difference, but those of us wishing to split off the last sentence would love it.

And now my workflow…

As I write say Scene A, I’ll come up with something else which I want to put into a new document, another scene, a location to write up, or just a TODO I want to farm off and come back to later.

I jot these down quickly at the bottom of the main text, each on a new line usually preceded with a TODO to be clear these are things I need to clean up, add meta data, sort, bin or whatever.

At some point I go through these TODOs at the bottom of the text and “Split with selection as title” so I end up with documents titled “TODO Fred and Mary talk about their mutual love of cheese” or “TODO check chapter 1, suspect too much talk about cheese”

But I always have to add an extra CR after the last piece of text before I can do the split, and it’s too easy to select the last sentence and the last CR character by accident.

There you go, I’m hoping this is a simple change to a minor if or switch statement with no negative impact elsewhere, then maybe I’ll get to see it in an update :slight_smile:


Done for 2.0.6.

I think that reply deserves a big ol’ w00t w00t.

I’m almost as happy as that day I first saw they were making Lego Star Wars toys :stuck_out_tongue:

My only beef with Lego Star Wars is that when I bring up events from Star Wars now, my son starts talking about how things happen in the Lego Star Wars game, grr. But we did have a fun week building the Lego Death Star after Christmas - that thing is amazing (and is never being taken apart).

The next beta will have the new Split at Selection with Title behaviour, by the way, which will be available on the beta forum some time next week I hope.

All the best,

But does he distinguish between the real movies and those…atrocities…from recent years? This is my real fear, and I don’t know if it’s avoidable unless you never let your child associate with the outside world–someone will one day mention Jar-Jar Binks and life is doomed.

Unfortunately he likes all of them, but we are very careful to steer him towards the Han/Luke/Leia years, don’t worry!

Death Star lego with the kids, I’m a little jealous…

My twins just turned 4 last month, so Star Wars is something they’re aware of, but it’s not yet rocking their world.

I started them real early though, there’s an Mr Potato Head Artoo-potatoo and Spud Trouper in my office which they are very very familiar with.

I’m just sitting back waiting for the day when I introduce them to the Greedo controversy.

Han shot first!

The goal is to have one of these babies hanging on fishing line from the rec room ceiling. Only problem being that the rec room ceiling is slightly low and this could interfere with Dance Central, but I think if I put the bookcases in just right I can fit this somewhere near the wall partially out of the way…

Good luck hanging it from anything - it’s massive! There’s Darth Vader’s TIE fighter, the control panel that Ben has to disable, the trash compactor, the room showing Alderaan being destroyed (which you can swap to show the proximity of Yavin IV) and the Emperor’s chamber. I particularly enjoyed a review on the Lego website regarding the latter. Most people were raving about what a great Lego kit this was, but one review gave it something like one or two stars and expressed outrage that the Emperor’s chamber should be in the same Lego model as the trash compactor when these were COMPLETELY DIFFERENT DEATH STARS (capitals obligatory). It’s a fair point, but still… :slight_smile:

My kids were sat through all the original trilogy when the oldest reached five. They are soon to go through it again now that middle child is five (although my oldest has watched all the Star Wars films dozens of times, as well he should).

I actually want to hang this one (but not at that price)…Still massive, but looks better from a distance, and easier to carefully put into a net of fishing line. The other one can be on display under it, perhaps with an arrow painted on the wall to indicate that the Emperor’s chamber actually belongs to the hanging model. :slight_smile:

Although really, you’d think the Emperor would’ve had a throne room in all his death stars.

Ouch, that’s the old original one - and I thought the boy’s main present this year was expensive!

And yes, I think the existence of the Emperor’s throne room is easily justified. :slight_smile:

But is it really a fair point…

Surely Palpatine and Fresh-legs Vader would have had the occasional sleepover? He must have had his own gaff, he wouldn’t have slept over in a Stormtrooper bunk room… Really the thought of it.

Bagsies on top!

PS I love it that my OSX dictionary comes pre-programmed with Palpatine. Quirk or not it’s cool. But no love for Kashyyyk though, that gets the red squigglies.

I don’t blame them, stupid name for a planet - it’s the least Wookie like word ever!

Han did shoot first, but even so, he has a 17-20dc x2 critical hit and only requires a roll of 4-20 to hit, whereas Greedo has a simple blaster and Han’s defence rating is such that Greedo would have had to have rolled a 19 or 20 to hit. So it’s kind of moot.

But he still shot first!

Damn you Lucas.


I never got the adjusted “Split with selection as title” logic to work in the Beta’s, but as it’s such a minor issue I never mentioned it.

But it’s still not there in 2.1 :frowning:

So what’s the status, is this now a “not likely to happen soon” item?

I’m not sure what you mean - this has already been implemented. If you select the last piece of text in a document in 2.1, Documents > Split > with Selection as Title works.

Oooh very interesting…

I can now get it to work for n-1 documents if I’m in Scrivenings mode, but if I’m in single document editing mode it doesn’t, and of course when I do use the “Split with selection as title” option I’m invariably in single document mode.

It won’t ever work on the final document in a Scrivening either. So it’s okay at the end of a document before a split, but not at the very bottom of the editor window.

So the rule (for me) is: If my selection includes the last character in the editor, then the “Split with selection as title” option doesn’t appear.

Can you replicate it?

Update I’ve found the issue:

It’s the “right click” context menu that’s broken. The Document / Split options are correct, but they don’t parry up with the context options. I only ever use the context menu in this scenario as I’m off the keyboard and on the trackpad / mouse.

To replicate:

  • Select the last line in an editor window (Either editor, compose mode or not)
  • Right click it.
  • See the “Set Selected Text as Title” option visible but not the “Split with selection as title” option.

Just tested this–looks like it only works on Lion. Whoops.

Edit: Oh, wild. Okay, so following the above comments

  • When viewing a single document, on Snow Leopard both split options are grayed out in the Documents menu when the last line of text is selected and the context menu items don’t appear at all; shortcut of course doesn’t work either. On Lion, the options are missing from the context menu, but are available via the Documents menu and the keyboard shortcut works.

  • When in Scrivenings mode, if the text selected is not in the final document, then in SL the options appear in the context menu but are grayed out; they’re grayed out in the Documents menu as well. On Lion, the options are in the context menu and everything works normally. If the text selected is at the end of the final document, then on both SL and Lion the context menu doesn’t contain the split options, but the Documents menu and shortcut work for Lion (and are not available for SL).

Ah, now I see - you didn’t mention it was in the contextual menu before. :slight_smile: I have fixed it for 2.1.1, which will either be out next week or in three weeks or so. In general, if you notice that something’s not working in the beta that I’ve said should be working, please give me a nudge, as otherwise it will get through to the release version as well.