Bike 2.0 (Preview 311)

Added right-to-left and mixed-direction editing.

Each row takes its direction from its first strong character. Outline guides and controls flip sides. Use Format > Writing Direction to set a row’s or a selection’s direction yourself.

  • Added Format > Writing Direction for rows and selections
  • Added ⌥Return to split text into a new body row
  • Added ⌘I for Document Info
  • Added type carry-over when pasting into an empty quote or list row
  • Changed New Indented Row to ⌥⌘Return
  • Changed ⇧⌘Return to insert a row above
  • Changed Expand Selection to climb through parent branches
  • Changed some command IDs (update custom keybindings)
  • Fixed newlines in attribute values breaking Markdown files
  • Fixed joining rows in “selected rows only” mode moving children
  • Fixed copying a horizontal rule’s text as a stray embed
  • Fixed differently spelled keybindings not replacing each other
  • Fixed Commands Explorer showing extension keys over yours

For extension authors: extensions can now be localized and follow right-to-left layout (API 0.76.1).

  • Added bike.localize and locales/ for extension strings
  • Added bike.layoutDirection; panels get <html dir> and lang
  • Added StyleContext.isRightToLeft and OutlineEditor.isRightToLeft(row)
  • Added SymbolConfiguration.withLayoutDirection

Download:

4 Likes

WD control! Woohoo! Thank you.

1 Like

I have rows in 2.0 3.11 that I cannot unbold, maybe I am missing something (some condition that enforces boldness)?

Hi, I expect they might be headings. Put caret in them and then Format > Row Type > Body and that will make bold go away. With default settings you can also just place cursor at the start of the row and delete backwards to delete the hidden row type.

1 Like

Thanks, yep, that was it, so a hidden # a la Markdown was there?

(sorry, I am rusty with Bike)

1 Like

Not exactly, but kinda!

Bike is a rich text app, it doesn’t represent the document using any markdown formatting at runtime. But for this particular interaction it kinda simulates that there is a # there? That wasn’t very clear. Not sure if this is clearer:

But the short of it is type #<space> at start of a line to create a heading. Delete backward from first position to change row type back to body.


To confuse things a bit further, one new feature in Bike 2 is that it has a markdown format option. So you can use Bike’s markdown subset (nested lists) to store your Bike files… but as you edit your document Bike isn’t dealing with Markdown, only when you load/save.

1 Like

Fab, thanks Jesse, I so aspire to use this app more, it’s editing UI such as the “foot” maker (pointing L or R) indicating if I am about to extend the current format for the next typed char or not, and similar care for squashing annoyances that astonishingly seem to go on forever elsewhere, remains a delight.

2 Likes

One request for consideration: if you select a block of rows (or a single row as a row), could typing have the same effect as if you select some text, then type (ie. delete the text, insert the new text, in this case into a new row)?

right now typing something after creating a ranged text selection will delete the selection and insert the typed text. This is consistent with most text editors (macOS text boxes, Sublime Text, TextEdit, etc.) But if you create a “block selection”, eg. using Cmd+A or selecting across rows and then type, you get a system “beep” and no text is entered. As an example where this comes up I sometimes try to delete all of the text in an outline this way, and end up hearing the beep and needing to press Delete and then Enter.

I suspect there’s a good reason for the current behavior, but it’s been a very slight friction frequently enough I figured I’d pipe up…

I do want to keep the current behavior. What it allows is using normal keys to issue commands. For example you can use Spacebar to toggle Done status currently. And if you want to tweak things you can (using Bike > Commands Explorer) setup more single (or sequence) key shortcuts for block mode.

One app that does this well in a comprehensive design is https://checkvist.com, at some point I expect to provide a integrated set of key shortcuts like that in Bike too.

1 Like

Oh that’s cool. Thanks for the thoughts and the link!

Hey,

just a little observation and question. When pasting mono font text, from TheArchive, from uFocus, it is created in Bike as datatype code. Is this intended behavior?

This only applies to the default paste option.

Best and thanks!

if the text you copy from has an indent it is pasted as code in to bike, at least this is what i observe. any preceding tab/indent causes this as indented blocks in original markdown are generally parsed as code block, so bike treats them similarly i guess

1 Like

TheArchive populates the clipboard only with a single public.utf8-plain-text pasteBoardItem, which carries no font information – mono or otherwise.

As @LeftHandSolution points out, the interpretation of row type will be affected by any white-space left indent.


Edit > Paste > Paste and Render Markdown

will, of course, interpret any markdown syntax that you have used in TheArchive, including left indentations (or fences) to specify code blocks.

1 Like

Jep, thank you!

It seems to be the indent the paragraphs have from being second level in a list.