• Notepad++ v8.3 crashing due to nppAutoIndentDetect.dll

    7
    0 Votes
    7 Posts
    2k Views
    PeterJonesP

    @clem-patafio ,

    @Michael-Vincent said,

    Resolved - https://github.com/Chocobo1/nppAutoDetectIndent/issues/5#issuecomment-1033939578

    This says that if you exit Notepad++ completely, go download the most recent nppAutoDetectIndent release 2.3, and put the new DLL overtop your old DLL, and restart Notepad++, it should fix your issue.

    (The author of the plugin has submitted the PR so that the updated nppAutoDetectIndent will be available in the next release of Notepad++ as well.)

  • 0 Votes
    2 Posts
    489 Views
    PeterJonesP

    @hellena-crainicu

    This forum is for Notepad++ questions. Your question has nothing to do with Notepad++: the answer will be the same whether you are using Notepad++, MS notepad.exe, or copy con. If you think “I am typing this with Notepad++, so it should be on topic,” then you haven’t read our FAQ which explains why that is a false interpretation, using the example of baking cookies.

    But I’ll give you a hint: on my machine, that HTML doesn’t display with bold characters:bec266e6-2703-494b-8566-8b69172090c7-image.png.
    (My guess is that it’s a font issue on your PC.)
    Further, the snippet you showed has no characters outside of the ASCII range, so it doesn’t matter whether you have set charset="iso-8859-1" or charset="utf-8". If you do understand why having no characters outside of the ASCII range necessarily implies the “so…” part of my previous sentence, you need to go find a better tutorial on character encodings and HTML, because you obviously don’t understand the technology you are working with sufficiently. If you still don’t understand, you will have to find a forum that’s about HTML and web formatting, not one for a particular editor, and ask there. The Notepad++ Community Forum is not the right place for further discussion on this.

    You can even use Notepad++ to prove to yourself that it doesn’t matter which charset you pick, given the data you showed:

    FIND = [^\x20-\x7e\r\n] – this will find any character that is not between ASCII 32 (0x20) and ASCII 126 (0x7E), or not a CR or LF newline character. COUNT

    In your snippet, it finds 0 characters outside of that range. That means there is nothing in that snippet which is not ASCII, and thus nothing that will be different between ISO-8859-1 and UTF-8.

    9427fef9-7617-4935-8594-aad16725f4a4-image.png

    OTOH, if I add the characters ÀÁÅËË and do the COUNT again, it now counts 5 matches in the file, for those five characters.

    00008f65-c2ff-45c9-bfa9-8afb14c07f06-image.png

  • 1 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @paolo-linx

    If you look at the RELEASE NOTES for 7.9.3, specifically point 17, you’ll see that in this version a change was made.

    Unfortunately, it seems that this change did not work for all users, so it was reverted in the next version; see THESE RELEASE NOTES for 7.9.4, point 2.

    All this tracks exactly what you’ve said.

    Unfortunately Notepad++'s DPI problems continue to this writing, with no global resolution that works for all. :-(

  • /D=%ProgramData%\Notepad++ not working

    15
    0 Votes
    15 Posts
    1k Views
    xomxX

    @mpheath said in /D=%ProgramData%\Notepad++ not working:

    I do not see how you got C:\TEMP for the 1st messagebox

    I described the sequence of the $INSTDIR assignment in my patch Notes too: ; - before .onInit is executed, $INSTDIR has been preset by the InstallDir attribute ; - then if the value defined by a possible InstallDirRegKey attribute is valid, it overrides original InstallDir ; - finally, if the user used "/D=..." at runtime (at installer cmdline), $INSTDIR has been changed to that parameter before .onInit
  • Weird editor behaviour

    5
    0 Votes
    5 Posts
    722 Views
    mpheathM

    @peterjones said in Weird editor behaviour:

    Maybe someone who can see your video will be able to give insight.

    I could not see the video yesterday, though today I could.

    The highlighted text dances with a shifting move of 2 characters, every couple of seconds. It is like an inline selection rather than a block/column selection.

    @savornicesei

    I cannot reproduce, though perhaps I may not have the same version. Can you post your debug info from the ? -> Debug Info... menu option.

    What I would try is to run Notepad++.exe -noPlugin command and see if the issue can be reproduced. If not, then a misbehaving plugin might be the issue.

    You could download and try a portable version and try to reproduce the problem.

    These ideas might help to narrow down the cause.

  • Change Text Highlight colour

    3
    0 Votes
    3 Posts
    906 Views
    JulesGervaisJ

    Thank you for the tip. Appreciated and now fixed.

  • text-highlight file extensions

    6
    0 Votes
    6 Posts
    567 Views
    rdipardoR

    It might work better if you prefix every extension with a dot (and get rid of the free-standing dot):

    <Keywords name="Operators1">.txt .asc .bin</Keywords>

    That seems to force an exact match:

    file_ext_hl_edit.png

  • Replace strings with specific lines content

    4
    0 Votes
    4 Posts
    315 Views
    Alan KilbornA

    @andres-garzon said in Replace strings with specific lines content:

    is there any way to put all these steps into a macro?

    IMO it would be insane to try to record that as a macro, or to even hand-edit a macro to try to do it.

    I wouldn’t have written to just say that though. I wanted to point out a specific thing as I look over the list of what Guy gave you.

    I see:

    Click on the Copy Marked Text button

    I’ve noticed that this button on the Mark window isn’t macro-recordable. :-(

    But… happily, this is the equivalent command and it IS macro-recordable:

    d8be9717-a3e2-48c5-8a07-39be38dd4e02-image.png

    As to the rest…good luck with the macroizing!

  • Secondary branches in the Function List Panel

    2
    0 Votes
    2 Posts
    492 Views
    PeterJonesP

    @kiyn ,

    The function list has one level for classes with a sub-level of functions below it, and functions not in classes go at the top level. You cannot go any deeper than that. The top-level filename root node is unchangeable.

    7c0bc437-151d-4e24-b9c8-e98f50a19143-image.png

    UserManual Function List description: https://npp-user-manual.org/docs/function-list/ Community FAQ: Function List Basics: https://community.notepad-plus-plus.org/topic/19480/faq-desk-function-list-basics
  • XML Plugin - Pretty Print

    5
    0 Votes
    5 Posts
    31k Views
    dinkumoilD

    @tiago-jorge

    … and for the records: I guess XML Tools plugin’s option Apply to all open files (available via the plugin’s menu entry) has caused this issue.

  • Execute the Current File in its ASSOCIATED Program

    5
    0 Votes
    5 Posts
    2k Views
    guy038G

    Hello, @dennis-bareis, @peterjones and All,

    Dennis, in order to open various text files with their default program ( Notepad for Windows OS ) you may also use the built-in N++ option File > Open in Default Viewer

    Once opened in N++, I could even opened a PDF file and an 7z archive by this means !

    The PDF file correctly opened, in my Microsoft Edge software, thanks to its built-in PDF viewer function

    The 7z archive correctly opened in my 7zFM Manager program

    However, the File > Open in Default Viewer option is greyed out if you try to open any picture ! Luckily, with the @peterjones method, it correctly opens the pictures in the default picture viewer : Photos !

    Best Regards,

    guy038

  • Version 8.2.1 problem with typing aide

    2
    0 Votes
    2 Posts
    524 Views
    PeterJonesP

    @nicholas-piazza said in Version 8.2.1 problem with typing aide:

    I could then just hit ENTER to complete the word. Now, when it displays the word, if I hit ENTER, the word is not filled in. Instead, a new line is created. It seems like something was broken in the update.

    If one read the release notes with every upgrade, instead of ignoring/closing that tab that shows every time you upgrade, one might have noticed this feature was changing.

    It was a design choice, because many users were complaining that when they hit enter, instead of creating a newline like would be naturally assumed, it would autocomplete to some word they didn’t want.

    The problem was that the original design defined both TAB and ENTER as the auto-completion selection key, and some people got used to one key, and some to the other – and both were annoyed that the other key was also consumed.

    In v8.2.1, they decided to make it configurable, … but default it to only accept TAB (and you could add back in or change to ENTER via the config box)

    … but that just confused people who were used to the ENTER key for ending auto-complete. So in the next version (8.3.x or 8.4, whatever it will be called), it will go back to default of having both of those checked on, and those of us who only want one key to end autocomplete instead of two will have to go make the config change.

    Please reply to this question to nickajp@comcast.net as I do not normally monitor my Google email address.

    Nope. We reply in the forum. When you signed up, if you enabled notifications, the notificatinos will go to whatever you set up in the settings. But if you want to read the response, you have to read it in the forum.

  • 0 Votes
    13 Posts
    5k Views
    Hellena CrainicuH

    @guy038

    I made a change to @guy038 regex formula, as to modify something else.

    So, If someone wants to convert the first letter of the first word at the beginning of <title> tag, from lowercase to a capital letter:

    Use this regex:

    FIND: (<title>)(.\W*)
    REPLACE BY: \1\U$2

  • Copy entire line without selecting it?

    14
    0 Votes
    14 Posts
    21k Views
    Alan KilbornA

    I updated a script method for doing this HERE.

  • Update to v8.2.1 disregards user dictionary

    4
    0 Votes
    4 Posts
    362 Views
    James F. PasquiniJ

    This probably should be a new topic, but…

    Thinking about the user dictionary. Some time ago one could open it with MS Notepad and delete the lines that had the typos… BUT you had to make sure for every line you deleted, you deducted one from the total line count. Save the file and exit Notepad, then open NP++ and you were set. For the life of me, I cannot remember which file it was. That editing was possible 2(?) years ago. Is it still possible?

  • Last session is gone after plugin install/update

    4
    0 Votes
    4 Posts
    313 Views
    PeterJonesP

    @daniel-duarte ,

    Yes, the Notepad++ developers have no control over what atrocities that particular site impose on the product, and I make no guarantee as to whether that monstrosity will function or be safe.

    Fortunately, the official download site already has a portable version, so there is absolutely no reason to download their mutation.


    I may have allowed personal opinion to affect this post. My opinion is my own, and is not meant to be understood as the opinion of the Notepad++ developers or this Community Forum. While this opinion applies to that aforementioned site, and what they do to software, especially Notepad++, I have not formed or expressed an opinion on the person or people responsible for that site.

  • HTMLTag 1.1 Plugin broken since NPP 7.7

    3
    0 Votes
    3 Posts
    1k Views
    rdipardoR

    @oddmlan,
    if you’re still using HTMLTag (or just curious to try it again), there’s finally a new version that addresses this issue: https://bitbucket.org/rdipardo/htmltag/downloads

  • Find in File use entered path (case insensitive)

    9
    0 Votes
    9 Posts
    876 Views
    gstaviG

    @PeterJones
    Follow current directory is part of “be careful with your cases”. It seems to work, probably since Windows open file dialog fixes it. Not sure exactly what will happen over SAMBA share if there are actually case conflicts.

    RightClick > Current Dir Path to Clipboard - doesn’t work. If a file was opened as described, from Find-in-Files with bad path case, Notepad++ just copies the wrong-case path it registered for the file.

  • Unnecessary characters in text editing

    5
    0 Votes
    5 Posts
    359 Views
    Б НовостиБ

    The problem is solved! Thanks!
    in the plugin NppCalc - removed activation “Active Calc”

  • Manually merge results with "compare" plugin?

    2
    0 Votes
    2 Posts
    746 Views
    PeterJonesP

    @powerbananas ,

    The Compare plugin knows nothing about nicknames. So I’m not sure what you think currently works and what you are hoping it would do that it doesn’t seem to.

    Could you show some example data, and a screenshot of how the Compare currently functions, then describe how you’d like it to actually function?