• html: double closing tags

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Meta ChuhM

    @JJJoseph

    we are glad you got it running again. 👍

    Seems counter-intuitive, since the default is one closing tag included

    this is not a default notepad++ behaviour, but maybe you have an extra notepad++ plugin installed, that is capable of auto-completing closing tags, so if both engines are enabled, you will get two closing tags.
    (i think this seems to be the most logical reason)

    but as long as just one of the 2 installed auto-closing tags features is enabled, you are good to go.

  • Special Unicode not displayed: Two Different Computers, Same Font

    Locked
    2
    0 Votes
    2 Posts
    508 Views
    Meta ChuhM

    welcome to the notepad++ community, @nopunin10did

    i am not sure if it works for your case, but here’s a first thing you can check:

    compare the following on both of your windows 10 x64 machines:

    open control Panel (all control panel items) > fonts --> font settings
    and compare the option hide fonts based on language settings on both machines.
    (usually hide fonts based on language settings should be disabled)

    here’s a screenshot:

    if you make any changes to these settings, please reboot to make sure they will be activated.

    good luck.

  • HTML spell check

    4
    0 Votes
    4 Posts
    690 Views
    Eko palypseE

    @Adriano-Ellero

    there are a couple of JS plugins - aren’t non of them useful in such a case?
    What about JSLint?
    Could you use it as some kind of proxy script?

  • my run mean does not contain any launch in browser options

    Locked
    6
    0 Votes
    6 Posts
    6k Views
    Meta ChuhM

    @Nay11111

    i’m glad to hear it’s working, you are welcome.

  • auto-ident on html page does not work

    6
    0 Votes
    6 Posts
    1k Views
    Meta ChuhM

    glad it works for you, @Adriano-Ellero 👍

    latest version 32bit
    now Indent by fold works
    after creating IndentByFold folder within plugins one, and copying the dll file inside IndentByFold folder.

    what i still don’t understand is, why you had to create any folders or did a manual install, because on the latest notepad++ 7.6.3 32 bit, or following my instructions, you just go to plugins > plugins adminsearch for fold, select “indent by fold” or any other available plugin, and press install, like seen at the screenshot below.

    Imgur

    I have to code huge file in HTML and SVG tags. HTML works selecting HTML language. For checking SVG code I have to pass to XML language.
    Is there a way to combine both languages?

    i don’t know if an udl (user defined language) which combines both has already been made yet, as i don’t work with svg.

  • UDL: Overloaded folding close keywords

    Locked
    10
    2 Votes
    10 Posts
    2k Views
    Meta ChuhM

    @rossjparker

    But I did find what appears to be the perfect solution by trial and error. Use single quote characters (’) to specify multi word open/closing folding in markers instead of double quotes (").

    nice find (i’ve just tried out your solution) and very embarrasing that i did not try that (') out beforehand 🤭

    thank you for your own, working solution and for sharing. 👍
    if you like, stick around here in the future, either for casual reading, or to participate on anything of interest to you. you are always welcome.

    greetings, meta chuh

  • Replacing values in multiple documents all with different values

    Locked
    5
    0 Votes
    5 Posts
    897 Views
    Alan KilbornA

    @Meta-Chuh said:

    but you are getting better

    …and that is long overdue

  • Autocompletion with MyClass.myFunc

    Locked
    4
    0 Votes
    4 Posts
    715 Views
    Jim DaileyJ

    @m-c0de

    I think that after you select MyUtils, you will have to type a period for the autocomplete to begin suggesting things that begin with MyUtils.. Other than that, I would expect it to work as you desire.

    I don’t think size will be a problem for you. My “C” auto-completion file is almost 3.5 Megabytes and works very well. Currently it includes 3230 UEFI function definitions extracted from .h files and 463 keywords! Obviously I didn’t do this by hand; I wrote an AWK script that I use to generate a new (updated) auto-completion file periodically.

    Keep in mind that you have to keep the entries sorted alphabetically. If you get something out of order, then you may never see a portion of your entries (but you will not get any kind of error message).

  • batch function - need to add filename at the end of each paragraph

    11
    0 Votes
    11 Posts
    5k Views
    Meta ChuhM

    @Terry-R @guy038 and all

    @Terry-R: I think at this point we await a reply from @Marina-Susan on whether any of our solutions has helped, or whether she wants to supply more examples so we could (better) help her.

    i second that, and i guess this thread became another “after work” playground of ours 😉
    albeit some of those playgrounds for regulars, have been very productive lately, due to a higher, non simplified, level of information exchange 👍

    i hope @Marina-Susan does not mind (@Marina-Susan you can kick in with any questions anytime)

  • 0 Votes
    6 Posts
    3k Views
    Meta ChuhM

    @Barry-Bluefeld

    intriguing, pasting rtf to write usually works on all systems.
    i’m sorry to hear that not even write.exe worked for you.

    please try one more quick thing, before you file an issue report at the link at the bottom of this post.
    just to make sure that notepad++ is able to correctly export formatted content to your clipboard at all.

    close notepad++ if it is open

    download this pre-built portable notepad++ npp.7.6.3.bin.zip from >>> here <<<.
    (this is a portable, ready to go version for testing. it works completely isolated from, and independent to your current notepad++ installation and independent to all your plugins. it already includes nppexport, and helps to eliminate any problems caused by your current installation)

    extract npp.7.6.3.bin.zip onto your desktop and open the resulting folder npp.7.6.3.bin

    double click on notepad++.exe to run this

    open any of the files you have tried before, select any part of it, and try to use plugins > nppexport > copy rtf to clipboard again.
    note: there should not be any error messages at the right bottom of the screen, or anywhere else, while doing this

    paste it to write.exe

    if pasting rtf to write does not work now, there’s a possibility that some problems of your windows installation is causing this behaviour.

    if you want to file an issue report, or contact one of the plugin’s developers, please visit this address:
    https://github.com/chcg/NPP_ExportPlugin/issues

    please keep us informed about any success or failure.
    especially as i have not been able to reproduce this behaviour on windows 10 pro x64 and windows 7 pro x64 using nppexport to rtf/html and pasting to ms word 2010-2016

  • HTML files wont open in Chrome

    5
    0 Votes
    5 Posts
    17k Views
    Giuliano GarauG

    Hmmm, odd. It works now. I did the same thing (copy the path ot chrome.exe) yesterday and it worked by ONLY opening Chrome and not the html page inside the browser.

    Yeah, actually chrome is not located in either of them. Im using Windows 10 64bit.

    Chrome.exe was actually located here:
    C:\Users\fine\AppData\Local\Google\Chrome\Application

    Here is my debug info:
    Notepad++ v7.6.3 (64-bit)
    Build time : Jan 27 2019 - 17:16:47
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

    Anyway working for now, hope it will keep working otherwise I will be back . Thanks Meta Chuc :)

  • regex: find two different strings on two consecutive lines

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    guy038G

    Hello, @vasile-caraus, @eko-palypse and All,

    Here is, below, a similar regex S/R, with a look-ahead structure, which, also, preserves the indentation of the two lines, involved !

    So assuming the sample text, below :

    <p>&nbsp;</p> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_1"> <p>&nbsp;</p> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_2"> <p>&nbsp;</p> <p class="text_obisnuit">

    If we use :

    SEARCH (\h*)<p>&nbsp;</p>(?=\h*\R\h*<p class="text_obisnuit">)

    REPLACE \1<br><br>

    the above text becomes :

    <br><br> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_1"> <br><br> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_2"> <br><br> <p class="text_obisnuit">

    With the previous regex S/R, we would have obtained :

    <br><br> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_1"> <br><br> <p class="text_obisnuit"> <p>&nbsp;</p> <p class="text_OTHER_2"> <br><br> <p class="text_obisnuit">

    Note, also, that this new regex S/R works, whatever the line endings ( \r\n for me and \n for you )

    Best regards,

    guy038

  • Remove duplicate lines.

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    rinku singhR

    @Ripunjay-Sharma
    for notepad ++ v7.5.9 dir is

    for notepad ++ v7.6.0 dir is
    C:\Users\rinku\AppData\Local\Notepad++\plugins\NppTextFX\NppTextFX.dll
    for notepad ++ v7.6.1 dir is
    for notepad ++ v7.6.1 dir is
    C:\ProgramData\Notepad++\plugins\NppTextFX\NppTextFX.DLL
    for notepad ++ v7.6.3 dir is
    c:\program files (x86)\Notepad++\plugins\NppTextFX\NppTextFX.dll

  • CSS' syntax - grammar editor/corrector

    30
    1 Votes
    30 Posts
    12k Views
    Alan KilbornA

    @Demetrius-Pinheiro:

    I told you you’d like what the team here would come up with! :)

    @Demetrius-Pinheiro said:

    NP++ today without plugins, is not the best CSS’ editor (and in my opinion it never will be the best CSS’ editor).

    N++ doesn’t TRY to be this…not sure why you think it should be. There are much more specialized tools for this, or really any other non-general purpose text editing task, that can and will do better.

  • XML files opened as Session file

    9
    0 Votes
    9 Posts
    2k Views
    Jean-michelJ

    @guy038 Thank you Guy. It’s OK now, but if you use the workspace, you need also to change extension for workspace files.

  • Arduino and Function List

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    rinku singhR

    @rscgln said:

    Arduino Plugin

    download Notepad++.Arduino.0.2.0.zip from
    https://sourceforge.net/projects/narduinoplugin/
    it has contain README.txt and Arduino_Language_0.2.0.xml

  • Split file into multiple files

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Alan KilbornA

    @matt-bjerk

    Sounds like a task for a programming language. Notepad++ itself can do nothing to help, but you could certainly use one of its scripting language plugins to accomplish this.

  • mass edit and preserve timestamp?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Meta ChuhM

    @Offerel

    aaaaaaahh, nice idea to use dummy_file as a temporary timestamp reference file. 👍👍👍

    thanks for sharing 👍, i too think that it might come in handy for others.
    there are quite a few linux and mac users around here, including me.

  • How to end a batch of process ?

    Locked
    4
    0 Votes
    4 Posts
    842 Views
    Meta ChuhM

    @Chen-Yu

    i don’t know LaTeX either, but you could use taskkill (C:\Windows\System32\taskkill.exe) at the end of your scripts, as a workaround until you find a solution.

    for example taskkill /f /im pdflatex.exe will force end all instances of pdflatex.exe at once.

  • Is it possible to configure the status bar panels

    16
    1 Votes
    16 Posts
    3k Views
    ThosRTannerT

    Well, it won’t let me edit or delete my previous post, so here’s another attempt.

    Well, after much fiddling around, I have a python script that detects whether or not the status bar panel 0 starts with the string with which the linter plugin prefixes all messages, and if so collapses all the other items on the status bar, which means I don’t lose the text in them.

    I’m not entirely convinced about the way I find the current window handle in the first place, but it seems to work nicely.