Questions tagged [indent]
The indent tag has no usage guidance.
28
questions
0
votes
0
answers
219
views
In the Word Navigation pane, all headings below Heading 2 style are indented by the same amount. How can I further indent Heading 3 and Heading 4?
In Office 365 Word, I can format the Heading styles in the document and indent them as I require. In the Navigation pane however, all headings (below Heading 2) are indented by the same amount. It ...
0
votes
1
answer
104
views
Microsoft Word Styles; Apply only text color and spacing?
I'm new here!
I love using the styles in MS Word, super helpful keeping the document consistent with formatting. My only issue is that some of my text have different indentations. So when I apply ...
8
votes
4
answers
2k
views
Find and replace in Notepad++: How to insert above line with same amount of indents?
I need to replace, in a large number of Python files with many function definitions, all occurrences of
def some_func(foo, bar):
with
@jit(parallel=True)
def some_func(foo, bar):
with whatever level ...
1
vote
2
answers
905
views
Resizing the Ruler Sliders
Is there a way to resize the indent slider arrows in Word? I feel like half the time when I'm trying to either move the whole margin or try to only move the lower arrow, I have to try three or four ...
0
votes
1
answer
185
views
Hanging Indent for caption in MS Word
I want create caption with hanging indent for a long sentence neatly just like below:
But, I always get like sentence below every time and I need to adjust the indent manually. Even, I already adjust ...
0
votes
1
answer
708
views
Word VBA hanging indent multiple differently indented paragraphs, without moving paras
I am trying to write a macro to apply hanging indents to all paragraphs in a selection, relative to the first line.
The macro needs to work on multiple different paragraphs, including un-numbered ones,...
0
votes
1
answer
692
views
Custom indentation for long sentence when using bullet listing?
When a sentence is too long to fit on one line, the first word of the next line has the same indentation 'start point' as the line above it. I'd like the indentation or the start to begin 2 or 4 white ...
0
votes
0
answers
40
views
Why is Word successively indenting paragraphs?
I have a long, forwarded email chain that I would like to separate - each email starts on a new page. To do so, in Outlook 365 I saved the email as an "MHT file," then opened the file in Word 365. At ...
1
vote
1
answer
564
views
vscode: how to just format indent?
I want to use vscode to format my js code. But I just want it to format indent, not any other space in my statement.
But I have not found any way to control this config.
e.g.: If I have some code ...
0
votes
0
answers
597
views
Microsoft Outlook for Bac Tab/Indent
In Microsoft Outlook for Mac Version 16.15
I'd like to be able to create a numbered list (starting with number 1) and after pressing enter and tab, the second line should auto indent (and become a). ...
1
vote
0
answers
81
views
Indentation in empty lines
I'm using the Brackets text editor. Is there a way to preserve indentation in empty lines?
Before Indention
After Indention lines 4 and 6 should have an indent guide too
If I indent again (and ...
0
votes
2
answers
1k
views
indent only first line of paragraph via 'spacebar'
On Notepad++, if I select the first character of a paragraph, and press the 'spacebar', the entire paragraph gets indented by a space. How should I configure it so that only the first character moves ...
0
votes
0
answers
110
views
TextEdit indent with numbers
To indent a paragraph in TextEdit I found that I can go to Format > Text > Show Ruler and then drag the indent. The problem is that it is very difficult to give a exact number, for instance 1cm.
Is ...
0
votes
1
answer
3k
views
Notepad++ to enter new line and not get indented hotkey?
Auto-indent in Notepad++ sometimes turns out to be very annoying - e.g. when we work with text/note file.
Very often do I want to enter a new line and the cursor is NOT indented i.e. at the beginning ...
0
votes
1
answer
208
views
Can't tab lists, but can backspace or shift-tab them in word 2010
I am trying to have an outline follow the format
List item (with a subsection under this one)
List item
List item
However, word isn't letting me "tab" to create subsection. I can backspace and shift ...
0
votes
1
answer
232
views
How to prevent GNU indent from breaking initialization assignment like "= { 0 };"
See following example.
$ indent --version
GNU indent 2.2.10
$ cat foo.c
void foo()
{
struct {
int a;
int b;
} v = { 0 };
}
$ indent -st foo.c
void
foo ()
{
struct
{
...
1
vote
2
answers
256
views
GNU indent: How to forbid inserting newlines before `,' in declaration of struct arrays?
See following example. I don't want the , char in a separate line. I go through all indent options but seems like no one is for this.
$ indent -version
GNU indent 2.2.9
$ cat foo.c
void
foo ()
{
...
3
votes
1
answer
802
views
Tidy command that only fixes indent
I have a number of HTML files that contain snippets of HTML code (not full pages, so no body tags, etc). Unfortunately the HTML in those files is completely unindented.
I'd like to run tidy to re-...
0
votes
3
answers
970
views
Unnecessary indenting in bash
I have been trying to paste text from one file to another in bash. I'm working in Putty.
To be more clear,
I have a file hotel.txt with some lines of text that are indented, thus have tabs and spaces....
16
votes
3
answers
10k
views
How can I show vertical indentations markers with Emacs?
I'm looking for an Emacs package or configuration that makes it possible to mark indentations with vertical lines, like those shown in the following screenshot of Sublime Text:
1
vote
2
answers
935
views
Vim indentation mapping: how to insert a line break that indents up the column I was at?
In Vim, I want to bind a key which will insert a newline and indent that newline up to the column where the cursor used to be. It's a little strange, so let me illustrate:
Example: before and after, ...
0
votes
1
answer
63
views
Calculating `indent` parameters automatically
How to automatically analyse a C/C++ source file and find out which indent parameters does suit more (for example, produce minimum of changes when filtered though indent)?
1
vote
1
answer
617
views
vim fortran indentexpr issue
Strange issue here with getting indentexpr=FortranGetFreeIndent() to be set correctly.
The first time I open a file (free form, of course), say new.f90, :set gives
:set
--- Options ---
autoindent ...
1
vote
1
answer
219
views
Disable indent selection by tab
When I select text in Visual Studio (C++ if it matters) and hit the tab key, instead of replacing the selected text with a tab, it instead indents the selected code. I really want to disable this "...
1
vote
2
answers
294
views
Indent one level deeper rather than smart indent?
When in markdown-mode, I would like to disable smart indent. Instead, when I highlight a block of code and press TAB, I would like the block to be indented one level deeper, like how Sublime does it.
...
2
votes
3
answers
6k
views
Python auto indents when I copy/paste
I have tried to copy/paste my code into my code editor on my MAC. However, it auto indents everything. Is there a way to un-indent multiple lines at once?
0
votes
1
answer
146
views
Emacs indents after a line starting with a hash in php-mode
I suspect this has to do something with the C/C++ indenting php-mode indenting is based on, however the hash symbol in PHP just indicates a single-line comment and is not a reason to indent the next ...
1
vote
1
answer
1k
views
nnoremap with vnoremap
with vim, I use object indent.
and frequently I use this
vii:!sort
for sort a block with same indent.
I try set this nnoremap
nn <leader>ss vii:!sort<cr>
but don't work, any ...