• Launch in Edge

    6
    0 Votes
    6 Posts
    5k Views
    Scott SumnerS

    So “Edge” is the now the new tool you use exactly one time: To install a REAL browser that you will use from then on…

    SORRY…had to.

    Ok, so you just can’t blindly follow instructions all the time…what if those instructions are wrong? Again, I don’t want to get involved with Edge-specifics, but the Firefox line has “firefox” in front of FULL_CURRENT_PATH…which makes sense, you want to invoke Firefox and pass it the path of the document being edited in Notepad++. The Edge line in your screenshot has the document path BEFORE anything related to Edge, which doesn’t seem right to me. But…before I become too wrong here, I’ll bow out…

  • Trouble Adding UserDefinedLanguage Parser to NotePad++ v6.8.2

    6
    0 Votes
    6 Posts
    5k Views
    MAPJe71M

    Try the following FunctionList association & parser and make sure you have the UDL defined. The UDL can be ‘empty’ i.e. only name (EasyLanguage) and extension (eltxt, no leading dot) defined.

    <association ext=".eltxt" userDefinedLangName="EasyLanguage" id="ts_easylang" /> <parser id ="ts_easylang" displayName="EasyLanguage" commentExpr="({[^{}]*?})|(//.*?$)" > <function mainExpr="(?i)METHOD\s+(?-i:void|double|bool|int)\s+(?'NAME'\w+)\s*(?'ARGS'\([^()]*\))(?:\r?\n|\r)" > <functionName> <nameExpr expr="(?i)METHOD\s+\K[^)]+\)" /> <!-- comment out the following node to display the method with its parameters --> <nameExpr expr="[^(]+" /> </functionName> </function> </parser>
  • Bug when regex matches start and replacing with a blank

    4
    0 Votes
    4 Posts
    3k Views
    Scott SumnerS

    I had to get used to Notepad++ regex behavior when I first started using it, too. If you care to read something about that, have a look at “point #3” references in this thread:

    https://notepad-plus-plus.org/community/topic/137/select-by-columns

  • Is it planned to switch to PCRE2?

    16
    0 Votes
    16 Posts
    19k Views
    MAPJe71M

    I like using regular expressions.

    For me the biggest problem is the amount of different engines that have their own expression syntax. Yes, that includes the one’s that claim to be Perl compatible. IMO compatible in most cases means sharing some, re-interpreting some and extending some of the syntax instead of just extending the syntax. As a result the RE’s successfully used with one RE engine do not work with another RE engine (unless the RE’s are very-very basic).

    So at some moment you think: “I know RE’s, I can do this.” and then it appears you don’t :)

  • Add Notepad++ to list of HTML Editors in Internet Explorer

    3
    0 Votes
    3 Posts
    3k Views
    Ddi PtD

    @Dylan-Yarbrough
    Installer with 6.8.8 has this ability.
    All installers 6.9 and up are missing this option. I, personally, using 6.8.8 on new windows installation.

  • UDL - Custom Language with multiple languages nested

    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Orion-Admin

    a long post, but unfortunately there is a short answer.
    The way you want to have it work cannot be achieved with UDL.

    The first misunderstanding is, that you can define keywords which only
    get colored when surrounded by delimiter. This isn’t the case, keywords get
    colored when found.

    Next, you cannot define delimiters which are subsets of other delimiters.

    Sorry, either you redefine your requirements or you need to use a different approach
    like writing your own lexer (can even be done with python or lua script plugins).

    The documentation about UDL is here.

    Cheers
    Claudia

  • Who is the default theme font-family?

    2
    0 Votes
    2 Posts
    5k Views
    Claudia FrankC

    @Ивайло-Костов

    the default font is Courier New -> font size 10
    but there is no guarantee that this font looks the same on each os/desktop …

    Cheers
    Claudia

  • np++.exe - Application Error in Windows 10

    5
    0 Votes
    5 Posts
    4k Views
    Claudia FrankC

    @Mark-Colestock81

    sorry for answering so late, just back from vacation.
    Just to be sure you did not use -noPlugins but -noPlugin, did you?
    If you used -noPlugins than it still loaded the plugins.

    But this wouldn’t explain why starting via task manager works.
    Different working directory, hmm, would you mind renaming the
    %APPDATA%\notepad++ directory? I assume you haven’t local conf mode ON (debug view under ? menu)

    Cheers
    Claudia

  • Change symbol for whitespace highlight

    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC

    @Matyáš-Krupička

    if you have a plugin installed, which could manipulate the scintilla editor,
    like python script, lua script, nppexec,… you could use the message
    SCI_SETWHITESPACESIZE(int size) to make it bigger.

    e.g editor.setWhitespaceSize(3) (python)

    Cheers
    Claudia

  • How to Use Notepad to Record Memory Events ?

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @HJLBX-HJLBX

    in general, yes it can, as long as there is a plugin available which would do it.
    But I’m not aware that such plugin exists yet.

    Cheers
    Claudia

  • 0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Daniel-Farina

    could it be that you have a portable version which you used to register the extension?
    What about reregister the extension? Settings->Preferences->File Association ?

    Cheers
    Claudia

  • Highlight CSS codes in PHP files in Notepad++

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @DM-Pro

    these are two different lexers, so there is no easy solution currently.
    The reason why your java script gets colored is that there is no php lexer either,
    you are using the html lexer which itself has support for additional sublexers
    like php, js, python, xml … but unfortunately no support for css.

    Cheers
    Claudia

  • hot keys?

    10
    0 Votes
    10 Posts
    6k Views
    SomethingS

    I have found a combo ctrl + \ notepad++ forever!

  • need help for batch editing

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Mambiteño Juan-pabloM

    ok, merci/thanks

  • how to change research list

    2
    0 Votes
    2 Posts
    4k Views
    guy038G

    Hello, Eric,

    You should have a look to the Config.xml file of your N++ configuration :

    Depending on your initial N++ installation ( With the installer OR from a ZIP or 7Z archive ), it may be located :

    In the same folder as Notepad++ .exe, in case of local installation

    In case of classic installation, with the installer, you probably find it :

    In %AppData%\Roaming\Notepad++, for a W7, W8 or W10 configuration

    In %AppData%\Notepad++, for a XP or Vista configuration

    Then :

    Close any instance of Notepad++

    Open your Config.xml file, with an OTHER editor than N++

    Near the end of this file, you’ll notice the <FindHistory> section

    As for me, presently, it contains the following lines :

    <!-- The History of opened files list --> <FindHistory nbMaxFindHistoryPath="10" nbMaxFindHistoryFilter="10" nbMaxFindHistoryFind="10" nbMaxFindHistoryReplace="10" matchWord="no" matchCase="yes" wrap="no" directionDown="yes" fifRecuisive="yes" fifInHiddenFolder="no" dlgAlwaysVisible="no" fifFilterFollowsDoc="no" fifFolderFollowsDoc="no" searchMode="2" transparencyMode="1" transparency="128" dotMatchesNewline="yes"> <Path name="C:\_692" /> <Filter name="*.txt" /> <Find name="(?-s)^(.*?,){15}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){15}\h*\K[^,]+" /> <Find name="(?-s)^(.*?,){13}\h*\K[^,]+" /> <Find name="(?-s)^(.*?,){13}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){0}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){3}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){12}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){6}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){4}\h*\K[^,\r\n]+" /> <Find name="(?-s)^(.*?,){4}\h*\K[^\h,\r\n]+" /> <Replace name="(?1:#\r\n)" /> <Replace name="(?1:#)" /> <Replace name="1234" /> <Replace name=" \1 |" /> <Replace name=" \d |" /> <Replace name=" \1" /> <Replace name=" \1" /> <Replace name=" " /> <Replace name=" " /> <Replace name="\t\t\t" /> </FindHistory> Finally, change the number 10 in the first line, after the comment, for the nbMaxFindHistoryFind value :-))

    I’ve never tested, with other number than 10, myself, but this should work, anyway !

    Best Regards,

    guy038

  • Space at the end of every line

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Derek MortonD

    I found a solution:-

    There is a setting under ‘macro’
    trim trailing and save

    Solves my problem

  • Windows 10 Anniversary Update Breaks Notepad++

    Locked
    1
    2 Votes
    1 Posts
    2k Views
    No one has replied
  • Howto copy results with metadata from "Find result" pane?

    4
    0 Votes
    4 Posts
    3k Views
  • working with HEX-Editor, the notepad++ crash

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Repeat a line n number of times with a different value in each line

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    Use a scripting language like AWK, PERL, or Python.