Notapad++ column editing: how to deselect a clicked location?
up vote
1
down vote
favorite
1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location?
I tried clicking with alt, or shift but they don't work.
2- Also, is there a way to auto put the cursor on a specific character in all the document? Without having to click on each one while holding Ctrl?
Example: searching for the word "Ipsum" for example puts the cursor at the end of the word or whatever:
notepad++ text-editing editing selection mouse-click
|
show 6 more comments
up vote
1
down vote
favorite
1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location?
I tried clicking with alt, or shift but they don't work.
2- Also, is there a way to auto put the cursor on a specific character in all the document? Without having to click on each one while holding Ctrl?
Example: searching for the word "Ipsum" for example puts the cursor at the end of the word or whatever:
notepad++ text-editing editing selection mouse-click
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
You could do: FindIpsum
, Replacewhat you want
. This will act as multi-editing.
– Toto
Nov 22 at 10:01
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16
|
show 6 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location?
I tried clicking with alt, or shift but they don't work.
2- Also, is there a way to auto put the cursor on a specific character in all the document? Without having to click on each one while holding Ctrl?
Example: searching for the word "Ipsum" for example puts the cursor at the end of the word or whatever:
notepad++ text-editing editing selection mouse-click
1- There is an option in NP++ to hold Ctrl while clicking in multiple locations in the text file, so the cursor stays there for multi-editing. I want to know how to de-select a clicked location?
I tried clicking with alt, or shift but they don't work.
2- Also, is there a way to auto put the cursor on a specific character in all the document? Without having to click on each one while holding Ctrl?
Example: searching for the word "Ipsum" for example puts the cursor at the end of the word or whatever:
notepad++ text-editing editing selection mouse-click
notepad++ text-editing editing selection mouse-click
edited Nov 21 at 20:48
asked Nov 20 at 22:15
Mike
1417
1417
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
You could do: FindIpsum
, Replacewhat you want
. This will act as multi-editing.
– Toto
Nov 22 at 10:01
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16
|
show 6 more comments
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
You could do: FindIpsum
, Replacewhat you want
. This will act as multi-editing.
– Toto
Nov 22 at 10:01
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
You could do: Find
Ipsum
, Replace what you want
. This will act as multi-editing.– Toto
Nov 22 at 10:01
You could do: Find
Ipsum
, Replace what you want
. This will act as multi-editing.– Toto
Nov 22 at 10:01
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16
|
show 6 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
Once you have installed Perl, you can run any script in command line like this:
perl path/to/script.pl
or, for a oneliner:
perl -e 'the instruction' pathtoinputfile > pathtooutputfile
In your case, you have to read a file and write the result in an another file:
perl -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile > outputfile
If you want to to the replace inplace (i.e. replace the file):
perl -i.back -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile
This will backup original
file in original.back
DON'T RUN TWICE without revert the original file.
You'll find useful information at perldoc
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Once you have installed Perl, you can run any script in command line like this:
perl path/to/script.pl
or, for a oneliner:
perl -e 'the instruction' pathtoinputfile > pathtooutputfile
In your case, you have to read a file and write the result in an another file:
perl -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile > outputfile
If you want to to the replace inplace (i.e. replace the file):
perl -i.back -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile
This will backup original
file in original.back
DON'T RUN TWICE without revert the original file.
You'll find useful information at perldoc
add a comment |
up vote
0
down vote
Once you have installed Perl, you can run any script in command line like this:
perl path/to/script.pl
or, for a oneliner:
perl -e 'the instruction' pathtoinputfile > pathtooutputfile
In your case, you have to read a file and write the result in an another file:
perl -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile > outputfile
If you want to to the replace inplace (i.e. replace the file):
perl -i.back -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile
This will backup original
file in original.back
DON'T RUN TWICE without revert the original file.
You'll find useful information at perldoc
add a comment |
up vote
0
down vote
up vote
0
down vote
Once you have installed Perl, you can run any script in command line like this:
perl path/to/script.pl
or, for a oneliner:
perl -e 'the instruction' pathtoinputfile > pathtooutputfile
In your case, you have to read a file and write the result in an another file:
perl -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile > outputfile
If you want to to the replace inplace (i.e. replace the file):
perl -i.back -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile
This will backup original
file in original.back
DON'T RUN TWICE without revert the original file.
You'll find useful information at perldoc
Once you have installed Perl, you can run any script in command line like this:
perl path/to/script.pl
or, for a oneliner:
perl -e 'the instruction' pathtoinputfile > pathtooutputfile
In your case, you have to read a file and write the result in an another file:
perl -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile > outputfile
If you want to to the replace inplace (i.e. replace the file):
perl -i.back -ane "while(/bIpsumb/g){$i++;s/bIpsumb/$&$i/};print" inputfile
This will backup original
file in original.back
DON'T RUN TWICE without revert the original file.
You'll find useful information at perldoc
answered Nov 27 at 18:00
Toto
3,32191125
3,32191125
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f1377118%2fnotapad-column-editing-how-to-deselect-a-clicked-location%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
For the first question, I'm afraid there are no ways to do that.
– Toto
Nov 21 at 8:39
For the second one, it is not clear what you really want to do. Please, edit your question and add an example. May be you could do it with Find/Replace using regex.
– Toto
Nov 21 at 8:41
Thanks for reply. I added an example that explains: searching for a certain word or even a symbol like a period "." or something, puts the cursor in all the results.
– Mike
Nov 21 at 20:49
You could do: Find
Ipsum
, Replacewhat you want
. This will act as multi-editing.– Toto
Nov 22 at 10:01
I don't want to replace, I want to put the cursor next or before that word
– Mike
Nov 24 at 11:16