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 one character to the right?
E.g., if I hit spacebar at this cursor location:
I get something that looks like this:
Even though I want only the first word ("Start") to have a space in front of it.
notepad++ indentation indent
add a comment |
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 one character to the right?
E.g., if I hit spacebar at this cursor location:
I get something that looks like this:
Even though I want only the first word ("Start") to have a space in front of it.
notepad++ indentation indent
add a comment |
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 one character to the right?
E.g., if I hit spacebar at this cursor location:
I get something that looks like this:
Even though I want only the first word ("Start") to have a space in front of it.
notepad++ indentation indent
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 one character to the right?
E.g., if I hit spacebar at this cursor location:
I get something that looks like this:
Even though I want only the first word ("Start") to have a space in front of it.
notepad++ indentation indent
notepad++ indentation indent
asked Oct 9 '17 at 1:30
thanks_in_advancethanks_in_advance
171210
171210
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The problem you are experiencing is likely due to word wrapping and extremely long sentences without line breaks (your "paragraphs").
To fix this behavior, select View → Word wrap and toggle it off (you can toggle the icon on the toolbar as well). You should be able to indent lines normally.
Assuming your paragraphs contain few or no line breaks, you may want to add these manually:
You can use Edit → Line Operations → Split Lines (CTRL+I) to split the lines (add line breaks) approximately where the word wraps would be (i.e. near the edge of the main window).
Per this SuperUser answer, you can use the following regex to insert newlines after approximately X number of characters (e.g. 80):
Find: (?<=.{80})s
Replace: $0n
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
add a comment |
Preferences > Editing > Line Wrap: Default works for me in version 7.5.9
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1257393%2findent-only-first-line-of-paragraph-via-spacebar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem you are experiencing is likely due to word wrapping and extremely long sentences without line breaks (your "paragraphs").
To fix this behavior, select View → Word wrap and toggle it off (you can toggle the icon on the toolbar as well). You should be able to indent lines normally.
Assuming your paragraphs contain few or no line breaks, you may want to add these manually:
You can use Edit → Line Operations → Split Lines (CTRL+I) to split the lines (add line breaks) approximately where the word wraps would be (i.e. near the edge of the main window).
Per this SuperUser answer, you can use the following regex to insert newlines after approximately X number of characters (e.g. 80):
Find: (?<=.{80})s
Replace: $0n
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
add a comment |
The problem you are experiencing is likely due to word wrapping and extremely long sentences without line breaks (your "paragraphs").
To fix this behavior, select View → Word wrap and toggle it off (you can toggle the icon on the toolbar as well). You should be able to indent lines normally.
Assuming your paragraphs contain few or no line breaks, you may want to add these manually:
You can use Edit → Line Operations → Split Lines (CTRL+I) to split the lines (add line breaks) approximately where the word wraps would be (i.e. near the edge of the main window).
Per this SuperUser answer, you can use the following regex to insert newlines after approximately X number of characters (e.g. 80):
Find: (?<=.{80})s
Replace: $0n
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
add a comment |
The problem you are experiencing is likely due to word wrapping and extremely long sentences without line breaks (your "paragraphs").
To fix this behavior, select View → Word wrap and toggle it off (you can toggle the icon on the toolbar as well). You should be able to indent lines normally.
Assuming your paragraphs contain few or no line breaks, you may want to add these manually:
You can use Edit → Line Operations → Split Lines (CTRL+I) to split the lines (add line breaks) approximately where the word wraps would be (i.e. near the edge of the main window).
Per this SuperUser answer, you can use the following regex to insert newlines after approximately X number of characters (e.g. 80):
Find: (?<=.{80})s
Replace: $0n
The problem you are experiencing is likely due to word wrapping and extremely long sentences without line breaks (your "paragraphs").
To fix this behavior, select View → Word wrap and toggle it off (you can toggle the icon on the toolbar as well). You should be able to indent lines normally.
Assuming your paragraphs contain few or no line breaks, you may want to add these manually:
You can use Edit → Line Operations → Split Lines (CTRL+I) to split the lines (add line breaks) approximately where the word wraps would be (i.e. near the edge of the main window).
Per this SuperUser answer, you can use the following regex to insert newlines after approximately X number of characters (e.g. 80):
Find: (?<=.{80})s
Replace: $0n
edited Oct 9 '17 at 10:18
answered Oct 9 '17 at 3:09
AnaksunamanAnaksunaman
5,24821222
5,24821222
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
add a comment |
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Thanks: I marked your answer correct though I didn't get the kind of "single space at the start of a paragraph" that I might get in "Microsoft Word." What I got from your answer was that Notepad++ is not really suited for "word processor" kind of formatting... Notepad++ is a text editor for coding purposes, and is optimized to help a coder read code...
– thanks_in_advance
Oct 10 '17 at 23:52
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
Honestly it really is. Sorry this didn't help as you expected. Thank you, regardless.
– Anaksunaman
Oct 11 '17 at 0:27
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
No -- that was really useful for me to realize. Thanks for your help.
– thanks_in_advance
Oct 11 '17 at 14:56
add a comment |
Preferences > Editing > Line Wrap: Default works for me in version 7.5.9
add a comment |
Preferences > Editing > Line Wrap: Default works for me in version 7.5.9
add a comment |
Preferences > Editing > Line Wrap: Default works for me in version 7.5.9
Preferences > Editing > Line Wrap: Default works for me in version 7.5.9
answered Jan 18 at 14:15
Felipe G. NievinskiFelipe G. Nievinski
1112
1112
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1257393%2findent-only-first-line-of-paragraph-via-spacebar%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown