Forum Archive

Word Processor vs Source Code Editor

Manny

As much as I like the idea of Editorial (I'm a huge Pythonista fan), I find I don't actually ever use it.

The reason is the handling of the shortcuts above the toolbar.

In Byword, for example, if you select some text and hit "#", it behaves like a word processor and increases the indentation level of the selection.

In Editorial, the selected text is replaced with the "#" character just like it would be in the Pythonista source editor.

henryiii

The tab key above the pythonista keyboard has the same problem, it replaces selected text with a tab rather than indenting it. And there isn't a way to in indent with it.

In both cases, you can use actions/workflows, but it's not as simple/handy.

TutorialDoctor

Hmm, never noticed this before. It does seem like the tab key should indent a whole body of text.

Perhaps a tweak to this workflow will help?

This makes the hash a shortcut for indentation

omz

The behavior of the tab key in Editorial is intentional, because indenting a regular block of text with a tab would turn it into a Markdown code block, which is usually not what you want. When you're in a list however, you'll notice that the tab key does in fact increase the indentation level.

I don't increase the heading level when inserting a # because I often use this character for other purposes within the text itself.

Manny

Indeed TutorialDoctor, it does look like it should be possible to come up with some workflows to mimic Byword, if I can find the time to tinker with it. Thanks.

Being able to customize the keyboard toolbar with workflows would be even better.