• 0 Votes
    7 Posts
    883 Views
    Lycan ThropeL

    @Neko_Kaioh said in Plugin/Script to clean up text noise?:

    Yeah, I used that one. Theres nothing on the file that I need to worry about, but it doesnt tell me anything I personally can use.

    "File Type: MSX Graph Saurus compressed image

    MIME Type: application/octet-stream;
    Suggested file extension(s): bin lha lzh exe class so dll img iso"

    So, if anyone reading this happens to know a program or two that I could try to view the file properly, I’d be very grateful.

    At best, you could use the Hex Editor plugin, however, from the information and this discussion so far, it is apparent that your abilities will be taxed, since you can’t tell when a file is binary or not, just by looking at it. If it’s like the file on the left that @PeterJones showed you, I noticed right away the first two letters in the file, PK, and to me that looks like a PKWare file, meaning it’s compressed at best, as matches your description of the file type that web site told you it was. That’s a compressed graphic file, meaning it’s encoded and at this point, I don’t see you having the skill set necessary to use a Hex Editor and be able to debug/decrypt a file.

    Your best bet it to use the file in an application that generated it, and you can do that on your own by using that ubiquitous tool, Google, and putting that file type in the search terms and follow all the links you can until you find a tool that you can use to open that file with so that it can be played, viewed or whatever it is that it is designed to do. As @Terry-R has suggested, we can’t help anymore than this.

  • 0 Votes
    2 Posts
    308 Views
    Alan KilbornA

    @Gordon-Goodfellow said:

    ALT+SHIFT+F,

    The default for Find in Files is Ctrl+Shift+f, not Alt+Shift+f.

    So is there a way of doing this over multiple folders

    Well, if the files are all in one parent “tree”, just specify to top-level in the Directory box and checkmark the Include subfolders checkbox.

  • 0 Votes
    4 Posts
    659 Views
    Alan KilbornA

    @Terry-R said:

    PeterJones had this post, where he suggests making the change in a different way.

    Hmm, that post is about adding, not removing.
    If you try to remove via the GUI, you’ll find that the Default ext.: edit box is disabled, meaning you can’t change it.
    I suggest following the @Ekopalypse advice above.

  • 0 Votes
    2 Posts
    288 Views
    Terry RT

    @d-wright

    I presume you are wanting to do things like right-click on files and open with Notepad++ instead of Notepad.

    Details are in the online manual, referenced from the ? menu option, then Notepad++ online user manual.

    The actual section is here.

    Terry

  • EDITING FILES

    Help wanted · · · – – – · · ·
    8
    0 Votes
    8 Posts
    973 Views
    PeterJonesP

    @Рома-Смирнов ,

    When I followed @mkupper’s suggestion of searching the internet for your filename, I was able to see that the name wallet.json is often used for the storing secrets or backups for things like banking apps or for backing up your blockchain wallets – and that the latter often have encryption mechanisms built into their apps for encoding/decoding (because you really don’t want your blockchain secret key to be visible to anyone with a text editor), so it wouldn’t surprise me if the former kind of app did something similar. You should read the documentation for whatever app/blockchain you are using, to see how to read/decrypt those files. But in general, it’s doubtful that the intention is for them to ever be human-readable. (And, IMO, they should not be abusing the JSON file extension by claiming their files are JSON if they are, in fact, encrypted and not plain-text JSON; but this parenthetical is just my opinion.)

    And if you are trying to get us to help you decrypt someone else’s online wallet, please understand: doing so, or us helping you do so, is highly illegal in all jurisdictions I have ever heard of, and immoral no matter what jurisdiction you are in. If instructions were ever posted here on how to help someone break into an encrypted wallet, they would be deleted/purged immediately, and the person posting those instructions would be banned permanently from this Forum.

  • 1 Votes
    2 Posts
    279 Views
    L

    @Arthur-Hodgett Notepad++ does not have a default setting that automatically converts NBSP to normal spaces on paste. If this behavior started suddenly, consider if any plugins or external clipboard managers might be interfering?
    You likely have not changed a Notepad++ setting. The issue is probably due to clipboard handling or how OpenOffice copies NBSP to the clipboard. ? As in my screenshot example try dragging the highlighted NBSP over to Notepad++ and see if it works.
    nbsp.gif

  • About the N++ v8.8.1 release...

    General Discussion
    2
    2 Votes
    2 Posts
    490 Views
    L

    @guy038 Excellent! Thanks for the lists…

    By the way, after months of trying all sorts of tricks to successfully encode the ÿ character to Hex in a UTF-8 encoded page, I realized that I had to initiate a Windows-1252 page first. And then it successfully converted the PNG to Hex. lol.
    The NUL bytes (\x00) were problematic as well because unless they get loaded into a raw binary state, they usually get converted to spaces (20) . So I get it now. ITS A TEXT EDITOR! … but at least Windows-1252 gives me a work-around for bytes 0x00–0xFF
    And then of course there’s Base64 to save the day!

    Lastly, I copy and paste a lot of binary content , so thanks for IDM_EDIT_COPY_BINARY 42048

    Cheers
    Lance

  • Hash errors installing Analyse plugin

    Notepad++ & Plugin Development
    2
    0 Votes
    2 Posts
    264 Views
    mkupperM

    @D-V, please post your Notepad++ debug info. I tested installing the Analyse plugin and it installed without any errors on Notepad++ v8.8.1 (64-bit) and also Notepad++ v8.8.1 (32-bit).

    You get the debug info from Notepad++'s ? / Debug Info ... menu.

    To post your debug info here in the community forums use </> on the forum’s menu bar and then replace the code_text that </> generates with the debug info.

  • 0 Votes
    4 Posts
    494 Views
    PeterJonesP

    @Ron-Zarnick said in Selection of Appropriate NetPad++ and Plug-In Installation:

    I downloaded and installed the current version as you suggested. … However, I have not found a method to access either one as nothing appears on my desktop for Notepad++.

    If you ran the Notepad++ installer after you downloaded it, then it should be installed. I thought it would put an icon on your Desktop (but it’s been a while since the last time I installed it on a new computer, so maybe it doesn’t do that, or maybe you were able to tell it to not do that). But even if it’s not on your Desktop, it should be available in your Windows Start Menu. [*] You can run it from there. Or right-click on a file and choose Edit with Notepad++. Once you run it, you can pin it to your task bar.

    If it’s not anywhere in your Start Menu, then I don’t think you actually ran the installer after downloading it. Go to your browser’s Downloads directory, and run the installer from there.

    [*: In Windows 11, it might show up on the main part of the Start Menu, since it’s a new/recently-installed file. If not, click on All in the Start Menu, then scroll down to Notepad++ in the N section. You can Right Click and Pin to Start to get the Notepad++ icon to stay in the main Start Menu area.]

    I also downloaded the offline user manual. … I am guessing the offline manual can be accessed only through Notepad++

    Nope. The offline user manual is a zipfile (nppUserManual.zip) containing HTML. You unzip it into whatever directory you want, then open the index.html with your favorite browser. It is not integrated with Notepad++ in any way. In Notepad++, the ? menu has a Notepad++ Online User Manual link which goes to the online webpage, but since it has no clue where you unzipped the offline user manual (or even if you have downloaded and unzipped it), and since Notepad++ has no integrated HTML renderer, it doesn’t integrate with it. (You could, of course, use Notepad++ to look at the HTML source of the offline user manual, if you were so inclined, but it wouldn’t be like looking at a webpage in your browser.)

  • verbesserungsvorschlag

    General Discussion
    2
    0 Votes
    2 Posts
    292 Views
    PeterJonesP

    @Alexander-Huckel ,

    Sorry, I am not sure about the automatic translation of your question: do you mean auto-correction, where it fixes spelling? Or auto-completion, where it helps you type programming keywords or other terms already found in your document?

    The latter is native to the app, described https://npp-user-manual.org/docs/auto-completion/ in the manual , and controlled by the settings described https://npp-user-manual.org/docs/preferences/#auto-completion

    Spelling correction is not implemented natively in Notepad++, but the DSpellCheck plugin is highly recommended for doing spell check and suggesting corrections.

  • No text on selected line

    Help wanted · · · – – – · · ·
    18
    0 Votes
    18 Posts
    5k Views
    E

    I had the same issue but didn’t investigate the involvement of plugins. The issue appeared after changing the Dark Mode to “Follow Windows”.

    After switching the preference back and forth and restarted Notepad++, the issue was fixed.
    Steps: Settings > Preferences > Dark Mode > Light mode / Dark mode / Follow Windows > Restart Notepad++

  • How to disable the suggestions

    General Discussion
    4
    0 Votes
    4 Posts
    562 Views
    Lycan ThropeL

    @Sergio-Bonfiglio ,
    Sorry, don’t have the time to research and provide an answer that is obvious after reading the documentation.

  • Insert sequential numbers at start of lines

    General Discussion
    32
    0 Votes
    32 Posts
    16k Views
    deleeleeD

    @Alan-Kilborn said in Insert sequential numbers at start of lines:

    editor.replaceLine(line_nbr, '{n}) {c}'.format(n=chr(96+running_line_nbr), c=line_content))

    Thank you! I had tried editing that line myself but I didn’t quite get it right. It’s all good now thanks to you 😁

  • 0 Votes
    4 Posts
    596 Views
    xomxX

    There seems to be such a code-folding regression in N++ v8.7.8, for more info and possible future fix watch the issue #16597.

  • 2 Votes
    116 Posts
    178k Views
    Mark OlsonM

    @Alexander-Vorobyov

    It will be easier for others on the forum to help you if you share debug info (?->Debug Info from the Notepad++ main menu).

    I seem to recall that the specific problem of Notepad++ overwriting files with a lot of NUL characters was fixed a long time ago, but I’m not super familiar with this topic.

  • 0 Votes
    2 Posts
    270 Views
    PeterJonesP

    Closed as duplicate of this post – replies will be there.

  • 1 Votes
    5 Posts
    593 Views
    HeyImAName HeyImALastNameH

    @Alan-Kilborn said in Help with a... distant replacement?:

    @HeyImAName-HeyImALastName

    Wow, that is really non-trivial.
    But I’d say to try starting with this regular expression replacement:

    Find: (?-s)^(\t*"(.+?)": "\$\[{2}.+?\]{2}).+?,
    Replace: ${1}$[["${2}"]]",

    Wow, that looks like absolute gibberish to me, I can’t decipher it in the slightest. But I tried it and it worked perfectly! Thanks for your help, and everyone else who replied.

  • 0 Votes
    5 Posts
    558 Views
    Tom StephensT

    @Terry-R

    Thank-you Terry, I turned of the option for DrictWrite in the rendering, and now i can see my documents.

    Such a strange option to give me a problem after so may years of using notepad.

    Have a great day!

  • 0 Votes
    11 Posts
    10k Views
    notdodgeballN

    @PeterJones said:

    I concur. Has anyone ever asked for (specifically) not touching sessions.xml when -openSession/File > Load Session… is active?

    No, not really, its a shame.

  • Language selected on the installer for default

    General Discussion
    3
    0 Votes
    3 Posts
    424 Views
    Raul FreijeR

    @PeterJones
    Thanks for your repply
    I will atach a sreenshot

    3e05d86f-fc09-424c-a743-71c92017854a-imaxe.png

    But when i select a language and i setup it the next tine that i setup the program check automaticaly the last language that i checked for use in these language
    If i setup the program as default the language doesn’t install other languages

    f8823f0d-ec36-4a2a-8903-870485201a1a-imaxe.png