• Run tab question

    2
    0 Votes
    2 Posts
    171 Views
    Alan KilbornA

    @Sara-Uyehara

    You don’t. You use the View menu choices:

    Imgur

    If you have a more-specialized need (e.g., different browser?), post again.

  • Transpose multiple lines Horizontally in rows

    9
    0 Votes
    9 Posts
    1k Views
    Terry RT

    @Akruti-Clinic said in Transpose multiple lines Horizontally in rows:

    No data changed

    I am referring to this
    3027cd08-02f8-4d28-bf77-1c33c8fcc4a0-image.png

    The order of the lines changed and some text was missing, namely Price - which showed on the first line immediately behind chinttt.

    I am thinking that English is not your primary language as the last sentence you wrote i thinks its going more comple will find another, I do not understand. If you are still having issues, explain the problem. As you supplied some “real data” which allowed me to fix the previous problem, maybe you can show further examples where the process did not work and maybe it is still possible to update the solution to accommodate any other need.

    Terry

  • 0 Votes
    6 Posts
    358 Views
    Alan KilbornA

    @Alan-Kilborn said in Let result lines for text search pattern appear only once even if there are more occurrences?:

    change Find what to `foobar(?-s).*

    Bit of an error here, in formatting; THIS:

    Now, the workaround:

    change Find what to `foobar(?-s).* change _Search Mode to Regular expression

    SHOULD BE:

    Now, the workaround:

    change Find what to foobar(?-s).* change Search Mode to “Regular expression”
  • Extend syntax highlighting for a certain language

    10
    0 Votes
    10 Posts
    4k Views
    W

    @PeterJones said in Extend syntax highlighting for a certain language:

    That’s a different problem than adding tags to the list of valid tags.

    Of course it is - after my success with patching langs.xml in order to colour my invented tags, I wanted to go one step further. Now I know that it’s not possible.

    via the script EnhanceAnyLexer.py that @Ekopalypse shares

    Interesting, but for my purposes too complicated. So I’m going to stick with my patched langs.xml, this solves the main problem, the rest would just be “nice to have”.

    Thank you for your support.

    whitecat

  • How to change the theme for an ordinary Windows user?

    7
    0 Votes
    7 Posts
    534 Views
    PeterJonesP

    @PeterJones wonders how well the double negative will translate…

    That’s one of those idiomatic things that each language treats differently…

  • Help me find this menu "open file in browser"

    13
    1 Votes
    13 Posts
    504 Views
    PeterJonesP

    @andrecool-68 said in Help me find this menu "open file in browser":

    I don’t think we understand each other at all.

    I agree.

    However, I am just going to drop it, because we both apparently understand how to make it translate both the menu entry and the shortcut mapper entry, even if we don’t like or agree with the way the other of us has tried to explain it.

  • NppFTP - File attributes

    3
    0 Votes
    3 Posts
    243 Views
    andrecool-68A

    Total Commander has such an option!

  • Recent Files help wanted

    4
    1 Votes
    4 Posts
    241 Views
    PeterJonesP

    @Alan-Kilborn ,

    Sorry, @Alan-Kilborn , I cannot replicate.

    Unzip fresh NPP v7.9.1-64 portable run type a Save> new 1.txt New
    77ea0181-47f2-4e32-8c47-b5676aaef430-image.png Close new 1.txt
    eb55c7e3-a141-410e-af5c-9a23726d2113-image.png Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\usr\local\apps\npp\npp.7.9.1.portable.x64\notepad++.exe Admin mode : OFF Local Conf mode : ON OS Name : Windows 10 Enterprise (64-bit) OS Version : 1903 OS Build : 18362.1139 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll
  • Replace character in capture group

    28
    0 Votes
    28 Posts
    5k Views
    guy038G

    Hello, @peterjones,

    Sorry, I’ve just seen your post where you asked people to verify the N++ official documentation ! I’ll try to have a look, myself, very soon. It would be better to do it before the next release of the website !

    But, as I said to Alan, at the moment, my TO DO list, concerning N++ or else, is getting much longer ;-))

    Cheers,

    guy038

  • How to merge 2 separate lines into 1 line for a numerous amount of data?

    8
    0 Votes
    8 Posts
    446 Views
  • Bug with Language ?

    7
    0 Votes
    7 Posts
    529 Views
    AndreiA

    @PeterJones thank you. I put nativeLang.xml file to %AppData%\Notepad++\ with GPO. My problem solved.

  • Crash when type the text

    4
    0 Votes
    4 Posts
    274 Views
    PeterJonesP

    @Tseng-Alvin ,

    The reason @rinku-singh asked was because we have seen problems with the re-packaging that sites like portableapps use, causing things to not work.

    With Notepad++, there is no reason to risk someone else’s re-packaging, because a portable zip has been made available with every release on the official downloads page.

  • Regex Search Help!

    6
    0 Votes
    6 Posts
    343 Views
    Alan KilbornA

    @Nick-Brown 's regex is problematic for at least 2 more reasons:

    it does a greedy search rather than a minimal search, meaning that it will match something like "Number":"12345","23456","34567", fully, not stopping after only matching “one number”, which seems to be what the OP desires

    in conjunction with the first point, without specification of whether or not the . should match newlines, this regex could potentially match a lot of lines and a lot of data!

  • Hyperlinks not clickable anymore

    2
    0 Votes
    2 Posts
    333 Views
    L

    @BernieStn said in Hyperlinks not clickable anymore:

    Is this a known issue?

    I’m using Notepad++ 7.9 and it does recognise the last two lines as URLs I guess the protocol part of the URL is necessay for Notepad++ detect as a proper URL. Could you please check if you have enabled the option to make links clickable? (https://npp-user-manual.org/docs/preferences/#misc). Settings > Preferences... > MISC

    Also, it may help to post here Notepad++'s Debug info... that is under the ? Menu, and whether you are using any particular theme.

  • Hotkeys for Zoom don't work!

    5
    0 Votes
    5 Posts
    641 Views
    Дмитрий 1Д

    Peter Jones, thank you very much! I found the " / " key on the numeric keypad! Hotkeys a work now :)

  • Dual View

    3
    0 Votes
    3 Posts
    204 Views
    Tom OveringtonT

    Thank You Kindly. Figured it was something simple. Tried everything except that.

  • Download Dictionaries Dialog

    6
    1 Votes
    6 Posts
    2k Views
    pellelinP

    Hello Peter!

    That was spot on! You are a lifesaver!
    Had almost given up and was thinking of installing an older version of Notepad++.
    I managed to get the eng UK, eng US and swedish! YAY! :D

    Thanks Peter, stay safe and healty, best regards,
    pellelin

  • 0 Votes
    8 Posts
    391 Views
    PeterJonesP

    @Richard-Skinner ,

    Rather than arguing with those who are trying to help you, why not provide better example data, for both “before” and “after” the transformation you want, that matches your description of the data, so that we have a better understanding of what you’re trying to achieve? Since your descriptions don’t match the example text, it’s rather difficult for us to come up with a regex that will work with your data. If column number is the important thing, then focus on columns in your description and example data; if the important thing is actually anything after the seven digits of ?id=7777777, then focus on that string and not column number. But insisting on 52 characters when your example data isn’t 52 characters long is … tiring.

    Even though you haven’t shown that you understood or took my advice to heart, I’ll give you two guesses: one that assumes that the critical piece of information is 52 characters, and one that assumes that the id is the critical piece:

    52 char FIND = (?-s)^(.{52}).*$ Explanation: turn off .-matches-space, match beginning of line, match 52 characters and store in group 1, match remaining characters on line REPLACE = $1 replace with contents of group 1 (so effectively deletes everything after the first 52 characters) MODE = Regular Expression ID FIND = (?-s)(\?id=\d{7}).* Explanation turn off .-matches-space, match ?id= followed by 7 digits and store in group 1, match remaining characters on line REPLACE = $1 replace with contents of group 1 (so effectively deletes everything after the 7-digit ID) MODE = regular expression
  • 3 Votes
    1 Posts
    974 Views
    No one has replied
  • Hyperlink to a file? Win10

    11
    1 Votes
    11 Posts
    10k Views
    GarySe7enG

    @PeterJones said in Hyperlink to a file? Win10:

    you can select a path (whether relative or absolute, like c:\blah\file.txt or …\blah\file2.txt, and right click and select Open File

    Wow! This is great. Obviously, I’ve never noticed that before. But this certainly makes the ability to link notes significantly easier.

    I’ve given up on most note taking applications. Evernote, OneNote, even tried Joplin. But nothing has replaced a bunch of old fashioned text files, many of them now in markdown format, and replicated using NextCloud.

    NextCloud has a decent markdown editor for mobile. All workstations need nothing more than NPP (which is on all of my systems).

    Thanks again!