• hide the horizontal line under collapsed blocks

    9
    1 Votes
    9 Posts
    5k Views
    AnotherOneA

    @dail, thank you so much for your solution! Worked perfectly for me.

  • Delete text that repeats in the same line

    6
    0 Votes
    6 Posts
    1k Views
    VivianjenylordV

    @guy038
    guy038, I am very grateful to you, you are a great person for your selfless help, having taken the time to make an excellent explanation of the subject, I was able to solve my problem with the text.
    Thank you

  • Remember file monitoring (tail -f) status after program restart

    Locked
    1
    0 Votes
    1 Posts
    423 Views
    No one has replied
  • Is there documentation for macro/start recording?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    cipher-1024C

    Scott has pretty much covered it, but if you’re dying for something to read here’s a link to the wiki article for macros. Disclaimer: that article is almost a decade old. It’s probably still perfectly valid, but always take the wiki articles with a grain of salt since the maintenance of the wiki proved to be too much overhead for the project. There are a few other resources you can use to find information, but Scott’s google search method is going to get you most of what you’ll need.

    I’ll throw in one “new guy” plugin suggestion: NppMenuSearch will help you find a menu item, plug in command, or setting. It’s no replacement for browsing around and seeing what’s available, but it sure helps when you can’t remember where the heck you saw the thing you’re looking for.

    Good luck and welcome to NPP.

  • Open files that start with (or contain) a pattern

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    Scott SumnerS

    @PeterJones said:

    … I can…“Open with notepad++” no matter the extension.

    Amen–it’s what I do as well. I’ve never really understood file extension association with something like Notepad++, so I don’t understand what all the usual hullabaloo is about (all the questions on this Community concerning it). Sure, I understand file associations for something like .xlsx where it is ALWAYS going to be Excel that opens those files…but Notepad++ has no such equivalent. .txt comes closest I guess, but still…

  • One Word / One Number

    Locked
    5
    0 Votes
    5 Posts
    970 Views
    Maurizio CecaroM

    Thanks for your Help it work
    Thanks again for your support

  • Special Character Display Issue (Bullets)

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    Yes, Scott’s way is easier. (That’s probably how I originally created the charmap entry, and had just forgotten.)

  • Remove the text contained in quotes with notepad

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    AndrewJorA

    @guy038
    Mister guy038, my sincere thanks for your help, the code helped me a lot, went out to perfection

  • Pls help

    4
    0 Votes
    4 Posts
    1k Views
    chcgC

    On which windows version? See also https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you.

    You could try a variant from https://notepad-plus-plus.org/download/v7.5.9.html. Maybe starting with
    Notepad++ minimalist package 64-bit x64

  • Find Criteria. :(

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Scott SumnerS

    @Mouaffaq-Al-Baghdadi:

    A way to do it would be to copy all of your original data into a new tab, and then act on that tab with the following (as the suggestion will be a destructive replacement).

    Step 1: Add a line at the top of the is new tab, containing 2222 only and then press Enter to add a line-ending to this line

    Step 2: Add a line at the bottom of the is new tab, containing 1111 only and then press Enter to add a line-ending to this line

    Step 3: Perform this Replacement action:

    Invoke the Replace dialog (default key: ctrl+h)
    Find what zone: ^2222\R(?s).*?^1111\R
    Replace with zone: make sure this is EMPTY
    Wrap around checkbox: ticked
    Search mode selection: Regular expression
    Action: Press Replace All button

  • html file wont show my new work.

    Locked
    3
    0 Votes
    3 Posts
    741 Views
    jacob stanleyJ

    i simply made html tags doctype html and head and body tag then i used the title tag then i clicked save as saved it under a file then clicked down and clicked hyper text markup language then saved the i added i paragraph clicked saved checked on chrome refreshed the page and nothing.

  • 0 Votes
    7 Posts
    2k Views
    dinkumoilD

    @PeterJones said:

    %L is a valid placeholder

    Wow, I’ve never heard this! Thank you for this hint!

  • Java version

    Locked
    2
    0 Votes
    2 Posts
    816 Views
  • Collapsible block in OCaml

    Locked
    2
  • UDL folding single line if

    Locked
    1
    0 Votes
    1 Posts
    537 Views
    No one has replied
  • Unneccesary Characters in .Out file

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Thirupathireddy-V ,

    The “?” of the little grey “COMPOSE ?” in the upper right of the post-editing window would take you to help for formatting (which includes how to embed an image)

    But I find that @Scott-Sumner’s help-with-markdown post is a much better introduction to the concepts. If you don’t have a tool to grab the screenshot – you do. In Windows, Alt-PrintScreen will grab a screenshot of the current window; you can then open mspaint.exe from the Win+R run menu; save it. In Windows 10, an alternative is the Snipping Tool: click on the Windows button on your taskbar, and type “Snipping”, then click “New”, then drag a box around the portion of your screen you want to snip; then save it. Once you have an image, you can upload to a free image-sharing site, like imgur.com – you don’t even need a login; then grab the URL to the image (in imgur, click on the image, then copy the Direct Link or Markdown Link) and embed it in the forum using code like ![Imgur](https://i.imgur.com/0Mon4gO.png) (if you grabbed the Markdown Link, you just need to add the exclamation point ! immediately before the copied link text) – this embedding technique is described in Scott’s help-with-markdown post.

    A screenshot will be useful to confirm… but as a guess:

    Given that you said it’s “showing me unnecessary characters (letters are highlighted)”, I am assuming you are seeing some letters that are smaller than others with a background; some of the letters I would guess you are seeing are CR and/or LF at the end of lines.

    I don’t know what the .out file is (other than a.out from a linux compiler… and if you’re trying to read that with a text editor, you really don’t understand what you’re doing – see #2 below), so I don’t know whether it’s a binary or partially-binary format, but if it is, there may be many other binary characters, which may show up as other 2-3 letter sets in the same background-box, such as NULL, SOH, STX, … All of those are indicative of non-textual data in the file you are looking at.

    If this is what you’re seeing, then either

    If it is a plaintext (or mostly plaintext) file, then you probably have a Show Symbol option turned on. Go to View menu > Show Symbol: one of “Show End of Line” or “Show All Characters” is probably enabled. If it is enabled, click on the selected option again to turn it off.

    It’s primarily a binary file, which means that some or most of the information in the file is encoded (or compressed or encrypted) in some way other than text. Notepad++ is a text editor. It will show you any text that happens to be unencoded (or any encoded data that happens to look like text, but isn’t really), but it’s not built to decode arbitrary data. Some more information can be found in this FAQ Desk post (which focuses on PDF and DOCX, but conceptually applies to any binary-encoded file, whether it’s a word processing file, a database or other data file, an image, or an executable or library file, or anything else that’s not a plain-text file)

    But again, the best confirmation will be a screenshot.

  • 0 Votes
    3 Posts
    986 Views
    Scott SumnerS

    @MD-Computer-Center

    IMO what you really want to do is create a new VB6 project and add the Scintilla editing component to it. Maybe not directly but as some sort of “embedded control” (IDK as it has been a LOOONG time since I’ve considered VB6 for anything!).

    But Scintilla is and has always been the core of Notepad++, and I imagine N++ v1.0 is very thin on features beyond basic text editing (which is controlled by Scintilla). So looking at the N++ 1.0 source code may not give you this big boost that you are thinking it will.

    Good luck!

  • Regex: Select all from row except

    Locked
    18
    0 Votes
    18 Posts
    4k Views
    Scott SumnerS

    So I think that first time regex question posters come here because they don’t know what else to do. They don’t (necessarily) know even what regular expressions are–they just know that they have a problem with data manipulation and don’t know how to solve it…but they hope Notepad++ can help them…AND IT CAN! So, yes, true, this is not a forum for regex, but these naive first-time posters certainly don’t know that; they can be excused.

    And I think it is fine to help them out, and give them a boost (pun fully intended) into learning about the Wonderful World of Regular Expressions. But I also think it is fair, if the same people keep coming back for more answers, over and over, that we ask them what they’ve tried first, to show their learning or at least how they are thinking about a problem…instead of just handing out answers.

    So, no, @guy038, I don’t think you should slow down with the regexes. You have to be you. :-)

  • Notepad ++ crash on close

    Locked
    2
    0 Votes
    2 Posts
    661 Views
    chcgC

    Could you check https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you and provide the N++ Debug info.

    First idea would be that a plugin is causing the issue as no such issue is reported at https://notepad-plus-plus.org/community/topic/16468/notepad-7-5-9-release