• 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
    2k 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.

  • How to hide lines that don't match?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    I don’t quite understand how you plan to modify the <RawDialog> lines without using search and replace (or at least using search inside some macro). Can you clarify?

    It appears you might assume that if the lines are hidden, then search/replace will not affect them. I did a quick experiment, and that doesn’t seem to be the case since my hidden lines were modified by a Replace operation.

    Perhaps using a tool like sed, AWK, PERL, or Python would be a better way to proceed.

  • countdown timer

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    cipher-1024C

    Yacine,
    What you’re looking for isn’t really a Notepad++ thing. You should google setTimeout, javascript and HTML timer. That will get you started.

  • need help with this

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    cipher-1024C

    Hi Joe,
    I think what you’re looking for is a negative lookahead. Something like this:

    (BodyArmour\s+?StabVest(\s+?)?\r\n)(?!(\s*?)Training)

    so you’re looking for a line (possibly with a space at the end) where the next line doesn’t start with some possible white space and “Training”. You can add the additional text like the 99.9999 and the next line if required.

    Your replace line could then look something like this:
    \1\t\tTraining\t\t\t 99.99999\r\n\t\tTazerTrained\t\t true\r\n

    Where the \1 is the first pair of parenthesis in the “find” regex. I’m not able to download your example file from work (blocked by our proxy), but if the “Training” and the “TazerTrained” can be in any order your regex will be more complicated. It could be done, but you may be using the wrong tool at that point.

    A friendly word of advice: when you’re posting a question, put a very general description in the topic, you’ll probably get more traffic and thus quicker help.

    Hope this helps. Good luck!

  • Regex for Function List in User Defined Language (Business Rules!)

    16
    0 Votes
    16 Posts
    10k Views
    John BowmanJ

    you are correct. and yes, it does work with the UDLs. I have that working, but was only asking if I could use the cool regex syntax detecting settings in functionList.xml to accomplish the same thing. Perhaps I could do it more auto-magically over in there, but that is a subject for another thread. I’m going mark this bad boy solved. THANK YOU!!!

  • Disable/Remove "Sort by Name" in Doc Switcher?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Want to customise Ruby syntax for another program

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Muhammad Yunus Ahmad MazukiM

    Edit 1.
    A much Simpler solution would be that I can view the Ruby language itself in the ‘Used Defined Language’ tool.

  • update column data for specific rows

    3
    0 Votes
    3 Posts
    3k Views
    Matyáš KrupičkaM

    How are those columns delimited?