Indenting selected text

Vince's Avatar


17 Aug, 2017 09:17 PM

In almost every editor I've ever used (I only say "almost" because I never use absolutes), including the other MD editors I have, highlighting text and pressing TAB will indent the text, i.e. insert a tab at the front of each line selected. MMD overwrites the text instead. I looked through Preferences and didn't see a preference for it; did I miss something?

If not, then consider this a request.

(Why do I want things to be indented? Because I prefer lists to be indented, i.e. the <li> to be a tab over from the <ol>. I know it's not necessary. I prefer to see my outlines in an outline structure, even in the source document.)

  1. Support Staff 1 Posted by Fletcher on 17 Aug, 2017 09:24 PM

    Fletcher's Avatar

    Not sure I follow this one. Why would you highlight something and then type tab? Just put the cursor where you want, and then hit tab. Standard behavior when you highlight and then type is to replace the highlighted text with the new text.

    You can also use the Shift left/right/etc. commands as well, which sound like what you want.

    (PS If you have trouble finding menu commands, why not use the Help->Search menu option...? )

  2. Fletcher closed this discussion on 17 Aug, 2017 09:24 PM.

  3. Vince Rice re-opened this discussion on 17 Aug, 2017 09:35 PM

  4. 2 Posted by Vince Rice on 17 Aug, 2017 09:35 PM

    Vince Rice's Avatar

    I'm highlighting multiple lines ("insert a tab at the front of each line selected"). If I highlight 100 lines, I want a tab on each one of them. I don't want to have to hit TAB a hundred times. And, as I said, standard behavior in a text editor is not to replace highlighted text when the typed text is a tab. Most any editor I use (BB Edit, Sublime, Atom, Mou, MacDown, etc., etc., and many more on Windows) will add the tab.

  5. Support Staff 3 Posted by Fletcher on 17 Aug, 2017 09:41 PM

    Fletcher's Avatar

    I'm not saying no one implements non-standard behavior, but it's not standard macOS behavior.

    But in either case, that's what the shift commands are for.

  6. Fletcher closed this discussion on 17 Aug, 2017 09:41 PM.

  7. Vince Rice re-opened this discussion on 18 Aug, 2017 03:28 PM

  8. 4 Posted by Vince Rice on 18 Aug, 2017 03:28 PM

    Vince Rice's Avatar

    It's standard text editing behavior, period. I don't own a Mac editor that doesn't do it, I don't own a Windows editor that doesn't do it. I haven't had occasion to use any Unix editors (other than VIM, which is a whole 'nuther kettle of fish), but some of the other editors I use are cross-platform to Unix, and so at least they do it there as well.

    The shift-commands accomplish the task, so thanks for pointing them out. But they are the ones that are non-standard. I have to remember to do something different here than I do in any other editor I use. That's an impediment (like defaulting Typewriter mode). The goal is to reduce impediments.

    And, as to the Search on the Help menu that you mentioned somewhere, there are several reasons I hadn't used it.
    After discovering there was no actual "Help" on the help menu, just a re-direction to the web site, I haven't used the Help menu.
    Since I was only on there once, I gave almost no thought to the Search on there, but assumed it was for searching the help. (There being no help and all.)
    I didn't notice there was a text entry box next to Search. It's almost the same color as the menu background. I see the cursor now, but in general I don't pay much attention to cursors.
    But, since you pointed it out, that's very helpful, thanks!

  9. Support Staff 5 Posted by Fletcher on 18 Aug, 2017 03:43 PM

    Fletcher's Avatar

    FYI -- That Help search is macOS system-wide, not Composer specific, so
    it's useful in many instances. In fact, I often use it instead of
    navigating to menu items since it allows me to select menu commands
    without using the mouse when they don't have shortcuts assigned.

  10. 6 Posted by Vince Rice on 18 Aug, 2017 04:22 PM

    Vince Rice's Avatar

    Fascinating. I've been on Macs for ten years and have never "seen" that. I had no idea that's what that was for. Thanks again for the heads up!

  11. Support Staff 7 Posted by Fletcher on 18 Aug, 2017 04:35 PM

    Fletcher's Avatar

    Yeah -- that one "changed my life".


  12. Fletcher closed this discussion on 19 Aug, 2017 02:12 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac