Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Suggestion Add an un-indent button to interface

  1. May 6, 2017 #1

    Paul Colby

    User Avatar
    Gold Member

    Hey, could you guys add an un-indent to complement the indent button? If it's already there could someone give me a hint?
     
  2. jcsd
  3. May 6, 2017 #2
    Use the backspace on your keyboard :)
     
  4. May 6, 2017 #3

    Paul Colby

    User Avatar
    Gold Member

    Well,
    this is indent
    I don't seem to have one on my mac.
    How embarrassing.
     
  5. May 6, 2017 #4

    Paul Colby

    User Avatar
    Gold Member

    Well, there are the BB codes. Still just based on symmetry an un-indent would be swell
     
  6. May 6, 2017 #5

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    There is a bb-code for indenting, but not indenting is just not using the bb-code. We also don't have a bb-code for non-bold text - where would be the point?
     
  7. May 6, 2017 #6

    Paul Colby

    User Avatar
    Gold Member

    Okay, the mac keyboard not having a backspace key is an actual thing. Apparently they see it as redundant where the less refined see it as one more character code to use. I can hand edit the "<squareBracket>/INDENT<squareBracket>" to un-indent after indenting but it's a quasi pain.

    If one looks at the BB-code page you actually need an /INDENT to reduce the indent level of text that follows the INDENT
     
  8. May 6, 2017 #7

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    You can use the regular editor and simply delete the indentation tags.
    WYSIWYG editors will always be messy and miss some features if you want full control over the text.
     
  9. May 6, 2017 #8

    Paul Colby

    User Avatar
    Gold Member

    Actually, this isn't correct if I'm read the BB-page correctly
     
  10. May 6, 2017 #9

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    Huh?

    If you don't have indentation tags (in the regular editor, not the WYSIWYG), then the text is not indented.
     
  11. May 6, 2017 #10

    Paul Colby

    User Avatar
    Gold Member

    Indent experiment 1
    foofofof
    fofofofofofoo
    What the. Okay, check. Feature is really broken.
     
  12. May 6, 2017 #11

    berkeman

    User Avatar

    Staff: Mentor

    Does this help?

    https://discussions.apple.com/thread/2421159?start=0&tstart=0
     
  13. May 6, 2017 #12

    Paul Colby

    User Avatar
    Gold Member

    no,
    It's not a problem with delete. It's a problem with where the editor cursor is placed in the edit buffer.
    For example, if I now press the ident button, the current line is placed in between INDEN and /IDENT tags. Great. No amount
    of slapping the keyboard will place the cursor outside these tags. Arrow keys won't. No if there had been text to the right of
    the indented region I could navigate to and all is well.

    Okay multiple lines don't get me out. So, I'm going to switch to the "BB-code" editor which is likely what everybody else does
    because, well old guy. Okay, switching to the BB-editor an putting in a newline after the /INDENT tag ain't working either. So
    the obvious thing is put in some actual text this time.​

    Hey, this works. So, note to self. Must switch to BB-editor, write something outside the tags then switch back or not. Clearly "fixing" this
    is only needed if it's broken. Why can't the arrow keys move the input pointer after of before tags independent of there being printable
    text after or before the tag? Well, because it doesn't that's why.
     
  14. May 6, 2017 #13

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    You can indent lines after you wrote the text, then you have lines below that already. This is the source code of your previous post, every [indent] increases indentation by 1 and every [/indent] decreases it by 1:
     
  15. May 8, 2017 #14

    Mark44

    Staff: Mentor

    Here is what you have above, with all the BBCode stuff being shown.

    [INDENT]Indent experiment 1
    foofofof
    [INDENT]fofofofofofoo
    [/INDENT][/INDENT]
    What the. Okay, check. Feature is really broken.

    You need to look at the raw text to see these tags, using the page icon at the upper far right of the menu bar. (The bar with symbols B I U etc. on the left)
     
  16. May 8, 2017 #15

    DrClaude

    User Avatar

    Staff: Mentor

    I agree with @Paul Colby that this can be annoying (although I personally never use indenting).

    If I type some text then hit italic the text will be in italics. I now hit italic again and the text is back to roman type. Once indent is hit, there is no going back, except by directly editing the BB Code Editor.
     
  17. May 8, 2017 #16

    Paul Colby

    User Avatar
    Gold Member

    Thanks, once I understood the nature of the "bug" (more of a feature actually) my posting is now easier. The issue is with cursor navigation and non-white-space characters needing to appear after the indent. All (my) discomfort is avoided by indenting after the text of the post is inserted. And I can delete using the page icon and my single functioning delete key.
     
  18. May 8, 2017 #17

    jtbell

    User Avatar

    Staff: Mentor

    Using the following sequence of lines for reference, where I used the indent button on lines 2 and 3 after typing all four:

    Line 1
    Line 2
    Line 3​
    Line 4

    If I click at the beginning of line 2 and hit "delete", that line is merged with the un-indented line 1. Hitting "return" then puts line 2 on its own un-indented line.
    If I click at the beginning of line 3 and hit "delete", that line is merged with the indented line 2. Hitting "return" then puts line 2 on its own indented line again.
    If I click at the beginning of line 4 and hit "delete", that line is merged with the indented line 3. Hitting "return" then puts line 4 on its own line again, but now it's indented!

    So, if there is an un-indented line preceding the one you want to un-indent, you can un-indent by hitting "delete" followed by "return." However, if the preceding line is also indented, or if the line you want to delete is the first line, this doesn't work, and you have to go into the BB code editor.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Add an un-indent button to interface
  1. Thanks Button. (Replies: 10)

  2. Like button (Replies: 3)

  3. Back button (Replies: 1)

  4. Delete Button (Replies: 44)

Loading...