• Crash upon opening any file after a manual upgrade from 7.8.9.0

    6
    1 Votes
    6 Posts
    406 Views
    Mateos81M

    Good afternoon,

    Just a bit of news;

    I’ve submitted a pull request and it got merged in with a version bump, so it’s available to all through the Plugins Admin!
    https://github.com/Megabyteceer/npp-task-list/pull/13

  • Issue with autocompletion - comparing 7.3.3 and 8.3

    7
    0 Votes
    7 Posts
    2k Views
    Mateos81M

    Thank you everyone ^^

    The .xml file name has to match the UDL name, but inside it the language field is purely descriptive (see https://npp-user-manual.org/docs/auto-completion/#auto-completion-file-format)

    Next time I’ll try to be more verbose and explicit on my posts to be precise when it comes to reproduction steps

    Really appreciate all you’ve done over the past days!

  • Autocomplete error after version 8.3

    4
    0 Votes
    4 Posts
    435 Views
    Laura Ess 0L

    @michael-vincent
    Thank you, that worked! I did try searching the community posts but this is the first time I’ve used it and got a bit lost. Thanks again.

  • How to disable txt syntax automatic checking?

    6
    0 Votes
    6 Posts
    2k Views
    oa klkO

    @michael-vincent @alan-kilborn

    notepad++2.png

    I close the txt file and reopen it, now I cannot reproduce the issue.

    But before that, if I just close notepad++ and reopen notepad++(not close txt file and reopen txt file), I got the issue every time.

    In the bottom, it shows that it is a user defined language file, I don’t know why.

    Notepad++ v8.2.1 (32-bit)
    Build time : Jan 19 2022 - 18:38:49
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2009
    OS Build : 19042.1466
    Current ANSI codepage : 1252
    Plugins : DarkTheme.dll mimeTools.dll NppConverter.dll NppExport.dll XMLTools.dll

  • Locate and insert new value

    4
    0 Votes
    4 Posts
    468 Views
    Alan KilbornA

    @guy038 said in Locate and insert new value:

    I"m surprised and don’t understand your regex replacement

    I don’t understand it now either.
    For some reason I thought OP wanted to insert the ssn tag and value!
    Oops.

  • ctrl+f #/count

    5
    0 Votes
    5 Posts
    2k Views
    stanl33kS

    @alan-kilborn said in ctrl+f #/count:

    You can hope, but it has a better chance if you make a real feature request out of it; see HERE for how to do that.
    Probably it doesn’t stand much of a chance, though, IMO.

    pls
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11118

  • 0 Votes
    3 Posts
    699 Views
    nrh_10_2022N

    @peterjones said in Changing the closing tag on a XML file, so it matches the opening tag, with notepad++ -:

    FIND = (?s)wp:postmeta-ingredients.*?\K</wp:postmeta>
    REPLACE = </wp:postmeta-ingredients>
    SEARCH MODE = Regular Expression
    REPLACE ALL (because of \K, hitting REPLACE multiple times will not work)

    Ehh, wow, fast and correct answer, worked like a charm.
    Super impress of the quality here.

    Thank you so much Peter :)

  • Compare Plugin isn't working

    3
    0 Votes
    3 Posts
    5k Views
    Angelblue1852A

    @peterjones Thank you. It’s working now :)

  • Menu font size and coloring

    1
    0 Votes
    1 Posts
    281 Views
    No one has replied
  • Update crash : How do I manually remove Npad++

    4
    0 Votes
    4 Posts
    871 Views
    PeterJonesP

    @john-molyneux ,

    Gnu Octave is a completely different program than Notepad++, and has nothing to do with the Notepad++ project. It may have its own plugins directory, but that has nothing to do with Notepad++. If Octave bundles a Notepad++ copy with their distribution (which they are legally allowed to do, based on the LICENSE), then maybe there really is a Notepad++\Plugins directory there. But that would mildly surprise me (and some quick poking at Octave’s site doesn’t show me any obvious reference from Octave to Notepad++).

    Those .tmp files and rar folders likely have nothing to do with Notepad++.

    I think you’ve done a lot of mucking around, and you are in a strange situation. We are not generic tech support / Windows support, and if you are having problems at bootup, and if you don’t have Notepad++ left on your machine, then the problem is a Windows problem, not a Notepad++ problem. I don’t know how you got to where you are, but I don’t think we can help you out of the mess you’re in now.

    Sorry to not have better news for you. Good luck.

  • Multi to single selection after tab switch

    4
    1 Votes
    4 Posts
    386 Views
    M Andre Z EckenrodeM

    @peterjones said in Multi to single selection after tab switch:

    this points to it being an implementation-detail/feature/bug of Scintilla 4.46, not of Notepad++ itself.

    Sounds logical to me.

    @alan-kilborn said in Multi to single selection after tab switch:

    If that behavior really bothers you (I don’t get the feeling it does – all that much)

    Nah — not so far, anyway. This was probably the first time I’d ever switched tabs immediately after creating a multi-selection.

    I’m thinking this may warrant mentioning as a limitation in the docs, though.

  • Auto-quit with ">"

    3
    0 Votes
    3 Posts
    384 Views
    Michael VincentM

    @aliyah-lee said in Auto-quit with ">":

    Every time I try to type in a closing angle bracket “>” (meaning I have to press SHIFT + .) the program shuts down, making it impossible to use this program for XML,

    This is a known issue. It will be fixed in the next release. You can either downgrade now or replace current notepad++.exe with the artifact from the linked commit.

    Cheers.

  • Notepad crashes while coding in HTML

    3
    0 Votes
    3 Posts
    532 Views
    Michael VincentM

    @aditya-samaddar said in Notepad crashes while coding in HTML:

    While typing the code, whenever I try closing a HTML tag, it just crashes.
    Don’t know what more to say. Hope you can help

    This is a known issue. It will be fixed in the next release. You can either downgrade now or replace current notepad++.exe with the artifact from the linked commit.

    Cheers.

  • Plugin window font is very faint - 4k display res issue?

    3
    0 Votes
    3 Posts
    257 Views
    Mr-BrunesM

    @mr-brunes Hmm, the attached image displays clearly on mine but may be because it’s much larger than real size!

  • How to add external modules for python and autocompletition

    4
    0 Votes
    4 Posts
    1k Views
    mpheathM

    @usul

    Could generate the autocomplete file with gen_python_3_api.py. Requires Python 3 obviously.

    Download gen_python_3_api.py from this repository. Copy gen_python_3_api.py to an empty directory for the operation. Run this command from the directory containing gen_python_3_api.py:
    "%ProgramFiles%\LibreOffice\program\python.exe" "gen_python_3_api.py"

    Notice the command will run Python built into LibreOffice, not the Python that you may have installed separately. If you want autocomplete from the Python installed separately, then run the script with that Python instead.

    Multiple files will be created. The files that are not xml are for SciTE. The main file for the Notepad++ autocomplete is python3.xml.

    Recommend to read the docstring at the top of gen_python_3_api.py which has some instructions and other useful information. A couple of different ways to setup into Notepad++.

    You could replace the original autoCompletion\python.xml with the content of python3.xml which replaces Python 2 with Python 3 as default for autocomplete. Do backup the original file before doing this. The file userDefineLang_python3.xml has keywords within that you may need to update in the Settings -> Style Configurator menu.

    Or you could copy userDefineLang_python3.xml into the userDefineLangs folder and copy python3.xml into the autoCompletion folder. This will display in Notepad++ as a UDL in the menu Language -> python3. This is not going to be so intergrated as the previous option with builtin theming and the other features.

    The python3.xml file will be quite large at approximately 960KB, though here is an excerpt of a uno function entry:

    <KeyWord func="yes" name="uno.invoke"> <Overload descr="[function] Use this function to pass exactly typed Anys to the callee (using uno.Any)." retVal=""> <Param name="object"/> <Param name="methodname"/> <Param name="argTuple"/> </Overload> </KeyWord>

    Tested with LibreOffice 7.1.7.2 which has Python 3.8. I am the author of the gen_python_3_api.py script so I should be able to help here if any on-topic questions are asked about this script, otherwise suggest to discuss at the repository.

  • Replace multiple texts with other multiple texts

    4
    0 Votes
    4 Posts
    269 Views
    ric12gR

    @alan-kilborn Works perfect! Thanks a lot!

  • Where are the opened files data saved?

    6
    0 Votes
    6 Posts
    2k Views
    Pessimist KaiP

    @neil-schipper No, I think this is just what I needed. Thank you! :)

  • 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
    486 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. :-(