• Increase Find Window Size

    5
    0 Votes
    5 Posts
    462 Views
    Alan KilbornA

    @alan-kilborn said in Increase Find Window Size:

    There is no real way to do this.

    Well, not a great way.
    But you may want to have a look HERE to find a similar discussion.

  • Ancient Greek 'digamma' (ϝ) character

    4
    0 Votes
    4 Posts
    400 Views
    Vasile StancuV

    Thank you for the explanations. I noticed that kind of discrepancy and I thought it might be useful to make it known because I thought it was related to the application, rather than the ‘internals’ of the font itself, because the same character is correctly displayed, with the same font, in other applications. (Hereby attached is a capture of the character map related to this font).

    Digamma-character_map_palatino_linotype.JPG

    But I have no problem myself; I can manage the work I am doing using some other fonts. Thanks again.

  • How to properly migrate/clone style settings from 1 PC to many others?

    7
    0 Votes
    7 Posts
    923 Views
    Alan KilbornA

    @peterjones

    Yea, what I was trying to get to the bottom of was: “Is there anything that Notepad++ itself needs that wouldn’t be copied over in your original technique?”

    The items in your four bullet points would NOT be a concern for that. If users wanted those things to carryover for the first 3 bullet points, it is on them because it is “data”, not part of N++ that is needed. The point about plugins is “meh” because if plugin developers choose to hardcode paths, that’s their development choice, and well, the N++ devs and the support people can’t be expected to save them from themselves (nor account for that kind of stuff for all possible plugins when answering a question such as the OP’s).

    But I did realize that just copying %AppData%\Notepad++ may miss a couple settings…

    Good info. And another argument for using the portable version.

  • Compiling the application

    2
    0 Votes
    2 Posts
    911 Views
    PeterJonesP

    @фулстек-разработчик ,

    Hello dear developers. I have been using the Notepad code editor for about 10 years.

    Hello dear Notepad++ user (note that the ++ is significant; “Notepad” without the ++ is the Microsoft Windows default application for editing text).

    The primary Notepad++ Developer does not hang out in this forum. This forum is a Community of fellow Notepad++ users, not developers.

    5 years of which I have been using this editor in an operating system with a Linux kernel. …
    Please compile this application for Linux kernel systems

    You have been using Notepad++ on Linux for 5 years? Great for you. Glad it’s worked. But during that time of using Linux, you must have come across the difference between Windows and Linux, and you must have heard that binaries aren’t compatible between the two.

    The reason you have needed to use Wine is because the WIN32 API (“Windows Messaging”) calls that Windows applications use a different calling structure than native Linux programs. The “Windows Messaging” around which Notepad++ and most other Windows applications are written is completely incompatible with Linux, and to run such a beast on Linux, there needs to be a compatibility layer (“Wine” provides that layer).

    “Now wait”, you might say, “I have seen applications that were written in such a way that they can be compiled on both Windows and Linux and run just fine, like XXXX and YYYY”. Yes, you have. There are plenty. But they are written from the ground up in the Linux style, with the Linux-style libraries, and UI modules like GTK or similar that have had their UI libraries ported to work on Windows as well. Notepad++ was not written that way, and cannot be compiled natively for Linux without being completely re-written, at which point it would cease to be Notepad++.

    But unfortunately it is still not possible to install this editor from the repository, there are no deb and rpm packages on the site to install.

    Notepad++ has never provided pre-built packages for Linux because Notepad++ is a Windows application, not a Linux application, and the developers do not support Linux, nor have ever claimed to. Pre-built packages are available on some Linux distros (I think Ubuntu is one I’ve heard does have a pre-built package, but I cannot be sure).

    According to Ubuntu’s help page for Wine, all you should need to do to install a Windows application in Wine that you don’t have a prebuilt package for is to download the application’s installer EXE (like Notepad++'s current version of https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.1.9.3/npp.8.1.9.3.Installer.x64.exe) and save to a directory on your Linux machine, then cd into that directory and run wine npp.8.1.9.3.Installer.x64.exe, which will run the installer under Wine; then it will be installed in Wine, and you can follow their instructions for how to run it under Wine. It looks simple enough.

  • Incognito note

    7
    0 Votes
    7 Posts
    1k Views
    Alan KilbornA

    @w1t3c

    than we need to guarantee , that this file will be always in same place

    Tabs don’t move on their own.
    First position is best.
    Just leave it there.

    You seem to be trying to find problems with the “solution” I provided, which is actually quite workable.

    I suggest you embrace the solution, because (IMO) you won’t ever see such a thing as your original idea in Notepad++.

  • Note Pad Private Message

    2
    0 Votes
    2 Posts
    884 Views
    PeterJonesP

    @anthony-delbaglivo ,

    Notepad++ does not have a chat feature. It is a text editor. It is not the right platform for a private/encrypted/secret chat, and if that’s what you’re thinking, it doesn’t make sense.

    The “Forum private message” post you linked to was talking about a direct-message feature for this forum (aka “chat” aka “private message”) – at the time of that discussion, there was no such feature in this forum, but it has since been added. But that feature is just for doing a quick message to someone in this forum, it’s not a generic chat application made for connecting random people; it’s a way for members of this forum to communicate outside of just posts. You should not be planning to use that feature of this Forum as a generic private/secret chat with someone else who isn’t part of the Notepad++ text-editor community. It is not guaranteed secure; it is not something for general users to sign up for just to use “private chat” with each other; it is not a competitor to WhatsApp and similar applications; it is a chat for members of this Forum, where a member of this forum is anyone who wants to publically discuss Notepad++ and/or help answer the many questions that are asked here; the direct-message feature is not the primary purpose of this forum, and if it starts getting abused, the host is likely to turn it off an not allow us to continue to use it. Please do not abuse this feature.

  • Deployment

    4
    0 Votes
    4 Posts
    460 Views
    A

    @peterjones Thanks that help me so much

  • How to add custom color to a tag in json language

    3
    0 Votes
    3 Posts
    374 Views
    ziggi slawZ

    @peterjones Thanks, I’ll check it out.

  • need some help with regular expressions

    4
    0 Votes
    4 Posts
    412 Views
    guy038G

    Hello @eugene-fishgalov, @terry-r and All

    Thanks for your two examples, but I still couldn’t imagine the general goal :-(. Here is how I proceeded to get a better idea of the problem :

    Firstly, I copied all your Wikipedia article in a new tab.

    Secondly, I marked all the ranges <ref>•••••••</ref> with the regex <ref>.*?</ref> in red ( Ctrl + M )

    I then clicked on the Copy Marked Text button

    After pasting, I sorted all these lines ( Edit > Lines Operations > Sort Lines Lexicographically Ascending )

    I re-organized some adjacent ranges <ref>•••••••</ref> one per line

    Finally I tried to manually sort this list by similarity and I got :

    <ref>AS, Rn. 120, S. 57.</ref> <ref>AS, Rn. 127 S. 60</ref> <ref>AS, Rn. 127 S. 60</ref> <ref>AS, Rn. 129 S. 61</ref> <ref>AS, Rn. 130 S. 62</ref> <ref>AS, Rn. 131 S. 62</ref> <ref>AS, Rn. 131 S. 62</ref> <ref>AS, Rn. 132 S. 62<</ref> <ref>AS, Rn. 134 S. 63</ref> <ref>AS, Rn. 142, S. 71.</ref> <ref>AS, Rn. 151, S. 77.</ref> <ref>AS, S. 101, Rn. 186.</ref> <ref>AS, S. 102, Rn. 189.</ref> <ref>AS, S. 102, Rn. 190.</ref> <ref>AS, S. 105, Rn. 194.</ref> <ref>AS, S. 106, Rn. 195-196.</ref> <ref>AS, S. 82, Rn. 159, Fn. 238.</ref> <ref>AS, S. 82, Rn. 159.</ref> <ref>AS, S. 83, Rn. 161.</ref> <ref>AS, S. 84, Rn. 161.</ref> <ref>AS, S. 87, Rn. 164; S. 99; Rn. 184.</ref> <ref>AS, S. 93, Rn. 174.</ref> <ref>AS, S. 93-94, Rn. 175.</ref> <ref>AS, S. 97, Rn. 180.</ref> <ref>AS, S. 98, Rn. 181.</ref> <ref>AS, S. 98, Rn. 182.</ref> <ref>BGHZ 40, 272; 50, 227; 56, 228; 72, 246.</ref> <ref>BGHZ 58, 188</ref> <ref>Baur/Stürner, Sachenrecht, 18. Aufl. 2009, § 37 Rn. 48; Vieweg/Werner, Sachenrecht; 7. Aufl. 2015, § 15 Rn. 27</ref> <ref>Büdenbender, Grundsätze des Hypothekenrechts, JuS 1996, 665.</ref> <ref>MüKoBGB/Lieder, 7. Aufl. 2017, § 1113 Rn. 83; Baur/Stürner, Sachenrecht, 18. Aufl. 2009, § 37 Rn. 48; Rimmelspacher, Kreditsicherungsrecht, 2. Aufl. 1987, § 10 Rn. 711 ff.</ref> <ref>Rimmelspacher, Kreditsicherungsrecht, 2. Aufl. 1987, Rn. 714; Vieweg/Werner, Sachenrecht, 7. Aufl. 2015, § 15 Rn. 27.</ref> <ref>Rimmelspacher, Kreditsicherungsrecht, 2. Aufl. 1987, Rn. 714; Vieweg/Werner, Sachenrecht, 7. Aufl. 2015, § 15 Rn. 27.</ref> <ref>Vieweg/Werner, Sachenrecht, 7. Aufl. 2015, § 15 Rn. 27</ref> <ref>[[:Файл:RGZ 150, 1.pdf|RGZ 150, 1]]; BGH [https://dejure.org/1982,163 NJW 1983, 1420].</ref> <ref>[[:Файл:RGZ 161, 52.pdf|RGZ 161, 52]]; [https://dejure.org/1958,549 BGHZ 28, 164]; [https://dejure.org/2015,13297 BGHZ 206, 69].</ref> <ref>[https://dejure.org/1959,456 BGHZ 29, 157]</ref> <ref>[https://dejure.org/1963,7 BGHZ 40, 272]</ref> <ref>[https://dejure.org/1970,170 BGHZ 53, 144]; [https://dejure.org/1971,21 57, 137]</ref> <ref>[https://dejure.org/1971,21 BGHZ 57, 137]</ref> <ref>[https://dejure.org/1973,48 BGHZ 61, 289]</ref> <ref>[https://dejure.org/1976,124 BGHZ 66, 362]; [https://dejure.org/1976,156 66, 372]; [https://dejure.org/1976,288 67, 75]; [https://dejure.org/1983,140 87, 393, 396]; [https://dejure.org/1983,362 88, 232, 235]</ref> <ref>[https://dejure.org/1978,150 BGHZ 72, 9, 12]</ref> <ref>[https://dejure.org/1980,384 BGHZ 78, 216]</ref> <ref>[https://dejure.org/1983,362 BGHZ 88, 232, 236]</ref> <ref>[https://dejure.org/1984,281 BGHZ 89, 376]; [https://dejure.org/1984,915 BGH NJW 1984, 2205]</ref> <ref>[https://dejure.org/1994,893 BGHZ 126, 105]</ref> <ref>[https://dejure.org/2001,9 BGH NJW 2001, 1127]</ref> <ref>[https://dejure.org/2002,1296 BGH NJW 2002, 3772]; [https://dejure.org/2003,62 BGHZ 155, 380]; MüKoBGB, § 814, Rn. 12.</ref> <ref>[https://dejure.org/2008,1843 BGH, 13.02.2008 - VIII ZR 208/07, NJW 2008, 1878].</ref> <ref>[https://dejure.org/2015,20967 BGHZ 205, 377]</ref> <ref>[https://dejure.org/2015,4962 BGH, 04.03.2015 - XII ZR 46/13, NJW 2015, 1523.]</ref> <ref>https://lorenz.userweb.mwn.de/urteile/vizr36_00.htm</ref> <ref>В данном случае речь идёт не (обязательно) о договоре поручения, а о «указании» в описанном выше кондикционно-правовом смысле. Немецкие термины Anweisender, Angewiesener и Zuwendungsempfänger используются только в рамках этого специфического института, тогда как доверитель и поверенный в собственно-юридическом смысле называются Auftraggeber и Auftragnehmer.</ref> <ref>В дореволюционном переводе: https://viewer.rusneb.ru/ru/rsl01003642821?page=193 — «удовлетворение»</ref> <ref>В нем. юриспруденции согласно так называемому «горизонту получателя», нем. Empfängerhorizont.</ref> <ref>За применение кондикции: [https://dejure.org/1973,841 BGH NJW 1973, 612]; за правило о нарушении основания сделок как специальный закон: [https://dejure.org/1992,508 BGH NJW 1992, 2690].</ref> <ref>Основанные на: Westermann, Sachenrecht, 5. Aufl. § 128 III 1; Baur, Sachenrecht, 4. Aufl, § 55 B II 2 a</ref> <ref>Со ссылкой на Kregel in RGRK 11. Aufl. Anm. 8; Staudinger/Spreng, 11. Aufl. Rdz. 10; Palandt/Degenhart, 27. Aufl. Anm. 3 a und Erman/Rinke, 2. Aufl. Anm. 3, к § 1204 ГГУ.</ref>

    I, then, understood that we should stay concentrated on the <ref>AS, •••••••</ref> ranges, only ! so, after a manual sorting, I got the shorter list, below :

    <ref>AS, Rn. 127 S. 60</ref> <ref>AS, Rn. 127 S. 60</ref> <ref>AS, Rn. 129 S. 61</ref> <ref>AS, Rn. 130 S. 62</ref> <ref>AS, Rn. 131 S. 62</ref> <ref>AS, Rn. 131 S. 62</ref> <ref>AS, Rn. 132 S. 62<</ref> <ref>AS, Rn. 134 S. 63</ref> <ref>AS, Rn. 120, S. 57.</ref> <ref>AS, Rn. 142, S. 71.</ref> <ref>AS, Rn. 151, S. 77.</ref> <ref>AS, S. 82, Rn. 159.</ref> <ref>AS, S. 83, Rn. 161.</ref> <ref>AS, S. 84, Rn. 161.</ref> <ref>AS, S. 93, Rn. 174.</ref> <ref>AS, S. 97, Rn. 180.</ref> <ref>AS, S. 98, Rn. 181.</ref> <ref>AS, S. 98, Rn. 182.</ref> <ref>AS, S. 101, Rn. 186.</ref> <ref>AS, S. 102, Rn. 189.</ref> <ref>AS, S. 102, Rn. 190.</ref> <ref>AS, S. 105, Rn. 194.</ref> <ref>AS, S. 106, Rn. 195-196.</ref> <ref>AS, S. 93-94, Rn. 175.</ref> <ref>AS, S. 82, Rn. 159, Fn. 238.</ref> <ref>AS, S. 87, Rn. 164; S. 99; Rn. 184.</ref>

    Note that one line contains a wrong ending tag <</ref>. You can easily modify these lines with the regex S/R :

    SEARCH (<+)|>+

    REPLACE ?1<:>

    Now, I succeeded to find out a correct regex S/R for almost all the above lines. However, could you tell me how to change the two lines , below :

    <ref>AS, S. 82, Rn. 159, Fn. 238.</ref> <ref>AS, S. 87, Rn. 164; S. 99; Rn. 184.</ref>

    For all the other cases, my regex S/R do give the expected result ;-))

    See you later,

    Best regards,

    guy038

  • Using plug-ins in macro

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @garry-weil ,

    my plug-in has a subcommand. Is there a way to specify that via a xParam ?

    I am not sure what you mean by “subcommand”. In Windows menus, there are either separator lines, submenus, or command entries. Command IDs are only available for command entries, nothing else has a command ID.

    For example, as NppUISpy shows in my current Notepad++ environment:

    fc4147e2-4fd6-471b-a374-b0bbd1609728-image.png

    Plugins > Python Script is a submenu, so it has a command ID of “0”. Then it has some actions which are 22108-22111. Then it has a Scripts submenu with id=0. Then there is the startup script command entry inside that menu, with id=23034, another couple of submenus, then a script that is called aaa123 with id=23127. So if I wanted to run the aaa123 script from a macro, I could create a macro that calls that number, such as

    <Macro name="Example" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="2" message="0" wParam="23127" lParam="0" sParam="" /> </Macro>

    There is also a keyboard shortcut for the subcommand. Is there a way to execute that in the macro?

    If that keyboard shortcut is editable using the Notepad++ built-in shortcut mapper, then the chances are, it will be able to run that using the number that UI Spy shows you. But plugins can also define keyboard shortcuts not using the Shortcut Mapper (though that’s an evil practice, since it makes for unknown shortcut conflicts) – so having a shortcut is not a guarantee that the plugin is playing nice.

    (note: didn’t see your “nevermind” until after I had the whole post basically written, so I am including it for future readers, and you if you care to have the extra info)

  • How to extract part of the text

    2
    0 Votes
    2 Posts
    952 Views
  • ctrl-tab with cloned docs is borked.

    7
    0 Votes
    7 Posts
    396 Views
    GubithG

    @alan-kilborn Thanks. Still driving me nuts every time I CtrlTab!

  • Try using sessions (again)

    4
    0 Votes
    4 Posts
    693 Views
    GubithG

    I was able to get this working…

    Sesion-Manager-Settings.jpg

    Sesion-Manager-Sessions.jpg

    Sesion-Manager-Multi-Instance.jpg

    Sesion-Manager-Backup.jpg

  • Finding numbers and batch perform arithmetics in text?

    3
    0 Votes
    3 Posts
    305 Views
    Ciprian PopaC

    @alan-kilborn Hi Alan,
    Thank you for that piece of code!

  • New Bug in 8.1.9.2

    3
    0 Votes
    3 Posts
    323 Views
    PeterJonesP

    @alexander-groh ,

    Deleting a topic after it’s been answered is considered rude. The topic has been restored by a moderator.

  • Default for C++ language

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @trevor-w said in Default for C++ language:

    that worked.

    Glad it worked for you.

    this should be the solution to @queenidog1 problem too.

    Doubtful. As explicitly stated, the original post was about pasting text into a new document (that is, what you get when you open Notepad++ with no previous session open, or what you get from a File>New), whereas your question was how to treat an already-existing file that you open with File>Open or equivalent. Those are two separate things, and the answer I gave to each is the right way of handling those two separate situations.

  • Abnormal scroll at end of the file

    3
    0 Votes
    3 Posts
    330 Views
    L

    @terry-r Yes! I solved. Thank you

  • Word Wrap should be a local setting for each tab

    3
    1 Votes
    3 Posts
    297 Views
    Alan KilbornA

    @Steve-James

    If you are willing to “script” it, you can find a workaround to the native deficiency HERE.

  • Count Blank Rows

    4
    0 Votes
    4 Posts
    2k Views
    Alan KilbornA

    @alan-kilborn said in Count Blank Rows:

    Maybe change your regular expression to ^\s*\R ?

    Yea…my advice was bad. :-(
    It will count several blank lines in a row as one.
    Go with the Peter solution.

  • Remove extra NP++ description from "Open with..." menu!

    8
    0 Votes
    8 Posts
    760 Views
    JamesWebbJ

    @ludamo-0 said in Remove extra NP++ description from "Open with..." menu!:

    @ten2120 Well again the details are a little hazy but there are a number of programs which have this value. The simplest would be wordpad.exe seeing it is built in to windows, or wmplayer.exe. Also common programs like vlc and irfanview have it (originally I think). I may have used procmon from SysInternals to see what keys are referenced when R-clicking in explorer.

    Thanks. Big help, I would check it out (SysInternals). 👍