• Login
Community
  • Login
  1. Home
  2. Help wanted · · · – – – · · ·
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • R

    Extracting multiple rows from text file based on a header row

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jul 4, 2024, 1:07 PM
    Jul 4, 2024, 10:14 AM
    0 Votes
    5 Posts
    297 Views
    R Jul 4, 2024, 1:07 PM

    @Alan-Kilborn said in Extracting multiple rows from text file based on a header row:

    (?-i)(?-s)^.+?\R^AAA A {3}AA(?s).*?(?=^AAA|\z)

    Amazing, thanks! This is a real help

    I will learn it at some point, just need to find the time to invest in myself so I can see the benefits.

  • A

    User defined language to highlight different parts of a line

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jul 3, 2024, 10:25 AM
    Jul 3, 2024, 7:32 AM
    0 Votes
    2 Posts
    210 Views
    A Jul 3, 2024, 10:25 AM

    @AndrewCliffordOrica said in User defined language to highlight different parts of a line:

    I just want different background colours

    You can’t reasonably do what you want to the background coloring.
    But you can do it, with a plugin, to the foreground coloring, see EnhanceAnyLexer.

  • D

    Regex - Extract range of XYZ coordinates

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jul 2, 2024, 7:45 PM
    Jun 30, 2024, 12:44 PM
    0 Votes
    3 Posts
    551 Views
    D Jul 2, 2024, 7:45 PM

    @Mark-Olson Thanks for your response, appreciate it! I’ll look into other options then. I can actually open the file in Notepad++ but it sure takes a while to load.

    Anyway, thanks again!

  • R

    regex to move entire line in a specific line position in multiples file

    Watching Ignoring Scheduled Pinned Locked Moved
    14 Jul 2, 2024, 2:00 PM
    Jul 1, 2024, 9:51 AM
    0 Votes
    14 Posts
    1k Views
    R Jul 2, 2024, 2:00 PM

    @PeterJones said in regex to move entire line in a specific line position in multiples file:

    It’s because your file doesn’t end in a newline.

    Genius!!! Works great!!!
    many many many thanx!!! you rulez!

  • D

    Edit with Notepad++ context menu missing from Windows 11

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jul 2, 2024, 1:27 PM
    Jun 27, 2024, 8:51 AM
    0 Votes
    5 Posts
    5k Views
    D Jul 2, 2024, 1:27 PM

    I have overwritten the Pin function now because I was not able to get it to work with the other workarounds mentioned on the manuals page.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\SOFTWARE\Classes*\shell\pintohome]
    “MUIVerb”=“Edit with Notepad++”

    [HKEY_CURRENT_USER\SOFTWARE\Classes*\shell\pintohome\command]
    @="“C:\Program Files\Notepad++\notepad++.exe” “%1"”

  • F

    Macros disappear on v8.6.8

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jul 1, 2024, 7:55 PM
    Jul 1, 2024, 4:28 PM
    0 Votes
    6 Posts
    376 Views
    P Jul 1, 2024, 7:55 PM

    @firstblackboy said in Macros disappear on v8.6.8:

    I’m not sure why it didn’t take it from the beginning, but alas it didn’t.

    My guess is you had some “bad data” somewhere in the XML. And by doing it in pieces, you avoided that bad data.

  • R

    Sorting lines in multiples files at once

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jul 1, 2024, 2:00 PM
    Jul 1, 2024, 1:41 PM
    0 Votes
    2 Posts
    162 Views
    P Jul 1, 2024, 2:00 PM

    @Rockberto-Manenti ,

    No.

  • S

    Remove every other character

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jun 28, 2024, 10:22 PM
    Feb 25, 2021, 11:55 AM
    0 Votes
    4 Posts
    2k Views
    C Jun 28, 2024, 10:22 PM

    @Alan-Kilborn this file i have the same one its from a game called “People Playground” and the Devs of the game made this file for people who know how to edit . JPG and they did this as a joke but despite this people were able to do this and see the image the file is modulo2.jpg if you want to know more about it just search up the file name and click on the first result.

  • K

    Notepad++ { v8.6.8 } - Need Guidance to Publish Notepad++ to multiple users with Specific User's Config. but not on %appdata% { Cloud Option is not so fesible }

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 28, 2024, 2:48 PM
    Jun 28, 2024, 2:27 PM
    0 Votes
    2 Posts
    197 Views
    P Jun 28, 2024, 2:48 PM

    @kavish-jha ,

    I’m a little confused by some of your description, so sorry if I’ve misinterpreted things.

    AppData, Cloud, -settingsDir, and doLocalConf are the only four solutions I know of. You are rejecting AppData (for reasons of being “temporary”, which doesn’t make sense to me, but I am sure you know the details of your system more than I can guess from a brief description); you are rejecting cloud data because you cannot put %UserName% variable in the path; presumably doLocalConf won’t work for you, because you don’t want everyone storing their settings in the same app directory.

    But some comments from me:

    Idea 1: -settingsDir might work, if you can create their shortcut and/or batch file that launches Notepad++: you could have that run "\path\to\notepad++.exe" -settingsDir="Windows Server - A1\Notepad++\%UserName%\" to launch Notepad++. As long as they always start Notepad++ with that shortcut/batch, rather than running notepad++.exe directly, it would get its settings from the right place. (If you have context-menu commands in regedit, you could maybe even edit the registry so it always includes the -settingsDir argument in the registry calls as well)

    Idea 2: Since the Cloud Directory won’t allow variables, could you have a script that runs when a user logs in that creates a junction? You could make the junction always named Windows Server - A1\Notepad++\ActiveUser , but it would point to the Windows Server - A1\Notepad++\%UserName%\ , so you could set Notepad++ up to always look at Windows Server - A1\Notepad++\ActiveUser , and the login script would take care of making sure that always points to the user’s actual preference directory.

    Idea 3: Instead of having a script creating a junction and using Cloud Directory, you could have a script which copies Windows Server - A1\Notepad++\%UserName% to %AppData%\Notepad++ , and then a log-off script that copies it back the other way to save their settings long-term – so even if the %AppData% is “temporary” over the long-haul, it will exist while the user is logged in, and thus you can just have Notepad++ look in %AppData%\Notepad++ as normal.

  • S

    Regex - Hex Code Not Working as Expected

    Watching Ignoring Scheduled Pinned Locked Moved
    9 Jun 27, 2024, 11:48 PM
    Jun 27, 2024, 10:41 PM
    0 Votes
    9 Posts
    381 Views
    P Jun 27, 2024, 11:48 PM

    @Sylvester-Bullitt ,

    But when I type the same string into the forum dialog, the soft hyphen doesn’t show as it did before

    That’s because soft-hyphen is a non-printing character, and the forum doesn’t display non-printing characters (because they have no glyph to display). As I said in my first reply, your original paste into the forum used a normal ASCII hyphen, which is why it was visible in the forum.

    [deleted post]

    I originally commented on your deleted post (yes, as a moderator, I can see it), but I decided to retract that part, because maybe you deleted it because you already realized what you did wrong.

    I’m going to have to shut down for the night

    Sounds like you need the sleep. I hope (by the time you read this) that you got it.

  • Sudhir0103S

    find a string and move to new line

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 27, 2024, 7:36 PM
    Jun 27, 2024, 6:52 PM
    0 Votes
    2 Posts
    2k Views
    P Jun 27, 2024, 7:36 PM

    @Sudhir0103 ,

    You don’t say what the “specific character” is, and there is no specific character in your example data. But if what you want is to convert space character followed by set to newline sequence followed by set (but only if set is a whole word, not the start of some other word like setting), an easy way to do that is:

    FIND WHAT = \x20set\b the \x20 means the space character; if you wanted, you could just type a space as the first character in FIND WHAT, but it’s hard to copy/paste unnoticed space character from the forum, so I use the escape sequence instead the \b is what keeps it matching set but not setting REPLACE WITH = \r\nset \r\n is the windows CRLF line ending. SEARCH MODE = Regular Expression Click REPLACE ALL

    There are other ways to do it, but this one is pretty easy for a regex (regular expression) newbie to understand

    (update: fixed from saying wrong \x32 to right \x20)

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
  • ronsipherdR

    Spellchecker not underlining errors

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 27, 2024, 2:49 AM
    Jun 27, 2024, 2:40 AM
    0 Votes
    2 Posts
    144 Views
    ronsipherdR Jun 27, 2024, 2:49 AM

    @ronsipherd Never mind; I found that the English (United States) dictionary was missing.
    All better now. :-)

  • PlactusP

    Change History keeps turning back on.

    Watching Ignoring Scheduled Pinned Locked Moved
    10 Jun 25, 2024, 6:18 AM
    Jun 18, 2024, 11:36 AM
    0 Votes
    10 Posts
    1k Views
    PlactusP Jun 25, 2024, 6:18 AM

    I’ve looked for other installations and didn’t find any, but like I said in my last post, I uninstalled and reinstalled and am now running 8.6.8; I may have checked config.xml after the reinstall.

    Whatever the case, it’s been behaving since the reinstall. Thank you all for your help.

  • Michael DeWatersM

    Font Changes

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jun 24, 2024, 8:15 PM
    Jun 24, 2024, 8:13 PM
    0 Votes
    3 Posts
    496 Views
    P Jun 24, 2024, 8:15 PM

    @Michael-DeWaters ,

    FAQ: Notepad++ is a text editor, not a word processor, so it cannot set fonts arbitrarily for different paragraphs or phrases inside paragraphs.

    And if, as @Alan-Kilborn assumes, you are asking how to write HTML, then You’ve asked your question in the wrong place

  • NotSoBitWiseN

    Startup to Tray

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jun 23, 2024, 5:38 PM
    Jun 22, 2024, 8:45 PM
    0 Votes
    3 Posts
    229 Views
    NotSoBitWiseN Jun 23, 2024, 5:38 PM

    @Ekopalypse
    Perfect, many thanks!

  • Nguyễn ĐôngN

    what is this?

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jun 23, 2024, 3:12 PM
    Jun 22, 2024, 4:06 PM
    0 Votes
    4 Posts
    278 Views
    A Jun 23, 2024, 3:12 PM

    @Nguyễn-Đông said in what is this?:

    how to edit it?

    That is not reasonably answerable on this forum.

  • Justin WagnerJ

    How to enable Plugins Admin when building notepad++?

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jun 23, 2024, 1:37 PM
    Nov 2, 2022, 1:59 PM
    1 Votes
    5 Posts
    1k Views
    Graham NorrisG Jun 23, 2024, 1:37 PM

    @Michael-Vincent said in How to enable Plugins Admin when building notepad++?:

    I think it’s a separate project that you need to build separately:

    Is there a way to actually combine this build with that of NPP itself, or to put it another way: is there no way to avoid building them separately and copying the plugins dll into NPP afterwards?

  • AntonA

    Autodetect spaces or tabs in a file

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 22, 2024, 9:45 PM
    Jun 22, 2024, 9:13 PM
    0 Votes
    2 Posts
    292 Views
    A Jun 22, 2024, 9:45 PM

    @Anton

    Nope. There is no autodetection. Whether spaces or tab characters are used is solely a function of the setting selected for it for the particular language (based on extension) of the file.

  • Dave ClarkD

    Page break?

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jun 22, 2024, 3:58 PM
    Jun 13, 2021, 2:23 PM
    0 Votes
    5 Posts
    1k Views
    mkupperM Jun 22, 2024, 3:58 PM

    @Marty-Kay Read the message @PeterJones posted above three years ago on how to get the FF.

    If you want Notepad++ to do something special with FF then you could try FAQ: Feature Request or Bug Report

    Notepad++ already has a number of configuration settings related to printing. With that in mind I could see some support for FF being added. However, I suspect though that the request for FF support would get declined or ignored as the FF feature could easily creep into a later request to display a horizontal line at the FF and then to creep into displaying page number and the line within that page. It sends Notepad++ drifting into the FAQ: “Notepad++ is a Text Editor, not a Word Processor” territory.

  • Mister PLM

    How can i get rid off the syntax?

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jun 20, 2024, 11:53 PM
    Jun 20, 2024, 1:22 PM
    0 Votes
    3 Posts
    417 Views
    Mister PLM Jun 20, 2024, 11:53 PM

    @PeterJones thanks for the tip. The problem was solved.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors