• replace values with incrementing by1

    4
    0 Votes
    4 Posts
    505 Views
    Terry RT

    @mallikarjuna-navuluri said in replace values with incrementing by1:

    example i want to replace first line with 5000001, secondline with 5000001
    third line with 5000003…10k line will be 5010000.

    There is a menu option in Notepad++ to insert into a set position on each line a number. This number (or text) can be static or if a number can be incremented by another number, in your case 1.

    So look at the Edit Menu, then Column Editor. Use the “Number to Insert” option and start with the first number you want and have the increment as 1. Since the start and end numbers in your post are the same length you don’t need to include leading zeros.

    If you have the cursor in the very first position of your file and start this column editor function every line in the file will have a number at the start of the line. You may want to use the “insert text” first so you have a space between the numbers but not necessary as the number you are inserting is one set length.

    Then you’d cut that number and insert it further along in the line.

    Again, I’ll repeat my request. You need to supply more examples and use the black box surrounding the examples to prevent any characters being altered by the posting engine. So perhaps 3-4 lines gathered together and perhaps another 3-4 further along in the file showing a latter part of it so we get a good idea of what the original data looks like.

    Terry

  • How to remove the "Macros" and "Tools" menu?

    6
    0 Votes
    6 Posts
    455 Views
    TroshinDVT

    @andrecool-68 said in How to remove the "Macros" and "Tools" menu?:

    @Дмитрий-Трошин Никто не будет делать такие редактирования!

    в место макросов я уже пару лет пользуюсь javascript для обработки текста.

  • how to make couple words of the same line sentence to new line

    3
    0 Votes
    3 Posts
    142 Views
    Olivier ThomasO

    or
    find: http:
    replace: \n$0

  • Displaying Comma Separated Structures in FunctionList

    5
    0 Votes
    5 Posts
    247 Views
    MAPJe71M

    @PeterJones Well done!

    Nitpicking: you could remove the x in (?x-s).

  • DHCP Server Dump (Export) - Sorting IP using RegEx

    1
    2 Votes
    1 Posts
    612 Views
    No one has replied
  • How to install emmet plugin

    47
    0 Votes
    47 Posts
    27k Views
    PeterJonesP

    @Fatih-Ceylan ,

    Could you show us the ? menu’s Debug Info after you followed the instructions you quoted?

  • How to remove unwanted space in html tags?

    12
    0 Votes
    12 Posts
    4k Views
    Olivier ThomasO

    Search: (?<!>) (?=[/>\w])
    Replace:

  • Proxy works for Plugins but not updater

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Search Results Not Displayed

    9
    0 Votes
    9 Posts
    410 Views
    Alan KilbornA

    @Sylvester-Bullitt

    Perhaps your best course of action is bookmarking these threads.
    This seems to happen to you a lot.
    Apparently has happened to very few others.

  • Help with UDL config

    8
    0 Votes
    8 Posts
    286 Views
    EkopalypseE

    @JR

    feel free to open an issue if something is unclear from the usage description in the script.
    As for the startup.py, if you use the one under machine then there is
    a chance that it gets overwritten once an PythonScript plugin update happens. Like @Alan-Kilborn said, I would create a custom script with “New Script” and name it startup.py.
    It is automatically created in the correct path.
    By the way, the PythonScript configuration has to be changed from LAZY to ATSTARTUP so that it is executed at every npp startup.

  • Perl language syntax highlighting troubles (bug or limitation ?)

    112
    2 Votes
    112 Posts
    42k Views
    PeterJonesP

    For those being directed here by other links from the forum, @Ekopalypse has a newer version available at his github, here.

  • Selecting text

    3
    0 Votes
    3 Posts
    129 Views
    Olivier ThomasO

    Thank you very much.
    It works

  • Select text via syntax highlighting

    11
    0 Votes
    11 Posts
    666 Views
    TroshinDVT

    @Дмитрий-Трошин said in Select text via syntax highlighting:

    I am using jN plugin for such task.
    https://github.com/sieukrem/jn-npp-plugin
    The “href” selection functionality is in the file:
    https://github.com/trdm/jn-npp-scripts/blob/master/includes/IntellHtml.js

    How it works.
    ![alt text](image url)

  • High contrast (Windows 10) messes with NP++

    1
    0 Votes
    1 Posts
    108 Views
    No one has replied
  • Newly installed font displayed as italic only in Notepad++

    4
    0 Votes
    4 Posts
    440 Views
    andrecool-68A

    Open any editor or font viewer.
    And you will see that the “Courier Code” font contains only italic characters!

    2.png
    1.png

  • Cannot open .txt files with NP++ v 7.7.1 (64bit) on Win 10 version 1903

    9
    0 Votes
    9 Posts
    767 Views
    PeterJonesP

    @igitthatalot said:

    any update on this dev team?

    Any update? have you tried to reproduce this at all?

    You seem to be under the mistaken impression that this community forum is the dev team. That is not the case. If you have an issue with the codebase, and have reproducible methodology that anyone can follow to recreate your problem, you can read this community forum FAQ to find out where to submit bug reports, because this forum is not the bug tracker. But if your problem description is as vague as you’ve used in this discussion, I doubt you’ll get any traction in the issue tracker, either. Good luck.

  • Firewall Scripting Question

    9
    0 Votes
    9 Posts
    445 Views
    Mike GillM

    @Alan-Kilborn Noob to Notepad++ I have ALWAYS used Textpad until recently. I was not looking at the BIG picture and trying to do 5 things at the same time… In my original script I was doing it the long and hard way and yours blew it out of the water…LOL!

    I REALLY do appreciate your help and patience with answering my questions. Once again THANK YOU for your help on this!

  • Cannot post because of spam detection

    5
    0 Votes
    5 Posts
    241 Views
    Alan KilbornA

    @Myvh

    Why don’t you ask your question without the URLs.

    To me it sounds like you are asking how to get around the filter…so that you can then spammify the forum!

  • Toggle between "Doc switcher" and "Folder as workspace"

    1
    0 Votes
    1 Posts
    112 Views
    No one has replied
  • How to fix Arabic language in this list‏

    1
    0 Votes
    1 Posts
    194 Views
    No one has replied