Add an un-indent button to interface

  • Suggestion
  • Thread starter Paul Colby
  • Start date
In summary, the conversation revolved around the request for an un-indent feature on the indent button and the discussion of how to navigate and use the BB-code editor to achieve the desired result of un-indenting text. It was also noted that Mac keyboards do not have a backspace key and that "delete" is used instead. There were also mentions of the WYSIWYG editor being messy and lacking certain features, and a link was shared to a discussion about the backspace key on Mac keyboards. The conversation concluded with a summary of how to use the indent button and the BB-code editor to achieve proper indentation and un-indentation.
  • #1
Paul Colby
Insights Author
Gold Member
1,516
456
Hey, could you guys add an un-indent to complement the indent button? If it's already there could someone give me a hint?
 
Physics news on Phys.org
  • #2
Paul Colby said:
Hey, could you guys add an un-indent to complement the indent button? If it's already there could someone give me a hint?
Use the backspace on your keyboard :)
 
  • #3
Well,
this is indent
I don't seem to have one on my mac.
How embarrassing.
 
  • #4
Well, there are the BB codes. Still just based on symmetry an un-indent would be swell
 
  • #5
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?
 
  • #6
mfb said:
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?

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
 
  • #7
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.
 
  • #8
mfb said:
You can use the regular editor and simply delete the indentation tags.
Actually, this isn't correct if I'm read the BB-page correctly
 
  • #9
Huh?

If you don't have indentation tags (in the regular editor, not the WYSIWYG), then the text is not indented.
 
  • #10
Indent experiment 1
foofofof
fofofofofofoo
What the. Okay, check. Feature is really broken.
 
  • #11
Does this help?

https://discussions.apple.com/thread/2421159?start=0&tstart=0
Q: Where is the backspace key on my new Mac
Can someone let me know where the backspace key is on my new MacBook Pro?? And what is the strange character on some of the shortcut keys?
"Backspace" is actually "Delete" on a Mac. It is located right where you normally think of Backspace to be located. "Delete" will delete the character to the left of the cursor. If you hold the Fn key and press Delete, it will delete the character to the right of the cursor (forward delete).May 5, 2010
 
  • #12
berkeman said:
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.
 
  • #13
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:
Paul Colby said:
[INDENT]Indent experiment 1
foofofof
[INDENT]fofofofofofoo
[/INDENT][/INDENT]
What the. Okay, check. Feature is really broken.
 
  • #14
Paul Colby said:
Indent experiment 1
foofofof
fofofofofofoo
What the. Okay, check. Feature is really broken.
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)
 
  • #15
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.
 
  • #16
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.
 
  • #17
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.
 

Related to Add an un-indent button to interface

1. What is an un-indent button?

An un-indent button is a feature commonly found in text editing interfaces that allows users to remove indentation from a paragraph or block of text.

2. Why is an un-indent button useful?

An un-indent button can be useful for quickly correcting formatting errors or making adjustments to the layout of a document or text. It can also save time and effort compared to manually removing indentation.

3. How does an un-indent button work?

The specific functionality of an un-indent button may vary depending on the interface, but generally it will remove a pre-defined amount of indentation from the selected text or paragraph.

4. Can an un-indent button be customized?

Some interfaces may allow for customization of the un-indent button, such as adjusting the amount of indentation removed or applying it to specific sections of text.

5. Is an un-indent button necessary for all interfaces?

No, an un-indent button is not necessary for all interfaces. It may be more commonly found in text editing or word processing programs, but may not be relevant for other types of interfaces or applications.

Similar threads

  • Feedback and Announcements
Replies
9
Views
1K
  • Feedback and Announcements
Replies
11
Views
373
Replies
18
Views
1K
  • High Energy, Nuclear, Particle Physics
Replies
1
Views
887
Replies
10
Views
433
  • Precalculus Mathematics Homework Help
Replies
13
Views
2K
  • Classical Physics
Replies
3
Views
845
  • Feedback and Announcements
2
Replies
53
Views
27K
  • Programming and Computer Science
Replies
1
Views
1K
  • Sci-Fi Writing and World Building
Replies
9
Views
1K
Back
Top