• could not open the project file

    4
    0 評價
    4 貼文
    340 瀏覽
    Pierre Huybens 0P

    solution , I delete the config.xml file and when restarting NPP a new one is created and now I can have view again the project window

  • "Remember Last Used Directory" for Save NEVER WORKS BEYOND THE CURRENT DOCUMENT

    6
    0 評價
    6 貼文
    590 瀏覽
    Sean BlissS

    @Alan-Kilborn THANK YOU. “Follow current document” is working much better. I can now have many document open and they will always suggest the same save directory that I’ve been using.

    I guess I was just confused by 3 save directory options. Some how the other two options seemed more like the behavior above; and to me the words “follow the current document” seems to indicate that each document would be separated to it’s own manually-selected save folder.

    Some how the words of those settings have me seeing them as the opposite of what they really do.

    Why the manually set single directory option (option 3) doesn’t work? I don’t know - but problem solved as far as I’m concerned.

  • How to remove X numbers of lines and put them one line above?

    5
    0 評價
    5 貼文
    2k 瀏覽
    TroshinDVT

    A small script for the jN plugin that will do this.
    It will also add a menu “scripts jN” -> “convertText”
    https://github.com/sieukrem/jn-npp-plugin

    var scriptsMenu_jN = Editor.addMenu("scripts jN"); function convertText() { //debugger; var vStep = 0; var vText = '', vTextLine = ''; var vLines = Editor.currentView.lines; for(var i = 0; i< vLines.count; i++, vStep++) { vTextLine = vLines.get(i).text; if (vTextLine.charCodeAt(vTextLine.length-1) == 10) vTextLine = vTextLine.substring(0, vTextLine.length-1); // kill \n if(vStep < 4) { vText = vText + vTextLine; } else { vText = vText + "\n" + vTextLine; vStep = 0; } } Editor.currentView.text = vText; } scriptsMenu_jN.addItem({ text:"convertText", cmd:convertText });
  • Question about styles for themes

    7
    1 評價
    7 貼文
    2k 瀏覽
    AjayKMehtaA

    @Michael-Vincent

    Yes, I’ve done this in the past too but when you update NotePad++, then the install won’t overwrite existing themes and you might have to merge changes to your theme if the release also updated the theme.

  • Opening session - double click on associated file - opens 2 NPP windows

    4
    0 評價
    4 貼文
    421 瀏覽
    caryptC

    there should be an option in windows about mouseclicks , defining if single or double click shall open a file , maybe that caused the problem

  • Delete certain amount of characters of e-mail address

    3
    0 評價
    3 貼文
    1k 瀏覽
    Terry RT

    @Terry-R said in Delete certain amount of characters of e-mail address:

    Bear in mind some of the characters are metacharacters and will need escaping by using the \ before the character.

    For more info on which characters need escaping within a character class (denoted by the [ and ]) read:
    https://www.regular-expressions.info/charclass.html
    specifically the paragraph titled
    “Metacharacters Inside Character Classes”

    Terry

  • replace values with incrementing by1

    4
    0 評價
    4 貼文
    671 瀏覽
    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 評價
    6 貼文
    593 瀏覽
    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 評價
    3 貼文
    215 瀏覽
    Olivier ThomasO

    or
    find: http:
    replace: \n$0

  • Displaying Comma Separated Structures in FunctionList

    5
    0 評價
    5 貼文
    383 瀏覽
    MAPJe71M

    @PeterJones Well done!

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

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

    1
    2 評價
    1 貼文
    745 瀏覽
    尚無回覆
  • How to install emmet plugin

    47
    0 評價
    47 貼文
    32k 瀏覽
    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 評價
    12 貼文
    6k 瀏覽
    Olivier ThomasO

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

  • Proxy works for Plugins but not updater

    1
    1 評價
    1 貼文
    2k 瀏覽
    尚無回覆
  • Search Results Not Displayed

    9
    0 評價
    9 貼文
    620 瀏覽
    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 評價
    8 貼文
    475 瀏覽
    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 評價
    112 貼文
    82k 瀏覽
    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 評價
    3 貼文
    171 瀏覽
    Olivier ThomasO

    Thank you very much.
    It works

  • Select text via syntax highlighting

    11
    0 評價
    11 貼文
    1k 瀏覽
    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 評價
    1 貼文
    163 瀏覽
    尚無回覆