• 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

    Large File being truncated on Save!

    Watching Ignoring Scheduled Pinned Locked Moved
    12 Jan 30, 2023, 9:18 PM
    Aug 25, 2022, 12:22 PM
    0 Votes
    12 Posts
    3k Views
    L Jan 30, 2023, 9:18 PM

    I just tried editing (adding 3 letters) the CSV file now and it worked OK with Notepad++ version 8.4.9. Initial file size was 9,138,779,797 bytes and after editing 9,138,779,800 bytes. It took about 2 minutes to load and then 2 minutes to save on my NUC 5i5.

  • J

    Printer Configuration Issue

    Watching Ignoring Scheduled Pinned Locked Moved printer
    3 Jan 30, 2023, 7:02 PM
    Jan 30, 2023, 6:40 PM
    0 Votes
    3 Posts
    712 Views
    J Jan 30, 2023, 7:02 PM

    Thanks… That worked with no problem.

  • J

    Location of Macros

    Watching Ignoring Scheduled Pinned Locked Moved macros
    3 Jan 30, 2023, 6:55 PM
    Jan 26, 2023, 8:16 PM
    0 Votes
    3 Posts
    5k Views
    J Jan 30, 2023, 6:55 PM

    Terry… Thanks ever so much. It worked perfectly!!!

  • S

    RE: UDL, Styler is not related to the Group below

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 30, 2023, 3:08 PM
    Dec 14, 2022, 7:31 AM
    0 Votes
    4 Posts
    270 Views
    P Jan 30, 2023, 3:08 PM

    FYI,

    Over this weekend, I spent some time and converted all the remaining UDL1-style UDL config files in the User Defined Languages Collection to equivalent UDL2.1 config files, making sure that all the elements were mapped to the correct UDL2.1 element. I have also added validation to the Collection so that no more old-style UDL definitions will be accepted into the Collection.

    So it should work better when people download some of those older UDLs now.

  • K

    margin on the left

    Watching Ignoring Scheduled Pinned Locked Moved
    11 Jan 30, 2023, 12:43 AM
    Jan 29, 2023, 7:56 PM
    0 Votes
    11 Posts
    1k Views
    K Jan 30, 2023, 12:43 AM

    @Terry-R found it. it was the line number margin

  • A

    Bookmark, copy spesific lines in notpad++

    Watching Ignoring Scheduled Pinned Locked Moved
    11 Jan 29, 2023, 11:25 PM
    Jan 29, 2023, 3:31 PM
    0 Votes
    11 Posts
    960 Views
    A Jan 29, 2023, 11:25 PM

    @guy038
    Thanks a lot your the best I solved my problem with our help, and sorry for my bad description its just about a language issue :D

  • V

    Please add GBK encoding!!!

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 29, 2023, 12:58 PM
    Jan 29, 2023, 12:09 PM
    0 Votes
    2 Posts
    385 Views
    A Jan 29, 2023, 12:58 PM

    @vochant

    Not sure what that is, but probably no new encoding support will be added to Notepad++ moving forward; the world is unicode, for good or bad.

  • P

    Sort by line possible this way?

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 27, 2023, 8:44 PM
    Jan 27, 2023, 8:00 PM
    0 Votes
    4 Posts
    551 Views
    A Jan 27, 2023, 8:44 PM

    @Peter-Maasakkers

    Contrary to the title, this has nothing to do with sorting.

  • C

    Notepad++ not opening from Windows Search Results

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 27, 2023, 6:27 PM
    Jan 27, 2023, 4:12 PM
    0 Votes
    4 Posts
    933 Views
    P Jan 27, 2023, 6:27 PM

    @Craig-Patno said in Notepad++ not opening from Windows Search Results:

    This just started happening 2 days ago and I have been running Win11+NP++ for months now.

    If you haven’t recently updated Notepad++, it means that either you changed something or Windows 11 changed something. For example, maybe Windows 11 updated, and that update messed something up.

    You might want to find a conglomeration of super users of their computer, and ask them “when I double-click a file from Windows Explorer, it properly runs it using the default application, but when I use the Windows 11 search results and run the file from there, it opens the file in notepad.exe instead of the default application”. Make sure you supply them with your full Windows version (don’t just say “Windows 11”) The answer to that question should be the same whether or not your default application is Notepad++.

  • W

    can notepad ++ read this language?

    Watching Ignoring Scheduled Pinned Locked Moved
    7 Jan 27, 2023, 3:14 AM
    Jan 23, 2023, 9:06 PM
    0 Votes
    7 Posts
    1k Views
    D Jan 27, 2023, 3:14 AM

    @WillyTheCatz You can modify the file with a hex editor if you can find the location of the values you wish to modify. But you’ll need a debugger to do that, and even then it probably won’t be easy. If you have no experience using a debugger, I would say this task is probably beyond your abilities at the moment.

    In any case, Notepad++ is not the right tool for this job.

  • M

    How to add or install pork2sausage to Notepad++

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jan 26, 2023, 4:02 PM
    Jan 26, 2023, 8:29 AM
    0 Votes
    4 Posts
    574 Views
    D Jan 26, 2023, 4:02 PM

    @PeterJones said in How to add or install pork2sausage to Notepad++:

    install it from the zipfile you downloaded

    I guess this will not work because the TO wrote

    a link that allowed me to download a zip, “pork2sausage-master.zip”

    Thus, the downloaded file likely is a ZIP file containing the whole GitHub repository with all source code files which is not suitable for installing the plugin. For this purpose @Marc-Hankin you should click to the red marked link at the project’s GitHub site

    a097cfbc-5c2f-490f-8494-640e9007ac95-grafik.png

    which will open the release section of the project’s site. There you will see the following:

    538744eb-4f36-4610-84de-a229edb3e4b9-grafik.png

    The first 3 files in that list are installable following the “Install plugin manually” section of the Notepad++ user manual. You should download the one that matches the CPU architecture of your computer and the bitness of your Windows operating system:

    arm64 -> CPU architecture ARM, operating system bitness doesn’t matter (no different bitnesses), choose this if you run a Microsoft Surface device x64 -> CPU architecture Intel x86 compatible with AMD64 extension, operating system bitness 64 bit, choose this if you run a PC with a 64 bit version of Windows no postfix -> CPU architecture Intel x86 compatible with or without AMD64 extension, operating system bitness 32 bit, choose this if you run a PC with a 32 bit version of Windows

    To learn how to figure out the bitness of your Windows installation please search the internet with your prefered search engine.

  • LokeshS58855077L

    How to rearrange data in ABC:XYZ Format.

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jan 24, 2023, 8:17 PM
    Jan 23, 2023, 1:30 PM
    0 Votes
    5 Posts
    392 Views
    Lycan ThropeL Jan 24, 2023, 8:17 PM

    @Alan-Kilborn ,
    Yeah, and it sounds like someone just got their homework done, or the ChatGPT AI is at work building it’s data banks. :)

  • aswinfrancis91A

    Need help defining UDL for log files

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jan 24, 2023, 4:57 PM
    Jan 24, 2023, 4:50 PM
    0 Votes
    2 Posts
    384 Views
    P Jan 24, 2023, 4:57 PM

    @aswinfrancis91 ,

    UDL is primarily for keyword-based languages. Logfiles are much more “positional”-based (or, at least, pattern-based).

    The plugin CSVLint adds a lexer plugin (so it behaves more like a builtin lexer than a UDL). I think it might be able to specify alternate characters instead of comma , for the separator (but I don’t have the plugin installed right now, so cannot check for you).

    Alternately, there’s the AnalysePlugin, which allows you to set up multiple regex to highlight various patterns; it’s primary use is to apply multiple highlights to log files, so it’s probably pretty close to what you want.

    I would like to have json language style applied to properties section too

    Yeah, UDL cannot inherit from a builtin lexer, so wouldn’t be able to do that. And the CSVLint probably couldn’t even approximate that. OTOH, the AnalysePlugin, with its regex, would probably be able to get something reasonable.

  • Jack PatilJ

    Sperate Columns From Single String

    Watching Ignoring Scheduled Pinned Locked Moved
    10 Jan 23, 2023, 1:08 PM
    Jan 23, 2023, 8:34 AM
    1 Votes
    10 Posts
    475 Views
    A Jan 23, 2023, 1:08 PM

    @dinkumoil said in Sperate Columns From Single String:

    Hmm, you are right. Don’t know how, but in some way I had in mind that it is required. Anyway, good to know that it is not.

    It really IS hard to keep all this regular expression syntax straight. :-(

    I wasn’t pointing it out to pick apart your regular expression, though.

    People learn new things from what they see here, even if it isn’t their question.
    \| works…but if people can know they can write replacement expressions in Notepad++ involving | without a bunch of leaning toothpicks, then so much the better.

  • Nick KoliosN

    Xml file, remove table tags according the column id?

    Watching Ignoring Scheduled Pinned Locked Moved
    17 Jan 22, 2023, 9:49 PM
    Jan 20, 2023, 9:22 AM
    0 Votes
    17 Posts
    837 Views
    Nick KoliosN Jan 22, 2023, 9:49 PM

    @guy038
    You’re a real savior.
    Thank you so much for your help, i really appreciate it.
    Thank you both

  • SilentBronyRainS

    insert increasing number before/after specified word

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jan 22, 2023, 7:16 PM
    Jan 21, 2023, 8:25 PM
    0 Votes
    5 Posts
    506 Views
    Terry RT Jan 22, 2023, 7:16 PM

    @SilentBronyRain said in insert increasing number before/after specified word:

    I need to insert a number every time selected word appears in the document.

    As well as a scripting option it can also be achieved with regular expressions and other built-in functions:

    Insert line number at the beginning of each line Mark (bookmark) each line with the word Polka in it Cut the marked lines and paste into another tab Insert an increasing number at the end of each line (this can start at 0) move the just inserted line number (step #4) to the position behind the word Polka Cut/Copy these lines back into the original file, at end Sort the lines by using the line number inserted step #1 Remove the line numbers

    I deliberately haven’t provided the actual commands, I will leave that for the OP to figure out. They aren’t difficult and could be a worthwhile learning experience. When inserting numbers in step #1 it’s important to tick the box “leading zeros” as otherwise sorting will not put the lines back into the original order.

    Note this works when only 1 “key word” is on each line. It would be possible to re-work the above process with multiple key words on each line but that would be a complicated exercise.

    Terry

  • Shekhar SinghS

    How to bookmark group of selected line

    Watching Ignoring Scheduled Pinned Locked Moved
    14 Jan 22, 2023, 1:21 PM
    Jan 18, 2023, 7:34 PM
    0 Votes
    14 Posts
    710 Views
    A Jan 22, 2023, 1:21 PM

    @Shekhar-Singh

    set up the operation in the Mark window:
    Find what: \R
    Bookmark line: checked
    In selection: checked
    Search mode: Regular expression start macro recording press the Mark All button press Ctrl+F2 (which is Toggle Bookmark) end macro recording save and name macro

    With selection:

    6dff4655-1931-40ee-a72d-f7a7c6efcd73-image.png

    Run macro to get:

    5cd7d54c-2efb-4bbf-a911-94496bcabb26-image.png

    Without selection:

    21fcb4e0-929e-486b-a9bc-c15af1c71cd6-image.png

    Run macro to get:

    a0954f8b-9190-429a-a87e-edf127f2caea-image.png

  • Majestic HelliumM

    How do I change the size of text. I don't know what I did

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jan 21, 2023, 6:07 PM
    Jan 21, 2023, 5:52 PM
    0 Votes
    3 Posts
    196 Views
    Majestic HelliumM Jan 21, 2023, 6:07 PM

    @Alan-Kilborn thanks wasn’t expecting a response so quick and what you said is what I did I was scrolling through a very large file and I guess I accidently pressed control

  • LaurentL

    Remove columns from a file

    Watching Ignoring Scheduled Pinned Locked Moved
    25 Jan 21, 2023, 12:59 PM
    Jan 19, 2021, 5:37 PM
    0 Votes
    25 Posts
    11k Views
    A Jan 21, 2023, 12:59 PM

    @guy038 said in Remove columns from a file:

    Why didn’t you choose the Alt + B shortcut for the Begin/End Select command ?

    It is a possible choice, certainly.

    I didn’t choose it because to me, Alt + letter means I’m opening a main menu category, i.e., Alt+f drops the File menu, Alt+s drops the Search menu, etc.

    And, if I have to press Alt, I usually have to “find the key”, whereas Shift and/or Ctrl are just more naturally located.

    Actually, from long Notepad++ usage, Alt in combination with Shift – for column mode selecting – is an “easy find” as well. But Alt by itself is harder for me.

    So if I’m going to make a feature request, I take advantage of that and suggest things that work well for me!

  • GitHubinatrixG

    Updating to a new installed version vs. portable version

    Watching Ignoring Scheduled Pinned Locked Moved portable updating settings
    5 Jan 21, 2023, 12:42 PM
    Jan 18, 2023, 1:46 PM
    0 Votes
    5 Posts
    356 Views
    GitHubinatrixG Jan 21, 2023, 12:42 PM

    OK, thank you for making it extra clear

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