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:



enter image description here










share|improve this question
























  • 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, 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















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:



enter image description here










share|improve this question
























  • 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, 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













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:



enter image description here










share|improve this question















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:



enter image description here







notepad++ text-editing editing selection mouse-click






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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: 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


















  • 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, 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
















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










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






share|improve this answer





















    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',
    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
    });


    }
    });














    draft saved

    draft discarded


















    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

























    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






    share|improve this answer

























      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






      share|improve this answer























        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






        share|improve this answer












        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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 27 at 18:00









        Toto

        3,32191125




        3,32191125






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            QoS: MAC-Priority for clients behind a repeater

            Ивакино (Тотемский район)

            Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)