• 0 Votes
    4 Posts
    1k Views
    rdipardoR

    @Moratilla said in Black line highlight background after use of compare plugin:

    Solution: Alt+F4 & Reopen Notepad++ solves this, not the best solution but not the worst either xd

    You need to turn off CSV Lint’s transparent cursor option, or the problem will keep coming back:

    csv_lint_settings_panel.png

    See https://github.com/BdR76/CSVLint/issues/77

  • 1 Votes
    3 Posts
    45 Views
    waroftitans remoteW

    @PeterJones
    Thanks for your reply.
    Adding the comma to the operators solved the problem.

    Thank you.

  • How come I have two types of fonts in my sentences?

    General Discussion
    8
    0 Votes
    8 Posts
    245 Views
    CoisesC

    @Vasile-Caraus said in How come I have two types of fonts in my sentences?:

    If I copy from somewhere else, and it has a different font, how do I keep the font the same as the other sentences?

    You can’t fix it within Notepad++, but you might be able to get the result you need by pasting the text into this page:

    https://yaytext.com/unstyle/

    and then pasting those results into Notepad++. With this particular text, something in it is making that web site reverse the text (right-to-left) when you paste the whole text, so you have to do it piece by piece. I don’t know if that’s a bug in the web site or something peculiar in the text.

  • Navigating in a JSON, howto?

    Notepad++ & Plugin Development
    2
    2 Votes
    2 Posts
    49 Views
    Mark OlsonM

    @Martin-Hoppe
    Open the tree view and paste your path after the @ symbol in the query box. When you select a node in the tree view, the caret will automatically snap to its position in the document.

    I am the JsonTools maintainer, and thus the best person to direct such questions to.

  • 0 Votes
    3 Posts
    76 Views
    notdodgeballN

    If your “blocks” are separated by a line break, you can use the commands:

    SCI_PARADOWN Ctrl+] SCI_PARAUP Ctrl+[

    as they navigate between paragraphs.

  • 0 Votes
    2 Posts
    37 Views
    PeterJonesP

    @Nicholas-Crabtree ,

    I can only see them in HEX mode

    Since you can only see them in HEX mode, that means Notepad++ is doing the right thing, and you don’t fully comprehend the meaning of what you are seeing in the HEX. Let me explain:

    You don’t have the character Â, that’s just the first byte in a two-byte representation for certain characters. You have a properly-formed UTF-8 document, which when Notepad++ is reading it natively as text, it will interpret those two adjacent bytes as a single character – hence, in the text mode, Notepad++ is just showing the single character that it correctly interpreted those two bytes as.

    For the UTF-8 encoding, the Unicode codepoints U+0080 - U+00BF are represented by the byte pairs 0xC2 0x80 through 0xC2 0xBF. You’ll notice that the second byte in the two-byte sequence is the same byte as the Unicode codepoint of the actual character. Thus, if you look at any character U+0080 - U+00BF in a HEX editor, where it’s showing you the hex of the bytes, and then interpreting those bytes as ANSI characters in the panel on the right, you will see  followed by the character you hoped would be there.

    For example, the center character ¢ is U+00A2, which is represented in UTF-8 bytes as 0xC2 0xA2; when a HEX editor puts the ANSI representations to the right, it will show those two bytes as ¢, thus tricking you into thinking there is an extra character there. There isn’t. There is one character represented by two bytes.

    (You actually have the oppsoite problem of a lot of people: a lot of people have malformed UTF-8 documents which Notepad++ mis-interprets as using an ANSI codepage, and so normal Notepad++ shows the two bytes of that single UTF-8 character as ¢. Yours is actually properly formed, so Notepad++ correctly interprets those two bytes together as representing ¢, so properly only shows the ¢ character. So congratulations on having a good file.)

    If you were to somehow trick Notepad++ into deleting those  bytes, then you could maybe delete those bytes, but then Notepad++, and any other application that believes it is trying to read a UTF-8 file, would see the lone 0x80 - 0xBF bytes as malformed, broken UTF-8, and they would complain to you about bad file encoding or improper UTF-8 or similar. If I helped you do this, I would be helping you to break your UTF-8 encoding.

    That said, if you are trying to convert a UTF-8 encoded file into a 256-codepoint ANSI character-set encoding, then you can do that on each fiile inside Notpead++: after loading the UTF-8 file (and seeing it say UTF-8 in the lower-right of the Notepad++ status bar), you could go to Encoding > Convert to ANSI to get Notepad++ to convert from UTF-8 to ANSI… and as long as all the non-ASCII Unicode characters in your UTF-8 file were also found in your default ANSI codepage (Windows 1252 is usually the default in US installations of Windows), the file would look the same, and once you save it, and look at it in any HEX editor, the HEX editor will only show one-byte-per-character, because that’s all that ANSI character sets use; however, any Unicode characters in your original file that aren’t in the active codepage will be converted irreversably into ?, so be forwarned that it’s an incredibly bad idea to do that conversion without a good understand of what characters are in your file and what characters are in your default codepage.

    But the best advice: just leave the UTF-8 file as it is, because that’s a good, international, modern standard for text interchange, whereas the 256 character sets of the various ANSI codepages were a tolerable workaround in the 80s, but completely insufficient in the 2020s, and no modern tool should be forcing you into codepages instead of allowing UTF-8 encodings.

  • FKCING aHOLE Don Ho

    Boycott Notepad++
    7
    -8 Votes
    7 Posts
    2k Views
    Dan AD

    @Terry-R I was referring to Notepad++, yes. I found an alternative, so it’s all good.

  • 0 Votes
    11 Posts
    323 Views
    Lycan ThropeL

    @Taras-Tkachenko ,
    @PeterJones has been trying to help you, but you don’t seem to be able to be helped.

    I downloaded version 8.5 32 bit:

    Notepad++ v8.5 (32-bit) Build time : Mar 6 2023 - 02:15:26 Path : C:\Users\<username>\Documents\Development Tools Downloads\Notepad++ Versions\npp.8.5.portable\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : ON Cloud Config : OFF OS Name : Windows 10 Home (64-bit) OS Version : 22H2 OS Build : 19045.5608 Current ANSI codepage : 1252 Plugins : mimeTools (2.9) NppConverter (4.5) NppExport (0.4)

    And made my default file choice to be the D language, made a file, saved it. Created new, saved it, and in that directory was the other D file that I had just created. I shut down the application, came back, started a new document, saved it, and it too, defaulted to the same directory that my previous opened file was pointing to, and when I saved the newly created document, it too had the default extension of .d and the other .d files and only the other .d files were present in the dialog box.

    I think you’re trolling, or lying. There is no forgetting. the file extension set from the Settings->Preferences...->New Document->Default language: dialog box selection area.

    NPP85PrefDialog.PNG

    From what I can see, you are not using the application properly, or not as you described. So unless you can take the time to properly describe EXACTLY what you are doing I don’t think @PeterJones or anyone else on here should bother giving you anymore suggestions until you stop with the vague decscriptions of your problem or the snide comments about a contributing forum member regardless of how you percieve their influence.

    I tried doing the things you say, and unless you are Using the Open Files Dialog box like below, then yes, you will have the *.* file listing:

    NPP85OpenDialogFilesList.PNG

    And any file in there will be shown. If your directory only has the files you described in your use case, then those files will be there, only.

    If you instead use the Save As Dialog, then the only thing you will see with the default file extension .d will be shown as this shows below:

    NPP85SaveAsDialog.PNG

    As you can see, only the files that you have saved with the same file extension will be in there. From my view, I’ve just done everything you said you couldn’t do. So which is it? Trolling, lying or is it just being purposely dense?

    If someone offers you a way to do what you want, regardless of the way it is done, and seems like it’s too much trouble, then just say thank you for the effort, but it seems to difficult to do, or you’re too lazy to do it (I say that all the time about myself), but you’ll make a suggestion the proper way to the developers…and then move on. No need for the entitled attitude.

  • 0 Votes
    6 Posts
    129 Views
    Furio SassiF

    @Coises
    sorry if I made a mistake in putting the photo on the site.

    I converted the text as you told me everything and now it works perfectly, thank you, you were very kind, bye :)

  • 0 Votes
    4 Posts
    106 Views
    rdipardoR

    @PeterJones said in Can I Insert Symbols using a Shortcut Keys, just like in MS Word ?:

    I have script for the PythonScript plugin: pyscReplaceBackslashSequence.py, which I assign to Alt+\, which allows me to type something like \U+1F61E or \x{1F61E} or &#x1F61E; then hit my Alt+\ shortcut, and it will convert it from the codepoint / entity into the actual character (and it handles the surrogate pair calculation inside the script).

    Another plugin with similar functionality and a quicker setup is HTML Tag.

    Current versions can also (de/en)code Unicode scalars in the U+010000 to U+10FFFF range:

  • DSpellCheck 1.5

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    78 Views
    CoisesC

    I can’t follow the connection between the question you asked and your screenshots.

    I don’t understand why this happens. I have tried everything, it still highlights all English words and letters in red.

    To the best of my knowledge, DSpellCheck has no way of knowing what language a given word is “supposed to” be in. If you say to spell-check in Russian, it’s going to highlight everything that isn’t a Russian word. If you want it not to highlight English words, then you have to include English as a dictionary.

    If you expect it to somehow guess from your text which language it is in, and only spell-check when it is in Russian… I don’t think it can do that.

    (Note to other readers: the original poster has also raised issue #359 in the GitHub repository for DSpellCheck, which might get more informed and useful responses.)

  • 0 Votes
    11 Posts
    255 Views
    CletosC

    @PeterJones said in Where are new files (still unsaved by the user) stored?:

    If you have Session Snapshot enabled

    These settings I have:
    alt text
    https://i.imgur.com/yxx1Fhy.png

    Again, I reiterate: new 1 being preserved has nothing to do with the X: drive (unless you have someone set up Notepad++ to use the X: drive for its preferences and backup folder).

    Yes, I had understand. But I reiterate as well: if the back up file (without extension, with date, time being added) of new 1 is deleted when it is no longer available (e.g. when I close it in Notepad) and the same happens when new 1 is not available anymore because of the disconnected X: then, I would think, X: (indirectely) has to do with it (it is one cause (of maybe more / many for the issue) . Is probably a matter of interpretation, I guess, I understand what you mean. With the (new) setting on the screenshot it won’t happen again hopefully.

  • Child process control

    Help wanted · · · – – – · · ·
    4
    0 Votes
    4 Posts
    85 Views
    PeterJonesP

    @unal-mk ,

    I’ve never looked into the Ctrl+C behavior on NppExec. But there are some power-users of NppExec that sometimes read here, and even occasionally the author @Vitalii-Dovgan – so hopefully someone else will be able to help you with that.

  • 0 Votes
    2 Posts
    53 Views
    PeterJonesP

    @AUZAZURZ ,

    Sorry, no.

    Running the program in non-maximised window is not an option.

    Bummmer, there goes my first idea for a workaround. Do you have a reason why?

    here are some other potential workarounds:

    You could try using View > Distraction Free mode (you can assign a keyboard shortcut to it in Shortcut Mapper if you are frequently doing that toggle).
    a2393980-ca63-428e-9773-d0811dc4b7b5-image.png

    Or maybe if you turned on the second View – create a new empty file, then View > Move/Clone Current Document > Move to Other View, after which Notepad++ should remember that you want two views open – then the second view could be resized enough that your primary editing view was narrow enough for you.
    da314a65-7439-4f59-92cd-eae6ffc50483-image.png

  • New slogan for Notepad++

    Boycott Notepad++
    5
    1 Votes
    5 Posts
    3k Views
    J

    @AZJIO-AZJIO said in New slogan for Notepad++:

    No to US biological laboratories in the countries they occupied.

    No Guantanamo

    No political slogans.

    Notepad++, (and the forums by extension), should be focused on Notepad++, not the opinions, (objective or otherwise), of their respective owners.

    If you want to support the Ukraine, there are lots of ways, and lots of forums to do that within.

    If you want to support/oppose [whatever], start your own blog. Participate in forums that are dedicated to the causes you support, participate in your government, run for office, vote, just don’t whine.

    If you don’t like U.S. policies, and you’re a citizen of the U.S., then get off your fat ass and vote! (If I had one dollar for everyone who DIDN’T vote this last election, I’d be a bazillionare!) Participate in your government instead of sitting on the couch whining and moaning. If you don’t vote and don’t want to participate, then you don’t have a right to gripe and I don’t want to hear it.

    If you’re not a citizen of the U.S. - especially if you don’t live there - then you can write to the local Embassy, or talk to your own government leaders.

    Everyone else’s whining and moaning 2>&1 /dev/null.

  • Where's the Kudos thread?

    Boycott Notepad++
    1
    4 Votes
    1 Posts
    56 Views
    No one has replied
  • We are with Ukraine

    Boycott Notepad++
    1
    0 Votes
    1 Posts
    130 Views
    No one has replied
  • 1 Votes
    3 Posts
    123 Views
    ThosRTannerT

    @Coises Thanks. That works fine and have been able to test and update.

  • movement in apex legends

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    57 Views
    PeterJonesP

    @tom-p ,

    Notepad++ is a text editor. To edit text, you open the file, then start typing.

    The way you would make those changes in Notepad++ is the same way you would make those changes in any other text editor (assuming the changes can be made in a text editor), so there’s nothing that we can tell you that’s specific to Notepad++

    This forum isn’t about “apex legends”, so we don’t know the specifics about what the syntax is or what config-file changes you need to make in order to change the config for those commands. You would have to ask in an “apex legends” forum to find out what files hold those settings, whether those files are text-editable, and what specific values you would need to edit to get the behavior you want. Such questions are completely off-topic for this Forum, because such questions have nothing to do with Notepad++, even if you happen to be using Notepad++ as your text editor. (If this wasn’t quite enough explanation for you, read our FAQ about why such questions are off topic.)

  • Search with F3

    General Discussion
    8
    0 Votes
    8 Posts
    2k Views
    PeterJonesP

    @Hunder-Lily ,

    I don’t know whether this was a serious post, or whether it was just an attempt to spam the Forum with a video game link because the previous post from 2021 had been a spam to some other site (but not deleted, because the moderators back then weren’t as aggressive at anti-spam as we are now; I have rectified that).

    Just so you know, links irrelevant to Notepad++ and the on-topic discussion are not allowed in this forum (especially from brand-new users)

    However, if you are serious in this reply nearly 4 years after the discussion ended: Picture this: you are editing your complex code, and instead of closing the Search Results panel, you just click back into your code’s text panel – the same way you would if you were going to be typing new text – and suddenly, F3 goes back to finding the next match, the way you expect it to. It’s almost like Notepad++ (like every other text/code editing app I’ve ever used) is designed to have the keyboard shortcuts apply to the tab or panel that currently has focus. When you think of it that way, Notepad++ is behaving quite sensibly.

    Besides, if you are dealing with the Search Results from the Search Results window, then instead of doing an F3 (Find Next), which performs a new search from the current location, you should be using F4 (Next Search Result), which will move you to the next result in the active Search Results – and the F4 key, since it’s dealing with the Search Results, works whether your focus is currently in the Search Results panel or in the file-editing tab panel instead.

    And if you, like the original poster, were talking about the Find dialog itself, then you can either move the focus from the dialog to the editing tab, or you can use ENTER (like @Alan-Kilborn suggested 4 years ago)

    To sum up:

    If you want to deal with the recent results in the Search Results window, then F4 will move to the next result whether you have focus in the text-editing tab or in the Search Results window, If you want to deal with doing a fresh search with the most recent search expression (for example, if the contents of the file have changed recently), then F3 will work if the editing tab has the focus; and if the editing tab doesn’t have the focus (either because focus is in the Search Results or in the FIND dialog or in some other panel), then all you have to do is switch the focus back to the editing tab before hitting F3, and the focus will stay there through subsequent uses of F3. None of these options require closing the Search Results panel nor the FIND dialog box, despite the claims to the contrary.