• Browser doesn't launch java script

    2
    0 Votes
    2 Posts
    196 Views
    PeterJonesP

    @lidia-lidia ,

    That has nothing to do with Notepad++. Whatever editor you use to type your HTML+JavaScript, the browser will treat it the same.

    There might be new security settings on Edge and/or Firefox (and/or Chrome) which allow local JavaScript or not. But that becomes a question for experts in your browser of choice, not for experts in your editor of choice. I highly recommend finding a forum for your browser, and asking there why the same HTML+JavaScript will work on the remote online server, but won’t work when you try to render a local copy of the page.

  • A way to detect bracket pairings in a macro?

    3
    0 Votes
    3 Posts
    326 Views
    Alt KahA

    @PeterJones Thanks! I had no idea there was a “Select All Between Matching Braces” but that will do the trick!

  • Errors with configuration file symlinks

    2
    0 Votes
    2 Posts
    193 Views
    dgasawayD

    Ah, never mind. There was an issue with the theme symlink, which when corrected fixed everything. Not sure how that caused an error with the stylers.xml file - that symlink was just fine - but it went away, just the same.

  • Remove Numerical Value

    5
    0 Votes
    5 Posts
    692 Views
    Gavin CampbellG

    It works, Thanks alot Terry. Be blessed

  • highlighting

    3
    0 Votes
    3 Posts
    271 Views
    JUSTICIERBAMBOUJ

    I was using an old version (v7), I updated to the lastest and it’s indeed working, thanks man!

  • Freezing

    6
    0 Votes
    6 Posts
    333 Views
    Neo PhemaN

    @PeterJones Very good instructions!

    The sessions recreated the problem.

    I edited the xml and it now works fine.

    Great direction, thanks!

  • Replace numbers single and two digit numbers in text string

    8
    0 Votes
    8 Posts
    1k Views
    Otniel UlloaO

    Thanks guys.

    Yes, this is my first time using regular expressions and it’s going to take me some time to understand it.

    This will get me started though.

    Thanks

  • Sorting data

    6
    0 Votes
    6 Posts
    82k Views
    Makwana PrahladM

    Hello,@Keir
    Please follow this step,To sorting data.

    Step 1: First to select Edit menu than select Line operation.
    Step 2: After select Sort Lines Lexicographically ascending.

    I hope this information will be useful.
    Thank you.

  • 0 Votes
    2 Posts
    284 Views
    PeterJonesP

    @Dan-McGovern ,

    As far as I know, you cannot call plugin features from the command line.

    However, I seem to remember some earlier discussion about the topic… search, search. There it is: on April 18, @Ekopalypse described a way to provide user parameters to a plugin. He shows an example of using PythonScript to parse the Notepad++ command-line options. Once you know the user parameter was set on the command line in PythonScript, you can use its capabilities to call features of the Compare plugin (or any other plugin).

  • Macro woes

    3
    0 Votes
    3 Posts
    222 Views
    Tim KoelemanT

    @PeterJones thanks a lot! That explains it.

  • Regex to find mixed text, numbers and special characters

    6
    0 Votes
    6 Posts
    754 Views
    Hans v.BuitenenH

    @Sukanya__N said in Regex to find mixed text, numbers and special characters:

    <ext-link ext-link-type=“uri” xlink:href=“https://doi.org/10.4414/smw.2020.20225”>https://doi.org/10.4414/smw.2020.20225</ext-link>

    you could try <ext-link ext-link-type.*/ext-link>
    but see that the outer brackets are not included in the find

  • Help with mass edit

    4
    0 Votes
    4 Posts
    993 Views
    Rob PuleoR

    @Rob-Puleo I know it’s a notepad++ forum and you provided the steps to export to CSV to use Notepad++. That is what I was looking for and thank you for your help!

  • RegEx - need to replace delimetered string with some its parts

    4
    0 Votes
    4 Posts
    253 Views
    EkopalypseE

    @Stanisław-Mędrzecki said in RegEx - need to replace delimetered string with some its parts:

    How do you know when to replace with B - C or sometimes C - D or D - E ?

  • Language style for AutoHotKey scripts

    4
    0 Votes
    4 Posts
    2k Views
    astrosofistaA

    Hi @David-Swarthout, All:

    Let me suggest you to take a look at AHK’s Editors forum, where you can find some resources as UDLs, Syntax Highlight, a tool to run a script or a selection directly from Notepad++ —can’t live without it—, another one to expand parameters for AHK’s functions, commands and directives, and more.

    Have fun!

  • Custom select combos from a txt file before a suffix

    3
    0 Votes
    3 Posts
    354 Views
    D Ream MenaD

    @PeterJones said in Custom select combos from a txt file before a suffix:

    (?-s)^.+(?=\R<------------>\R\Q*********\E\R<------------>)

    you re a genius broo thank youuu its worked

  • Why is it that some regex match is not replaced one by one?

    6
    0 Votes
    6 Posts
    274 Views
    Alan KilbornA

    @[username redacted] said in Why is it that some regex match is not replaced one by one?:

    I wonder if I could open the document and remember the last scroll position so next time I reopen it, it straight nagivgates to where it was.

    You may find THIS to be of interest on that topic. There’s a Pythonscript there that supposedly solves this “problem”. I haven’t tried the script out yet, so I can’t fully endorse it. It’s on my evergrowing “TODO” list. :-)

  • could not open the project file

    4
    0 Votes
    4 Posts
    270 Views
    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

  • 0 Votes
    6 Posts
    513 Views
    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 Votes
    5 Posts
    1k Views
    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 Votes
    7 Posts
    1k Views
    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.