• Opening files with Notepad++ is very long (more than 30 seconds)

    2
    0 Votes
    2 Posts
    106 Views
    Alan KilbornA

    @Bernard-Jouffrey

    Antivirus software in use?

  • How to replace two separate lines.

    Moved
    7
    0 Votes
    7 Posts
    158 Views
    ?

    :) you are not lucky, eh?

    It looks like the reason it works for me is that I’m using the LF EOL, not CR LF as typical in Windows.

    Cheers

    P.S. @Brent-Ficker if you’re not familiar at all with regex, the “Extended” mode setting would work for this particular problem too, to gently introduce you to such things.

  • Disable menu activation for a shortcut not working for english.xml

    5
    0 Votes
    5 Posts
    121 Views
    jabcreationsJ

    @PeterJones

    I had to reinstall to get the English Customizable file installed (C:\Notepad++\localization\english_customizable.xml). I made some recommended changes (name="Exit&°"), changed to English and then back to English Customizable and tested it and it did not exit as desired; thanks!

  • Search characters if exist in any order with no spaces?

    Locked
    5
    0 Votes
    5 Posts
    130 Views
    PeterJonesP

    Moderator Note: Please do not delete posts after the conversation has happened. It removes context.

    (Moderator restored deleted posts; topic being locked, because it appears the original poster is no longer interested, since the posts were deleted)

  • EV GLOBAL SIGN BROCKEN

    2
    0 Votes
    2 Posts
    83 Views
    PeterJonesP

    @ilya-zabelin ,

    The certificate / signature is not broken – it is signed using a CA (Certificate Authority) Certificate that you don’t have. You just need to follow the instructions linked to as the self-signed-certificate link in the Release Announcement, which links to the official website instructions: https://notepad-plus-plus.org/news/v883-self-signed-certificate/ . Or the online user manual has an entire section on how to install the CA cert on your machine.

    (GlobalSign refused to let the developer get a certificate issued in the “Notepad++” name, so he made this new CA cert to “bridge the gap” until he is able to get some paperwork filed with his local government to register “Notepad++” as an organization, so that hopefully GlobalSign will be willing to use the “Notepad++” name on the certificate; government beaurocracy can be slow, so it might be a while, which is why the CA cert needs to be installed in the interim.)

  • 0 Votes
    19 Posts
    2k Views
    Bob BridgesB

    @Patrick-909

    And keyboard shortcuts can be assigned to menu commands by choosing run > modify shortcut and switch to the Main Menu tab on the Shortcut Mapper.

    It would be good to have the Open in Default Browser be located in either the View or Run Menus, but creating a shortcut works for me.

  • Unable to see Data in the Notepad++

    28
    0 Votes
    28 Posts
    11k Views
    NebojshaN

    @xomx said in Unable to see Data in the Notepad++:

    I’d like to ask the affected users here, for which switching the DirectWrite OFF helped - what OS, graphics card and version of its drivers are they using?

    E.g. post: Windows 10, Nvidia GeForce xyz, 2/24/2023 30.0.14.7430

    (you can find such info e.g. by WinKey+R, type there devmgmt.msc -> OK, and check the Display Adapters > doubleclick on an adapter > Driver tab)

    Win 11, VMware SVGA 3D, 4/28/2023, 9.17.6.3
    Win 11, Microsoft Remote Display Adapter, 6/21/2006 10.0.26100.4484

    Accessing a VMware virtual machine via Remote Desktop Connection (RDP)

  • More information regarding initial post: Spaces instead of Tabs

    Locked
    3
    0 Votes
    3 Posts
    118 Views
    PeterJonesP

    moderator fixed image in the original conversation; continue discussion there

    LOCKED THIS SECOND DISCUSSION
  • 0 Votes
    6 Posts
    143 Views
    PeterJonesP

    @Danie-Bosman,

    I used moderator powers to fix your embedded image.

    Are the arrows indicatiing Tab characters, or merely indicating where the indents are?

    Your drawn red arrows are the View > Show Symbol > Show Indent Guide indicators. They show up whether you are set to spaces or tabs, so it won’t help you determine which you are set to.

    OTOH, the related View > Show Symbol > Show Space and Tab do show spaces vs tabs:

    126dc4bb-05c5-4be7-aa93-20a8ffd5e33a-image.png

    As @Alan-Kilborn said, the long right arrows are tab characters, the mid-dots are space characters.

    Unfortunately, your screenshot did not include enough information to tell what language your code is in. Like I said, the screenshot needs to include the status bar to show us that, and you cut it off before the status bar. Your language looks vaguely VisualBasic-like, but that’s just a guess. (Though it’s confusing to me that your tab name claims *.txt, but it’s syntax highlighted like code; have you associated .txt with something other than normal text?)

    Anyway, whatever language it’s set to, whether you are willing to show the status bar or not, assuming you can read the status bar yourself, or can look in the Language menu to determine what language is active for syntax highlighting your .txt file with code, you need to click on that language’s entry in the Indent Settings box that lists all the languages, and see what the Indent Using is set to for that language: see whether it’s set to Use default value, in which case it will follow the [Default] settings you show in you screenshot; or it might not have that set, and instead have its own, like Makefile does:

    Examples comparing my settings for Visual Basic with Use default value vs Makefile with its own set to use tabs:

    Visual Basic 1e2784be-9137-4be5-9b25-e49554bfbb19-image.png Makefile 2ec29bcd-b77d-4519-9876-c610152b64fa-image.png

    update: But given your indication that you seemed to think the guidelines were tab characters (which they aren’t, necessarily), then my guess is that you were just misinterpreting what you were seeing, and this whole time, you really do have spaces where you thought it was still inserting tabs. Again, View > Show Symbol > Show Space and Tab will show you definitively and unambiguously whether the characters are spaces or tabs.

  • Delete an entire line if a specific word is found inside that line

    9
    0 Votes
    9 Posts
    37k Views
    Antheds KennelA

    @Mark-Olson Thanks for the help, I’ll try it when I get back from vacation. Kind regards Thore

  • Disable line-switching keyboard shortcut?

    3
    0 Votes
    3 Posts
    62 Views
    jabcreationsJ

    @PeterJones Thank you Peter, that seems about right. I was able to find and clear the keyboard shortcuts (Settings --> Shortcut Mapper for others who don’t know offhand).

  • npp v8.6 reverses the order of lines on column copy/paste

    25
    1 Votes
    25 Posts
    7k Views
    CoisesC

    @PeterJones said in npp v8.6 reverses the order of lines on column copy/paste:

    Unlike @Coises , I don’t consider it a “feature” (ie, a bug masquerading as a feature), I think it’s a reasonable compromise between all the different opinions on what the “right” behavior should be when mixing between column and multi-select mode.

    I agree — perhaps the scare quotes were a bit excessive. For certain, it’s intended behavior; it was never a bug that was presented as a feature to avoid dealing with it.

    I think that for users like me, who use rectangular selections frequently and multiple selections rarely, the improvements to multiple selection in the early 8.x releases felt like a degradation in user experience. Some of that has been mitigated by the Multi-Editing options (though, for example, turning off the ability to create multiple selections when you do want them is an unfortunate trade-off for not breaking normal drag-copy conventions… but if I recall correctly, that binary choice is baked into Scintilla, so it would be fragile at best for Notepad++ to attempt something different).

    I imagine it appears exactly reversed to people who use multiple selections often and rarely want rectangular selections: they probably wish the distinction could be eliminated so they didn’t have to keep track of different behaviors when a rectangular selection hasn’t been changed to a multiple selection.

  • Advice for Backup settings with AutoSave installed

    3
    0 Votes
    3 Posts
    140 Views
    Mark D Worthen PsyDM

    @PeterJones Thank you for explaining everything so well. I really appreciate it. All the best - Mark

  • Add iNVERT cASE in the Right Click Menu

    2
    0 Votes
    2 Posts
    85 Views
    Alan KilbornA

    @Michel-Merlin

    You can customize the right-click context menu for your own use; consult the user manual (found via the ? menu in Notepad++) for details on how.

  • 1 Votes
    4 Posts
    174 Views
    Terry RT

    @Prelle said in Window loses focus a few seconds into typing after update to v8.8.3 - Windows 11:

    i don’t know that any specific window gets focus

    I did a quick check (and test). If the status bar in Windows doesn’t indicate which window is active by colouring the icon for it differently, then use the Alt + tab key once and hold the alt key down. The window which appears should show open windows. The one highlighted is now the new one, and possibly the one to the left is what was the active window before hitting the alt + tab key.

    I’ve never had the “always on top” option in use, so I don’t know what the ramifications are for it in operation.

    Terry

  • Strong Flickering

    5
    0 Votes
    5 Posts
    162 Views
    BUILMOND interactiveB

    Alright Thanks to all of you for the Instructions,

    the Rendering Mode wasnt the Case, I Updated the Nvidia Driver and then Restarted the Laptop and Found out that My Windows did updated too through the Restart, So Weather it was the Windows update or the Nvidia Graphics Driver update,

    THE ISSUE IS FIXED :)))

    Thank You All ♥

  • FingerText panel UI has gone weird after storing settings on cloud

    2
    0 Votes
    2 Posts
    105 Views
    mathlete2M

    @pbarney some plugins have separate settings that are stored in their own INI files - you can find these files in %appdata%\Notepad++\plugins\config. I don’t know if the cloud feature extends to these files, but if so, it’s possible that you have to add these files to your cloud manually. If they are already there, try comparing the files on your cloud to the ones on your local machine to see what might have changed.

  • Highlight all text down after sign

    2
    0 Votes
    2 Posts
    96 Views
    CoisesC

    @The-Hitman:

    Exactly what you’re asking — to highlight all the text following the equals signs and then sort on that — is, to the best of my knowledge, not possible. Since the equals signs don’t line up, you’d be creating a multiple selection rather than a rectangular selection, and the sort functions don’t work on multiple selections. So even if you got your selection, you wouldn’t be able to sort it.

    However, there are ways to accomplish what you want. One thing isn’t quite clear to me: in your example, both the numbers in brackets after the capital Ms at the beginning of each line and text to the right of the equals signs are in ascending order — but presumably, if you need to sort, the text parts don’t start out in ascending order. Do you want to sort the text part of the lines only, so that the numbers stay in order and the text gets associated with different numbers? Or are the numbers supposed to move with their associated text, so that the text will be in order but the numbers will no longer be in order?

    Either way, it can be done without too much difficulty. The key step is to temporarily right-justify all the numbers, so the equals signs line up:

    M[ 97]=DM-Elysium:1 M[ 98]=DM-Enemyatthegates:2 M[ 99]=DM-EternalWinter:2 M[100]=DM-FactoryTown:3 M[101]=DM-Fastfood:1 M[102]=DM-FAT-Musashi][:2

    You can do that by creating a zero-width column selection in front of the numbers from 10 to 99 and typing a space, and similarly adding two spaces before the single digit numbers; or you can use regular expression replacement to add the blanks. (With either method, you could also add zeros instead of blanks if you like those better.)

    You might not know how to do either of those things. If you don’t, please first try reading the sections in the online manual titled Selection modes & Column Editor and Regular Expressions. (Sorry to be indirect about answering your question, but these are basic skills for using Notepad++ effectively. It is worth learning how these things work so you’ll know how to solve other problems in the future.)

    Once you have the equals signs lined up, you can create a zero-width column selection just after the equal signs and use one of the sort commands to sort the result. (If you wanted the numbers to stay in order rather than move with the associated text, just use Edit | Column Editor… to renumber after sorting.) Then use regular expression replacement to remove the unwanted blanks.

    There is an alternative method, using the Columns++ plugin which is available in the Plugins Admin. Custom sorts in Columns++ allow you to specify a regular expression which matches the sort key in each line; so, instead of manipulating the lines to line up the sort fields, you’d use an expression like =.* to identify the sort key. Unless you already have that plugin installed, this would probably be more complicated for your case than the method described above, but it is an approach that could be useful in similar but more complex cases (or for those who already use that plugin).

  • search and NOT replace, but add

    3
    0 Votes
    3 Posts
    63 Views
    Alex HlebnikA

    @Coises Joo! Thank you! It’s work!
    Case is closed

  • 0 Votes
    5 Posts
    157 Views
    Lycan ThropeL

    @PeterJones ,
    This is the hardest part of doing the UDL’s I think. Even after we’ve done the original dBASE UDL you helped with, I’m finding that doing the earlier versions now, and fine-tuning the keywords, operators and the nesting precedents was the most confusing and finer control over the language. Doing the earlier versions I’ve figured out how to keep an apostrophe, from screwing up my code highlighting, while still keeping it as a delimiter by simply NOT allowing it to be included in the other delimiters nesting options. In turn, dBASE also has a JSON object, and with a little fine tuning, I was able to make the delimiters in dBASE also work to outline a JSON structure, so far. If there are other options in a JSON structure I’ll have to learn that as I go, but for now, the simple W3C version showing it, it works right, as well as the dBASE delimiters without messing things up.

    Obviously a quick UDL is possible with just the categories to put things in, but I’m finding that the real power of the UDL system is in the finer use of the mechanisms like the nesting, differentiation of forward search/backward search, prefix mode, etc works much better when combined to get a desired result. It’s actually much more powerful than I originally figured. I wish I’d had a good explanation/example like you’ve done, back then…although, with so much to include to make a UDL almost a complete language system, it would have probably been too much to absorb at the time and would not have availed me much improvement at the time. It’s something that requires a lot of trial and error and understanding of the mechanisms and time playing with it, I think, to get things just right, if it’s at all possible to do. :-)