• Image links

    2
    0 Votes
    2 Posts
    468 Views
    Alan KilbornA

    @Angela-Madera

    I’m sure someone can, but not here.
    This area is for discussion about Notepad++ the text editor, not “images on a website”.

    Please find an appropriate forum for your question – thanks.

  • Page-down scrolls everything off the top of the window

    4
    0 Votes
    4 Posts
    916 Views
    StephanKolassaS

    @Michael-Vincent Thanks for that fast reply! That did the trick!

  • menu - entry: (german) Zeilenumbruch

    2
    0 Votes
    2 Posts
    534 Views
    PeterJonesP

    @Andree-Henkel ,

    [translated to English] Menu Entry: (german) Word Wrap (or maybe Line Break)

    What about the Word Wrap menu entry in German?

  • Desapareció la opción Arriba en la Ventana Abrir Archivos

    2
    0 Votes
    2 Posts
    327 Views
    PeterJonesP

    @Carlos-Figueroa-Arteaga ,

    Again, I will not here that Notepad++ is a Windows application, and the developers only support Windows environments; if you can make it work in Wine (which is what PlayOnLinux uses under the hood), great for you! But that’s not a supported use case.

    2 Notepad updates prior to v8.1.4 (32-bit) on Ubuntu 18 with PlayOnLinux disappeared the option to go Up to upper folders. This is very uncomfortable. Please put it back. Thanks.

    The Notepad++ Open File dialog does allow going up directories, in the same way it always has. If Wine/PlayOnLinux do not support the standard windows API calls that Notepad++ uses to get the OpenFIle dialog working, then the problem is with Wine/PlayOnLinux, not with Notepad++.

    Sorry.

  • Bug en Ventana Buscar v8.1.4 (32-bit) en PlayOnLinux

    2
    0 Votes
    2 Posts
    190 Views
    PeterJonesP

    @Carlos-Figueroa-Arteaga ,

    Sorry, based on the google translation of your problem, I am not sure what is wrong with the Search window for you. For me, on Windows 10, the search engine works just fine on Notepad++ v8.1.4.

    It should be noted that Notepad++ is a Windows application, and the developers only support Windows environments; if you can make it work in Wine (which is what PlayOnLinux uses under the hood), great for you! But that’s not a supported use case.

  • Moving text into a file

    8
    0 Votes
    8 Posts
    1k Views
    Gasser AndréG

    @Hi Terry

    Thanks a lot for your clear and precise explanation. It works fine.

    Best regards and again many thanks for your help
    André

  • Add single quote and comma

    2
    0 Votes
    2 Posts
    15k Views
    Terry RT

    @chin-pat said in Add single quote and comma:

    How can I add single quote and comma for each of the sequence no and also how can I get this on a column like this

    To get this:
    ‘12345’, ‘56789’, ‘23456’, ‘56789’, ‘56789’
    use the following regular expression in the Replace function (search mode is regular expression). Note the single quote isn’t what you show in the post, verify I have the correct one as the posting engine does change quotes when not inside the black boxes (se the </> icon to encapsulate examples)
    Find What:\d+(?=(\x20)|$)
    Replace With:'$0'(?1,)

    To get this
    12345
    56789
    23456
    56789
    56789
    use the following regular expression
    Find What:\x20
    Replace With:\r\n

    Terry

  • How to make comments in code stand out

    2
    0 Votes
    2 Posts
    683 Views
    Alan KilbornA

    @Cyndi-Roether

    The key is to make your file a Python file and then things (comments included) will “stand out”, example:

    e0a23532-387e-46ae-b5fa-64cd45bf26b3-image.png

    See where it says “Python file” on the status bar?

    You can make this appear by saving your file with a name that ends in .py, or by choosing “Python” on the Language menu.

    Also, a Python comment involves no “bracketing”. A # appearing on a line will cause anything following that character (and still on that same line) to be a comment.

  • Run C++ within notepad++

    12
    0 Votes
    12 Posts
    14k Views
    PeterJonesP

    @william-busigo ,

    This discussion was relying on the fact that everyone involved had the NppExec plugin installed. Everything that has been said in this discussion assumed that as a given.

    I think before asking any more questions, you need to read and understand our FAQ on “how do I use Notepad++ to compile my source code”.

  • Plugin Admin bug

    2
    2 Votes
    2 Posts
    174 Views
    Michael VincentM

    @Michael-Vincent

    See https://community.notepad-plus-plus.org/topic/21853/notepad-8-1-5-rc2/3

    Using the RC thread first before opening a Notepad++ issue. I narrowed down to the particular commit which does change the pluginsAdmin.cpp file.

    Cheers.

  • Add some number like :1234 after the Name

    3
    0 Votes
    3 Posts
    263 Views
    PeterJonesP

    @Joseph-Gaitan ,

    FIND = Name
    REPLACE = Name:1234

    I’m sure that’s not what you actually wanted, but it’s the best guess possible given the limited information in your post. To get a better answer, you are going to have to supply example data, using the tools in the toolbar and the preview window to make sure you’re accurately communicating your data to us. Really, I suggest reading and understanding the generic help info below before responding.

    ----

    Do you want regex search/replace help? Then please be patient and polite, show some effort, and be willing to learn; answer questions and requests for clarification that are made of you. All example text should be marked as literal text using the </> toolbar button or manual Markdown syntax. To make regex in red (and so they keep their special characters like *), use backticks, like `^.*?blah.*?\z`. Screenshots can be pasted from the clipboard to your post using Ctrl+V to show graphical items, but any text should be included as literal text in your post so we can easily copy/paste your data. Show the data you have and the text you want to get from that data; include examples of things that should match and be transformed, and things that don’t match and should be left alone; show edge cases and make sure you examples are as varied as your real data. Show the regex you already tried, and why you thought it should work; tell us what’s wrong with what you do get. Read the official NPP Searching / Regex docs and the forum’s Regular Expression FAQ. If you follow these guidelines, you’re much more likely to get helpful replies that solve your problem in the shortest number of tries.

  • How can I make Notepad++open ALL notepad files

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Davie-Green ,

    Windows has lots of different ways of setting file associations, and sometimes to have to work those in concert to make it all work together. Notepad++'s Settings > Preferences > File Associations uses the old registry entries that Windows 10 technically still accepts… but if any of Windows 10’s other methods of defining associations are also set, those will take precedence. It’s really a Windows problem, because Microsoft has defined too many conflicting ways of setting file associations. But it’s been talked about a lot in this forum, so you can search the forum for posts about “registry” and “regedit” and “association” for more ideas of things to try.

    When you install Notepad++, it usually creates a registry key that is always available in the Right Click menu for any file type, which is “Edit with Notepad++” or similar, so even if you cannot get double-click to work right, you might be able to access it that way. If not, some of my posts that will show up in the forum search will show my registry entry that I add for definding “Edit with Notepad++” as an option on all file types.

  • How to locate text separators and replace them?

    21
    0 Votes
    21 Posts
    10k Views
    Patrick ChatelleP

    This seemed like it should be top of list, but here goes

    I need to replace comma “,” with a pipe “|”, but only if a comma immediately follow a 2 digit decimal.

    So
    ,49.30,49.30,.00,.00,.00,
    needs to be
    |49.30|49.30|.00|.00|.00|

    notepad++ (Regular expression radio button clicked)
    in the “Find what:” box -> (?:[.\d\d]{0},)
    in the “Replace with:” box -> |

    add “\d” for more decimals.

  • Display Menubar when hidden

    3
    0 Votes
    3 Posts
    525 Views
    Neil MullerN

    Many thanks

  • Drop-Shadow Filter on Blockquote

    2
    0 Votes
    2 Posts
    202 Views
    PeterJonesP

    @Yahnah-Factor ,

    See the FAQ

  • How to search for words that do **not contain** the character: '

    5
    0 Votes
    5 Posts
    3k Views
    astrosofistaA

    @guy038, All:

    I usually try to understand OP’s messages as literally as possible, unless it is very obvious that there is some mistake, such as the single quotation mark. In this case I read words and thought they were single words, unconnected to each other, but not necessarily on separate lines. Hence the regular expression I posted.

    Nor did it cross my mind that there could be hyphenated compound words, since the posted sample did not include them.

    However, the scenario that you propose is entirely possible and in fact your two regular expressions are simpler than mine. If I were OP, I would choose one of them.

    Have a nice weekend

  • Macro problem (replace text)

    6
    0 Votes
    6 Posts
    378 Views
    Юрий МарковЮ

    @Alan-Kilborn said in Macro problem (replace text):

    @Юрий-Марков said in Macro problem (replace text):

    apparently some new setting has appeared

    Software is continually being enhanced

    and this request does not appear if you use the replacement window, not a macro.

    Incorrect, it appears either way, any time you use Replace All in All Opened Documents (unless you change the Preference setting that was shown for it)

    It’s just that I haven’t updated Notepad ++ for a very long time))) Purely by chance I saw that a dark theme appeared, I have been dreaming about it for 3 years, everything has a dark theme for a long time, even in Total Commander it appeared.

  • Looking for a plugin that is able to search for exceptions

    9
    0 Votes
    9 Posts
    663 Views
    Giovanni GozziG

    How can I now check something after? is it correct like this?
    this is the right expression “close_when_inactive”:true,“ffmpeg_options”:
    ("close_when_inactive":true?=)[^,"ff]
    Can’t see results, thanks

  • How to select and copy lines in notepad++ ?.

    3
    0 Votes
    3 Posts
    313 Views
    Alex Sunny 0A

    @Alex-Sunny-0 said in How to select and copy lines in notepad++ ?.:

    Hello,

    I want to select a particular region/ lines say from 1000 to 5000 and copy them to another file. I can go to these lines using begin/end option, but how to select and copy these lines? Ometv chatroulette omegle bazoocam

    thanks
    alexsunny

    thanks for the awesome information.

  • What is the blue dot in left margin

    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    For my taste, the line number margin and the bookmark margin are not differentiated by color well enough. Sure, if you squint at it, you can tell that there is a difference, but I think often people think of this as only a single margin, containing the line number, and thus are confused when a “blue ball” marker also appears here.

    Here’s what the right-clicked bookmark margin looks like, for completeness:

    1a21c85a-8678-461c-a8fe-bc9e7e49865e-image.png

    BTW, Toggle Bookmark on this menu is fairly superfluous, as no one would right-click and choose that from the menu, when a simple left-click in the margin would toggle a bookmark on the current line. I think the N++ designers just left this in because it was easiest just to duplicate the Search (menu) > Bookmark (submenu), shown here to be the same:

    ee70d56b-a8f2-4c08-b7a1-a37b2da6001d-image.png