Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • Bjorgen EatingerB

      The Nightmare %> Issue

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      19
      0 Votes
      19 Posts
      425 Views
      PeterJonesP

      @Bjorgen-Eatinger said in The Nightmare %> Issue:

      This issue only occurs in a case like this:

      Sadly, you did not give nearly enough for us to be able to investigate your problem any further. I put in exactly that line (and only that line) into bjorgen.asp on my local IIS, and when I go to that page, it gives me a server error:
      5728353b-eb82-47ee-baa1-0082457cc706-image.png

      … And I confirmed that other pages, like the one I showed above, are still working on my local server.

      From what I understand, the ' as a comment is VBSCRIPT syntax, not ASP-specific syntax. Because I thought everything outside of <% ... %> was just interpreted as ASP (and my quick web searches seem to confirm that conclusion on my part). In which case, putting the ' before a <% ... %> line is not “commenting out” anything, it’s just putting a single-quote in the static HTML portion of the code. Moreover, you aren’t supposed to nest <% ... %> inside each other, as far as my searches tell me. So your single line is really confusing… because if it’s outside of a containing <% ... %>, then I don’t see why you think that the ' is commenting anything. And if it’s inside a containing <% ... %>, I don’t see why you have another <% ... %> nested inside. This is why a complete example is needed for us to be able to see what you mean. It doesn’t have to be huge – my example document from earlier (with the . ' what goeth here in the rendering) is only about a dozen lines.

      And per the Microsoft documentation linked in the Lexilla issue,

      <% i = i +1 'This statement increments i. (This script will work.) %>

      … is valid / complete syntax: the ' comment only comments out the text portion – the %> closer tag does not get hidden by the comment inside the <% ... %>.

      Taking that line, and putting it into zufuliu.asp with a few other lines,

      Text before <% i = i +1 'This statement increments i. (This script will work.) %> text after <br>i = <%= i %>

      … to actually render something in the webpage, I see:
      d8c908a2-4250-41f8-85a7-07f073fe642a-image.png
      And Notepad++ is highlighting that as expected: the i = i + 1 is code, the 'This statement increments i. (This script will work.) is a comment, and the %> still closes the code, and everything after still runs.

      Moreover, if I use a ' to “comment out” the <% ... %> line, it doesn’t actually make that code not run. It just interprets the ' as part of the HTML, not as part of the VBSCRIPT.
      2a2540ba-16a9-4beb-957d-da2b7353ae7e-image.png

      So your single line of ' <% Sub ApplyPasswordReset(oConnGlobal, postData, ByRef result). %> does nothing to show us where the bug might be, or what’s going wrong.

      To be able to prove whether there’s a bug in Lexilla, a bug in Notepad++, or just user error, you need to give a complete known-good ASP code that shows the problem, that we can open with IIS to see that the code works as expected (ie, to show it’s valid ASP that you are trying to edit), that we can open with Notepad++ to see that it highlights “wrong”, and opens with SciTE to show that it highlights “right” or “wrong” depending on what you say (the last time, I believe I understood you to say that it was rendering right in SciTE),

      If you want help, you need to give all the information from the 3 simple steps I put in my last post and reiterated here. Please understand, I am not saying this to be mean: the Lexilla people do not believe there is a bug in their library (the issue has been closed as PEBKAC). Nothing you have shown us gives evidence of a bug in Notepad++. If you don’t provide exactly what I described above, your report will be diagnosed to be user error, and nothing will ever happen.

      At this point, it’s your decision as to what happens next.

    • Ian HicksI

      Run Notepad++ as commandline to edit and save

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      0 Votes
      9 Posts
      191 Views
      Ian HicksI

      @PeterJones SO FAR, following down the path that I started, I have
      VBA that:

      SaveCopy the current workbook as <activeworkbook>.ZIP Unzips that file to a folder named <activeworkbook> (without suffixes) Writes a script file: CD <folder> Notepad++ -nosession -multiInst file1 Notepad++ -nosession file2 Notepad++ -nosession file3 Notepad++ -nosession <subfolder>\file4 ...

      When that script completes, I find myself with an instance of Notepad++ and all the necessary files open. Is this the best method to open multiple files?
      Best thing is that this instance is separate from the instance I already have open that is reporting a log file generated by running the Excel workbook.
      The other thing that I found is that when I manually complete the tasks given by FreeMeow, because this is a multiInst, it seems to revert the “All Files” flag automatically (or maybe nosession achieves this).

      My “plan” for continuation is to record a macro to do what FreeMeow suggested, with the hope that it processes throu to completion.

      Unfortunately, it’s leaving behind a lot of “.bak” files, so I may come back and ask if there’s a way to temporarily turn off backups.

    • fml2F

      Set current directory to default if no real file is open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      0 Votes
      9 Posts
      218 Views
      fml2F

      I’ve created two feature requests: one in Notepad++ and another in the Python Script plugin (and cross referenced them), since I don’t know where this feature would be better impemented.

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17246 https://github.com/bruderstein/PythonScript/issues/401
    • Mark AndersonM

      Find Text Copied From Excel Cell

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      1 Votes
      7 Posts
      97 Views
      guy038G

      Hi, @mark-anderson, @peterjones, @alan-kilborn and All,

      Phew ! More fear than harm ! See my very last issue_comment :

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17227#issuecomment-3591646890

      BR

      guy038

    • dz15mlruD

      BUG: N++ does not keep in UTF8 unsaved open files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion bug cyrillic utf8 encoding
      7
      0 Votes
      7 Posts
      88 Views
      dz15mlruD

      Thanks you guys for your support.

      So, I’ll try to 1) disable the “autodetection of character encoding”, and 2) to check the option “Apply to opened ANSI files"

      Also, just now it arrived one fresh update from N++.
      I will perfom this update as well. And I’ll monitor after this if the problem appears again.

    • PeterJonesP

      FunctionList: v8.8.7 Perl parser is apparently inefficient

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · functionlist regex
      7
      0 Votes
      7 Posts
      182 Views
      guy038G

      Hi, @peterjones and All,

      Peter, actually, we were not talking about the same thing !

      On GitHub, under the tree structure notepad-plus-plus/PowerEditor/Test/FunctionList/perl, there are two files :

      unitTest ( named unitTest.txt )

      unitTest.expected.result ( named unitTest.expected.result )

      And indeed, after downloading the unitTest.txt file and opening it within N++, it did automatically recognized this .txt file as a Perl file, due to the first line #!/usr/bin/env perl

      Now, in the functionList sub-folder of my portable 887_x64 installation, I copied three files :

      perl.xml of N++ v8.8.6, that I renamed perl_886.xml

      perl.xml of N++ v8.8.7, that I just re-copied as perl_887.xml

      perl.xml, from your last link ( https://github.com/notepad-plus-plus/notepad-plus-plus/blob/3d829d9a311fa05f77479b79b5b340e05986a52e/PowerEditor/installer/functionList/perl.xml ), that I renamed Perl_NEW.xml

      Then, after closing N++, from a CMD prompt, I ran, successively, the three commands :

      • D:\887_x64\functionList>copy perl_886.xml perl.xml • D:\887_x64\functionList>copy perl_887.xml perl.xml • D:\887_x64\functionList>copy perl_NEW.xml perl.xml

      I re-started N++, each time, with current tab = unitTest.txt and opening the View > Function List feature, I did verify that :

      The Function List panel with perl_886 was immediate but quite incomplete

      The Function List panel with perl_887 was correct but with a slight delay at opening time

      The Function List panel with perl_NEW was correct and with no delay at all !

      Therefore, I now have the necessary equipment to test the Perl function list regexes and imagine possible new regexes. But just for myself, because I doubt I’ll find anything better than your solution !

      Best Regards,

      guy038

    • Hyung-jun ChangH

      Feature Request : option to disable auto expand of folders

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      1 Votes
      7 Posts
      224 Views
      FreeMeowF

      @Hyung-jun-Chang While not exactly what you asked for, if you press Ctrl+Alt+F it will fold the row where your marker is.
      in your picture example, to fold number 3 you can press row 949 and then Ctrl+Alt+F. This should also work with rows 585, 586, 587, 867, 947, 948.
      This should be a workaround instead of the “-” at the final row of the fold.

    • U

      Small problems in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      73 Views
      U

      @Coises
      Yes, Coises, I did a similar “research” in parallel with you.

      I assume that the problem of the “truncated” English menu has to do either with “non-English” Windows, or with the language where the program is being installed.
      After correct uninstallation and cleaning of hidden folders, I installed Notepad++ again, but (!) in English.
      When first launched, the English menu looked normal. After the first language change, the English menu became “truncated” view.

    • h-jangraH

      Does arm64 plugin build required to include?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      64 Views
      h-jangraH

      @Ekopalypse I too use MSCVC but I downloaded them from here https://gist.github.com/mmozeiko/7f3162ec2988e81e56d5c4e22cde9977 not visual studio. So that might be the problem.

    • donhoD

      Notepad++ 8.8.8 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      15
      1 Votes
      15 Posts
      4k Views
      Lukas MayrL

      @donho said in Notepad++ 8.8.8 release:

      Please check if it’s what you need:
      https://download.notepad-plus-plus.org/MISC/npp.Installer.x64.msi

      Command line: msiexec /i Notepad++.msi NOUPDATER=1

      that seems to do the trick 👍

      i will roll it out for about 100 Users - if i get any feedback, i will relay that, otherwise thank you very much!

    • Jeff EspositoJ

      Notepad++ VERY slow to open

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      11k Views
      Gerard KiekensG

      @Jeff-Esposito

      Hi, I had the same problem.

      In my case it was (alsmost certain) caused by heavily editing the DarkMode-Default theme that got a size of over 500Mb. I Suspect it was caused by using many custom colors.

      It has nothing to do with BitDefender. We have the BitDefender Endpoint Security running on our machines too.

      Switching from dark mode Default to another theme completely solved the problem for me.
      \Editing that theme with default colors did not slow down startup.
      Give it a try.

      Tip:

      You can keep your personal theme by coping and renaming it. It will them show up in the themes
      list. You can find the themes in C:\Users\Username\AppData\Roaming\Notepad++

      Gerard Kiekens
      (Key-Can Computer Services The Netherlands)

    • Tristan HilamanT

      I accidentally pressed some combination of buttons and messed up my search function

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · help
      3
      0 Votes
      3 Posts
      68 Views
      Tristan HilamanT

      @PeterJones Thank you!

    • A

      BUG: Clicking on pin causes app unresponsive for a while

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      65 Views
      xomxX

      @andwan0

      Your issue has been fixed for the N++ v8.8.6+.

    • E

      Plugin Manager

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      83 Views
      PeterJonesP

      @evdmade01 said in Plugin Manager:

      Plugin Manager - what happened with it, where did it go?

      The old Plugin Manager plugin hasn’t been compatible with Notepad++ in 7 years. In v7.6 (in 2018), it was replaced by the built-in Plugins Admin tool. Use that built-in tool, not the old, unmaintained, advertising-supported Plugin Manager.

    • LagunaJimL

      NPP RSS Feed broken?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      7
      0 Votes
      7 Posts
      711 Views
      PeterJonesP

      @Bruno-Guillemette said in NPP RSS Feed broken?:

      I’ve looked into this and we’re being blocked by them sometimes. They’d have to whitelist our IP range, which is: 8.29.198.0/24 and that would fix it.

      This Forum is a Community of Notepad++ users. If you want to contact the developer, you’d have to either create an issue in the main GitHub repo (which isn’t really where website errors belong, but sometimes people post them there) or email Don directly (his contact information is on the Notepad++ website). If you would like him to “whitelist” an IP range to be able to see the RSS feed, you’d have to contact him, not us.

      My guess is there isn’t any setting on the Notepad++ website itself which is directly blocking Feedly. My guess is that Feedly isn’t passing the CloudFlare captcha, so CloudFlare (which inserts itself between user requests and the underlying website) is the one that’s blocking Feedly, not any setting on the Notepad++ website. (And honestly, the fact that the employee in the email you quoted is not knowledgable enough to have tried accessing the RSS feed directly, and seeing that a CloudFlare are-you-a-human prompt comes up, makes me wonder about the quality of their support.) However, I seem to remember that Don was able to make it so that the updater-XML URL was “unblocked” for CloudFlare, so maybe he’d be able to do the same for the RSS URL… but I don’t know.

    • Doreen AmmonsD

      duplicating lines

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      75 Views
      CoisesC

      @Doreen-Ammons

      It is possible. There are a few ways to do it, depending on your exact circumstances. Here is one way:

      Open a new, empty tab.

      If you don’t see line numbers at the left, go to Settings | Preferences… | Margins/Border/Edge and check Display in the Line Number box at the top right.

      Press and hold the Enter key until you have exactly 200 lines.

      Edit | Select All (or Ctrl+A).

      Open Edit | Column Editor….

      Select Number to Insert; set the Format to Dec. the numbers to 1, 1, 1 and Leading to None.

      Click OK. You should now see the numbers 1 to 200 in your file.

      The column editor will leave extraneous (for this purpose) blanks after the one and two digit numbers. Use Edit | Blank Operations | Trim Trailing Space to remove them.

      From your original source, copy the fixed part of the text; that is, everything from “goldplate” to “1.2.3.” including the point but not including the final 1.

      Go back to tab with the list of numbers from 1 to 200. Click at the very beginning of the list, at the left of the 1. Scroll to the bottom using the mouse (not the keyboard), hold down Shift and Alt, and click at the left of the 200. You should see a thin, blinking line running at the left of all your lines.

      Paste. You’ll see the text you copied added before each number.

      You can now Select All, copy, and paste this back into your original file.

    • h-jangraH

      Which lang other then c/cpp to build plugins

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      140 Views
      h-jangraH

      @Ekopalypse I tried simple plugin now using go. It did worked, let see if I can improve. If its good then I should make template for it.

    • donhoD

      Shouldn't be it the responsability of UN?

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      0 Votes
      3 Posts
      6k Views
      jabcreationsJ

      @Lycan-Thrope One of the biggest secrets because people believe their beliefs are knowledge when no, they’re beliefs. I also reject the petty thoughtless “I don’t comprehend so it can’t be true” nonsense so I’ll ignore any trolling from anyone.

      Also some basic psychology for anyone reading: do I know your life? No. I didn’t grow up in your life, know your people, your places, your experiences. The same holds true in reverse. So everyone knows something that other people do not know. So never make the severe massive psychological mistakes of thinking you’re an all-knowing deity because most people make this mistake and remaining ignorantly willing slaves!

      There is no government.

      Whenever you see ALL CAPITAL LETTERS (and no, not screaming on the Internet context) that is a CORPORATE ENTITY. UNITED STATES OF AMERICA, STATE OF MAINE, MAINE STATE, COUNTY OF, CITY OF - extra, those are all CORPORATE ENTITIES.

      However what is a CORPORATION? It’s suppose to be a form of business.

      What is a business? A group of people who work together to create profit.

      Well, that isn’t good enough, we need contrast. What is a business not?

      A business does not impose on the natural rights of others because then it is a criminal organization. What else is a business not?

      A business is not neutral due to the inherent right of discrimination. The political extremists like to demonize rights. Anyone who thinks discrimination is a bad thing now suddenly doesn’t have the right to appeal being forced to marry a volcano. Have fun on your wedding night! Discrimination is one of many critical sovereign rights.

      When you discriminate you are not neutral. So that brings us back to CORPORATIONS acting as “government”. What is the role of government? To protect it’s nation or country and play a neutral role of lawful (never LEGAL) courts of law.

      So if a CORPORATION is supposed to be a form of business that is for-profit and therefore not neutral it has zero right to conduct itself as a “neutral” entity therefore any CORPORATE entity that represents itself as a “government” entity of any kind is instantly and irrevocably a criminal organization!

      Go look up “government” signs across the world like in marxist occupied China. You will always see Latin characters as a secondary way as not all alphabets have upper and lower case characters. Suddenly you’re seeing fake governments everywhere because the criminal conspiracy has long been global for well over a century. The sovereign country of the United States of America became an anarchist state with the Act of 1871.

      So that is all part of fascism, CORPORATISM which has two levels of foundation beneath it. The direct next lower foundation is FRAUD BY COMMERCE. Commerce is not business, it is criminal activity masquerading as “business”. Example: I was attacked by CORPORATE POLICY ENFORCERS (the “police”) and one of the criminals said it was “nothing persona, just business”. That is the criminal manipulation of language.

      What is a good example of a manipulation of language? A dude puts on a wig, dress, high heels, pads a bra and he’s suddenly a woman? Oh hell no! He’s got severe mental issues! The criminals pretend like they’re protecting freedom of freedom and expression but that part is marxism: slavery. Karl Marx the author of the communist manifesto can be quoted simply: “…the abolishment of private property”. Who does not own private property? SLAVES! So marxism and fascism are like the left and right wing: they are attached to the same bird! You are intended to think they are the opposite of each other when in fact those groups are working together for literal global slavery. The more pressure and social destruction there is the easier it is to conquer people! They literally want global slavery!

      So that is why subjective use of language must always be absolutely rejected! LEGALISM is the explicit manipulation of language! The police are trained to convince you that you are “driving” a “vehicle” when, by LEGALESE criminal language you are “traveling” in your “car” (or “truck”). They are not law enforcement because they are literal criminals! Some do not know it and did not join the police with criminal intentions but many do know that they’re criminals and explicitly like being criminals.

      So the goal for every ethically sound individual is to disengage from commerce and remove their ignorance on how to punish the criminals for their attacks on us. In example when you are abducted (because criminals never have the right to arrest) you reject the fake court’s notion that they have jurisdiction. I have several videos now of people holding their ground with the fake “judges” fleeing the fake “courts” and one even admitting they work for “the CORPORATION”. Literally all criminal! All legitimate businesses that were tricked in to registering (LEGALESE for surrender!) have the full right to disavowal the CORPORATE entity that they were coerced to register in bad faith! It is a straw man misrepresentation because the criminals are required to only interact with other CORPORATE ENTITIES while in “contract” with them. Any criminal that says you can’t is, big surprise: lying!

      Individuals are also targeted with CORPORATE ENTITIES by the next foundation below that of FRAUD BY COMMERCE. That is FRAUD BY PERSONAGE. To personify a CORPORATE ENTITY (straw man) to intentionally misrepresent a living human being as CORPORATE ENTITY so the criminals can “contract” with you.

      Do you have a driver’s license?

      Yes? Criminal!

      No one has the right to suggest or dictate that you have to ask permission to act on your natural sovereign rights such as the right to travel!

      Is your name on the driver’s license?

      No! JOHN SMITH is a fictitious CORPORATE ENTITY criminally made in John Smith’s name without his explicit consent! Consent is only lawfully (never LEGALLY!) full and explicit comprehension (never “understanding” which means willing slavery).

      Example: “hey bro, she’s knocked out drunk, she can’t say no!” is still rape because the lack of capacity to consent is explicitly not consent! So rapes and when fake judges make a decision (because you don’t know how to disengage from fake courts or that they’re even fake to begin with) the fake “judge” will imply a decision on your behalf, that is called FRAUD BY TACIT CONSENT! Tacit means implied however you can not imply consent as consent is irrevocably always and in absolutely always explicit. If you don’t comprehend and agree then you literally have zero capacity to consent. To imply you’ve consented is fraud by tacit consent!

      Back to the primary topic: the UNITED NATIONS INCORPORATED criminal organization has zero rights. These are non-elected people and while many people involved in fake government and government-like fake organizations have legitimate intentions on helping others we can see for example when the pro-German candidates were all clearly murdered so the globalists could keep destroying Germany (I am Polish, that should hold some weight). These criminal organizations need to be dismantled, to say the least.

      Everyone literally has the lawful right to shoot to kill criminals literally and ironically working to enslave all of humanity. I don’t recommend doing so however until you know how to nullify all aspects of the criminal organizations.

      For now people need to learn how to disengage from COMMERCE for starters. Everyone needs to file their UCC1 which gives them access to a bank account with large amounts of money that misrepresents each person as a “common stock”. Any time. All CORPORATIONS engaged in COMMERCE use social security numbers and that means any bill they send you is already paid! You have to learn how to “endorse the coupon” because when you “pay a bill” you’re giving those criminals double the money! A traffic ticket at the state level of the 37 lawfully joined states and the rest of the territories like Montanan make over a million dollars from a a single speeding ticket! Never endorse criminal tickets and everything with JOHN SMITH fraud by personage on it that they give you is literal evidence of their crimes!

      The next bit is to learn how to force criminals to pay you for their crimes via TORT POLICY! Since COMMERCE is explicitly criminal that means anyone for any reason trying to trick/force/coerce/etc you is guilty of numerous crimes. TORT POLICY is per their fake jurisdictions. You need to look it up for your state/providence/county and it’s all there!

      The biggest part of TORT POLICY that is wonderfully subjective is that these criminals literally steal your time. But people are not equal in anything except rights. Well guess what? I’m the developer of an entire web platform written entirely from scratch by myself. My time is very valuable and I set my own rates. That means when I redeem damages to my literally unrecoverable time from criminals I set my rates high, like $20 million an hour. If a criminal is that stupid I will very quickly bankrupt them. You just have to get your mentality in the right place and figure out how that paper works in your region.

      We can and will win but there will be loses because we can’t help stupid people. Reality is absolute, your perception is relative. We hear only between the 20 to 20,000 Hz. We see only between 400–790 terahertz. That is trillions of hertz. What can’t you see or hear between 20,001 and 399,999,999,999,999 hertz? So no, again, no one is an all-knowing deity. Stop trusting false believe as knowledge! *Verify& things otherwise you’re building your entire perception of reality based on false belief! Otherwise you risk doing worse than marrying a “woman” named Tammy who was once a dude named Timmy.

    • PohliP

      Show no-break space

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1 Votes
      9 Posts
      41k Views
      Septimus BobS

      nice, it really hepled me, thank you again)

    • h-jangraH

      NppGoTemplate plugin template in golang

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      3 Votes
      1 Posts
      97 Views
      No one has replied