• How To Add New <f7-page> syntec to languages?

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Lionel-Yeo

    html doesn’t seem to have user defined keywords field so we need to edit langs.xml directly.

    Eg. add f7-page to the keyword list like … event f7-page face…
    make sure alphabetical ordering is kept.
    Should result in something like this

    Cheers
    Claudia

  • Notepad++ file content different when opened in Windows Notepad

    11
    0 Votes
    11 Posts
    9k Views
    Claudia FrankC

    @John-Baker

    If you want to fix it and require a more detail explanation please let me know.

    the issue itself has been already opened and is labeled as enhancement but as said, I don’t know if Don will spend more time in investigation and fixing.
    Personally I think it doesn’t make much sense but who knows, maybe he will do it.

    Cheers
    Claudia

  • macro won't switch windows

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @LeeBonnifield

    in the meantime you can edit the shortcuts.xml file
    and put the folowing line into the macro

    <Action type="2" message="0" wParam="44072" lParam="0" sParam="" />

    This is the message needed to switch to another view.

    Cheers
    Claudia

  • how to add image to notepad it not showing my picture

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Wrathof-Godwill

    how do i add image it not showing my picture when i run it

    this could mean anything - without further info we can hardly answer it.
    A shot in the dark - you are writing a html page?
    If so, check this out.

    Cheers
    Claudia

  • Where is NppExec console ??

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @deepjawalenotahacker2371

    Plugins (menu) -> NppExec -> Show Console Dialog

  • XML Tool > Validation error

    2
    0 Votes
    2 Posts
    4k Views
    chcgC

    Last one seems to be https://sourceforge.net/projects/npp-plugins/files/XML Tools/Xml Tools 2.4.9 Unicode/, just 2.4.8 is available from the plugin manager currently.

    Which version do you use? Or is it a different plugin?

  • Request help defining classes for a User Defined Language.

    5
    0 Votes
    5 Posts
    3k Views
    MAPJe71M

    @Joe-Bonifazi

    Could you try the following parser:

    <association id="cimplicity_ctx" userDefinedLangName="CimScreen" /> <association id="cimplicity_ctx" ext=".ctx" /> <parser displayName="CimEdit Text File Format" id ="cimplicity_ctx" > <classRange mainExpr ="(?x) (?(DEFINE) (?'NAMED_CHAR'\b(?i: B(?:ackspace|ell) | C(?:arriageReturn|haracterTabulation) | Delete | Escape | FormFeed | L(?:eft(?:Brace|CurlyBracket)|ine(?:Feed|Tabulation)) | N(?:ewLine|ull) | QuotationMark | R(?:eturn|ight(?:Brace|CurlyBracket)) | Tab )\b) (?'STRING_CHAR' [^\r\n\x22\x7B] | \{ (?: \d+ | \x26 (?: [Hh][A-Fa-f0-9]+ | [Oo][0-7]+ ) | (?&amp;NAMED_CHAR) ) \} ) (?'STRING' \x22 (?:(?&amp;STRING_CHAR))* \x22 (?: \s+\x26 \s+(?&amp;STRING) )* ) ) \(GmmiObject \s+(?&amp;STRING) (?: [^(] | \((?!Gmmi(?:Object|Script)\b) )* \(GmmiScript\s+(?&amp;STRING)\s*\) " > <className> <nameExpr expr="\(GmmiObject\s+\x22\K[^\r\n\x22]+" /> </className> <function mainExpr="(?x) \x22 (?:Function|Sub)\h+ \K \w+ [^\r\n\x22]* \x22 " > <functionName> <funcNameExpr expr="[^\x22{]+" /> </functionName> </function> </classRange> </parser>
  • BUG when reloading changed file with diff encoding

    2
    0 Votes
    2 Posts
    1k Views
    gstaviG

    Practice some modesty/caution before calling specific behavior a BUG.

    Files do NOT have encoding.
    Encoding is applied to the file’s byte stream when it is loaded into a buffer within Scintilla.
    On load, an automatic detection algorithm is used to select an encoding. Many threads in this forum state a wish for an option to override this automatic selection.
    After load the user can override the encoding.

    The question of whether file reload should re-trigger the automatic detection or not is an open user interface decision with no ONE RIGHT ANSWER.

    Since the scenario you described of a file changing its contents in the background in away that will trigger different encoding result from the automatic detection apply to 0.001% of Notepad++ users I think that maintaining the current encoding of the buffer is the choice that benefit the majority of users.

  • перестал работать Notepad++

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Notepad++ crash...

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @spiikesan and All,

    The French text, just above, may be translated into :

    I found out that Notepad++ does backups in %appdata%\Notepad++\backups

    And, luckily, my file was there ( practically, with the last version )

    Thanks for this feature. It has saved my work.

    But this bug is, yet, serious :/

    So, again , and surely, not the last one, just remember this main rule :

    •-----------------------------------------------------------• | ALWAYS, do BACKUPS of your IMPORTANT work, REGULARLY !! | •-----------------------------------------------------------•

    ( In French ) @spiikesan, tu aurais du te rappeler ce sage conseil et tu devrais, dorénavant, le suivre !

    To my mind, anyone should do two backups, on two different media, which should be stored in two different places.

    I must admit that would be in an ideal world and that I don’t follow, myself, this sensible rule, all the time :-((

    BTW, Have you heard about the recent huge cyber-attack, all over the world, on some companies :

    https://en.wikipedia.org/wiki/WannaCry_ransomware_attack

    Of course, I don’t think that people, like you and me, is aimed by these cyber-attack’s authors, but… ?

    Best Regards,

    guy038

    P.S. :

    After some searches on NET, I found a very interesting article, from Microsoft, about WannaCrypt attacks :

    https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/

    It’s important to point out, in that article, of Phillip Misner, Principal Security Group Manager, at the Microsoft Security Response Center, this particular sentence :

    Additionally, we are taking the highly unusual step of providing a security update for all customers to protect Windows platforms that are in custom support only, including Windows XP, Windows 8, and Windows Server 2003.

    So, there are, at the end this article, some links to download, either, the English language security update OR the localized language security update ( Microsoft Security bulletin MS17-010 - KB4012598 ) for, either, Windows XP or Windows Server 2003, which, normally, do not have Microsoft support, anymore, or for Windows 8.0 !

    Last post UPDATE ( 14/05/2017 - 15h04 - French zone ) :

    I noticed that, unfortunately, in this article, the download link of the localized security update for Windows XP SP3 x86, wrongly, get the package of the Windows XP Embedded SP3 x86 :-((

    So, it’s better to use the Catalogue Microsoft Update site, from the link :

    https://www.catalog.update.microsoft.com/Search.aspx?q=KB4012598

    You’ll just have to select the right update to download, from the 13 possible choices !

  • Mass Edit

    2
    0 Votes
    2 Posts
    2k Views
    Ion SaliuI

    Axiomatic One:

    I posted a similar request in the ‘Help’ forum and in the ‘Discussions’ forum:

    https://notepad-plus-plus.org/community/topic/13808/search-replace-of-multiline-text-blocs
    Search/Replace of Multiline Text Blocs

    https://notepad-plus-plus.org/community/topic/13684/feature-request-textarea-search-replace#

    https://notepad-plus-plus.org/community/topic/12973/multiple-line-replacing-doesn-t-work

    Unfortunately, Notepad++ does not have such a great feature at this time (as of version 7.3.3). Personally, I use another great freebie: ‘Replace Text’ by Ecobyte.

  • Multiple line replacing doesn't work?

    10
    0 Votes
    10 Posts
    18k Views
    Ion SaliuI

    Axiomatic Ones:

    I made a similar request in the ‘Help’ forum:

    https://notepad-plus-plus.org/community/topic/13808/search-replace-of-multiline-text-blocs
    “Search/Replace of Multiline Text Blocs”

    I made a reference to another great freebie: ‘Replace Text’ by Ecobyte. I use it to replace text in hundreds of Web pages at once. It has a special feature: ‘Advanced Edit’. I copy-and-paste blocs of text into ‘Advanced Edit’. It converts the bloc into a one-line string with special characters between the lines in the original bloc to be searched/replaced. It takes a few seconds to complete and it is very accurate and reliable. No complicated regex coding needed.

    If not present, Notepad++ should add such feature to its arsenal. I thought the ‘Extended (\n, r, …)’ search option would do it. It doesn’t work for me. Maybe because I placed \n ahead of \r and added spaces… It would be great to perform such a task in Notepad++ without regex, instead of exiting and running Ecobyte.

    But, hey, even the post editor here can use significant improvements!

    Ion Saliu
    “A good man is an axiomatic man; an axiomatic man is a happy man. Be axiomatic!”

  • CTRL+H in Windows 10

    2
    0 Votes
    2 Posts
    2k Views
    HaywardDRH

    Just rolled back to version 6.9.2 on the Windows 10 computer and it works like it should. Did not test the versions in between yet.

  • Automatic proposal

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Théo GiraudetT

    Thanks you for your reply, but is there not a way to do it without plugin?

  • Regarding Install notepad++ in Windows Server

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    glennfromiowaG

    If you’re asking regarding licensing, the GNU license does not place any restrictions on installing it anywhere, including on a server in a commercial company. So there is no licensing problem with installing it there.

    However, if you’re asking if others have successfully installed it without problems on a Windows server, I have no experience with that. I wouldn’t expect problems with it, but if in doubt, it’s always better to try it in a test environment than to install new software directly into a production environment.

  • 0 Votes
    7 Posts
    3k Views
    Pat SinclairP

    Thanks MapJE71 and Peter…

    I too had to add the userDefinedLangName, then all worked fine using MapJe71’s suggested regex.

    Thanks to you both.
    Pat

  • Merge same parameters in XML file

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    guy038G

    Hello, @petr-andreev,

    No problem with regular expressions !

    Here are the few steps to do :

    Go back at the very beginning of your document ( Ctrl + Origin )

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?-is)</param>\R<param name="Coolant">|^(.+Product.+?);\x20

    REPLACE (?1\1</param>\r\n<param name="Coolant">:;\x20)

    UNcheck the Wrap around option, if necessary

    Select the Regular expression search mode

    Click TWICE, on the REplace All button

    Et voilà !

    At first sight, you may think that these regexes are complicated, But I tried to give some information on them, in the Notes section, below !

    So, from your original text, below :

    <param name="Product">Multifunction valves</param> <param name="Coolant">R113</param> <param name="Coolant">R114</param> <param name="Coolant">R1233zd(E)</param> <param name="Coolant">R1234yf</param> <param name="Coolant">R1234ze(E)</param> <param name="Coolant">R125</param> <param name="Coolant">R1270</param> <param name="Coolant">R1336mzz(Z)</param> <param name="Coolant">R134a</param> <param name="Coolant">R152a</param> <param name="Coolant">R170</param> <param name="Coolant">R22</param>

    You get, after TWO clicks on the Replace All button, your wanted text, below ;-))

    <param name="Product">Multifunction valves</param> <param name="Coolant">R113; R114; R1233zd(E); R1234yf; R1234ze(E); R125; R1270; R1336mzz(Z); R134a; R152a; R170; R22</param>

    Notes,

    The modifiers (?-is) forces a sensitive way of search and the special dot character will match a single standard character, only !

    Then, due to the alternative symbol ( | ), the regex engine looks for, either :

    Case A The string </param>, followed by End of Line character(s) and ending with the string <param name=“Coolant”> ( part </param>\R<param name="Coolant"> )

    Case B The string, located between a beginning of line and the first semicolon ;, containing the string Product ( part ^(.+Product.+?); ), followed by a space character ( part \x20 )

    In replacement, it rewrites, either :

    Case A A semicolon, followed by a space character ( part ;\x20 ), which is the ELSE part of the conditional replacement, located after the colon symbol :

    Case B The group 1 ( The string from beginning of line, till a semicolon character, excluded, containing the string Product ( part \1 ), followed by the string </param>, a line break and the string <param name=“Coolant”> ( part </param>\r\n<param name="Coolant"> )
    It is the THEN part of the conditional replacement, located between the (?1 syntax and the colon symbol :

    Remarks :

    Case A occurs first, because there’s no semicolon symbol ( ; ), in your original text !

    Of course, in these regexes, you may change the tags Product and Coolant, as you like to :-)

    Best Regards,

    guy038

  • Windows 10 Shell Context Menu Error

    7
    1 Votes
    7 Posts
    22k Views
    Георгий ХристичГ

    Don’t use this registy trick. It looks ugly. Use “Save As Admin” plugin, instead. It works fine even at windows 10 and previous versions.

  • Please Help .... txt file in google drive

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Coding change?

    3
    0 Votes
    3 Posts
    2k Views
    James MoffatJ

    Thanks for your reply. It ended up being SSD corruption & I had to restore from a backup.