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
    • A

      BUG: Clicking on pin causes app unresponsive for a while

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      86 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
      88 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
      723 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
      79 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.

    • jeffs555 sJ

      Move left scroll arrow to left side of tab bar?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      85 Views
      PeterJonesP

      @jeffs555-s ,

      With more tabs than will fit on screen, most programs put the left scroll arrow on the left side of the tab bar and the right scroll arrow on the right side of the tab bar.

      I am not sure I’d agree with the word “most”.

      Microsoft’s new Windows 11 Notepad app (the one that handles multiple tabs) does. But Chrome just keeps shrinking the tab shape, and after a few dozen, I stopped trying to see if I ever got it to show scroll controls OpenOffice/LibreOffice Calc (and my memory of Excel) put both the ◀ go-left and ▶ go-right and add-sheet buttons on the lower left Google Sheets webapp puts both the < and > on the lower right As far as I can tell, Visual Studio doesn’t give such buttons; instead, they just have the ▼ pulldown, similar to the one on Notepad++'s menu bar. Mozilla Thunderbird (email client), like Chrome, seems to just shrink the tabs; again, I could never get it to show scroll controls.

      So I tried a variety of apps, from different categories of tabbed-like interfaces, and only one of them puts the left-scroll on the left and the right-scroll on the right. In my quick experiment, “most” put them immediately next to each other, wherever they go. But really, it seems there’s no global consistency on such scroll controls. That’s not to say that there aren’t a gazillion other apps that do split them between left and right sides of the Tab Bar – just that it apparently depends on one’s set of applications that they use.

      I can understand wanting it as a feature, if it’s what you are used to. It isn’t currently an option in Notepad++ (though it could be requested, as described in our feature request FAQ); and, as far as I know, there aren’t any plugins that currently move the Tab-Bar-scroll-left button to the left side of the Tab Bar (and I don’t know who would win the war between a plugin and the main app as far as trying to position that button, so I don’t know if a plugin could enforce a different location for it)

    • S

      autoupdater and connection temp.sh

      Watching Ignoring Scheduled Pinned Locked Moved Security
      9
      0 Votes
      9 Posts
      3k Views
      donhoD

      @John-Smith-4

      I see in v8.8.8 release there was an issue addressed with WinGup. Could you elaborate what caused this behavior?

      Unfortunately I can’t provide more facts than what we already know.
      We are not aware of any confirmed exploitation of this vulnerability in the wild.
      The fix in v8.8.8 is the best I could do to address the issue of WinGUp being hijacked.

    • donhoD

      Notepad++ 8.8.8 release candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      2
      7 Votes
      2 Posts
      1k Views
      donhoD

      FYI, v8.8.8 RC has updated to RC2 to enhance the security of auto-update.

    • Dan McGovernD

      using the command line switches, but not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      162 Views
      PeterJonesP

      @Dan-McGovern ,

      -openFoldersAsWorkspace works just fine with -settingsDir and -titleAdd and other similar options, in my experiements.

      But, as far as I can tell, once -openFoldersAsWorkspace is specified anywhere on the command line, all path arguments are treated under the rule, “if it’s a folder, put it in the FolderAsWorkspace panel, and don’t open any file-paths directly”.

      That seems like the intent, because I don’t think it was considered that notepad++.exe myfile.txt -openFoldersAsWorkspace SomeDirectory\ would be a normal use-case (ie, when adding the feature, didn’t think that you’d want to open a file from one location, plus a folder-as-workspace from another, in the same command-line)

      If you don’t have the -multiInst argument, and if you don’t have the multi-instance preference set, then you could break it up into two calls of notepad++.exe

      "%np%" -settingsDir="..." -openFoldersAsWorkspace "%workspace%" "%np%" -settingsDir="..." "%file%"

      In that incantation, the oFAW has to come first, because of the known-and-never-solved issue that oFAW doesn’t work on an already-running instance of Notepad++.

      … But since I seem to remember that you do have the multi-instance preference set, that’s not likely to work for you. In which case, until you do a feature request, and it was accepted and implemented and released, I don’t know that you’ll get exactly what you want.

      I’ll update the manual to better explain current behavior with the oFAW option.

    • Jerry ScannellJ

      backward search doesn't work any longer

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

      @Jerry-Scannell said in backward search doesn't work any longer:

      All of a sudden searching backwards through a file doesn’t work and I have to have proper case for strings I am searching. Does anyone know about this? Is it a setting that has changed for some reason? I am using version 8.7.5 if that helps.
      Thanks in advance,
      Paul

      That setting hasn’t changed since 2020 (v7.8.7).

      If you are in Regular Expression search mode, you cannot do backward search, unless you have followed the User Manual instructions (https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users) to set the regexBackward4PowerUser attribute in the xml config file, and restarted N++.

      But, as I said, this is nothing new. So a “sudden change” presumably was you choosing Regular Expression mode.

    • Pieter HoebenP

      How to replace a "."

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      1 Votes
      2 Posts
      108 Views
      Alan KilbornA

      @Pieter-Hoeben

      You probably have the “Search Mode” set to “Regular expression”. Change it to “Normal”.

    • James Burke 0J

      Avoiding Tabbed Spaces

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

      @James-Burke-0 said in Avoiding Tabbed Spaces:

      Is there a toggle for NPP to NOT insert tabbed spaces at the beginning of a line? Somewhere in Preferences, perhaps?

      You probably want Settings | Preferences… | Indentation | Indent using: Space character(s).

    • Kaptain BiwouakK

      Notepad++ 8.8.8: 2 issues detected

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      31 Views
      No one has replied
    • donhoD

      FYI: Notepad++ v8.8.9 Release Candidate will be available in 1 week

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      57 Views
      No one has replied
    • 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
      42k 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
      103 Views
      No one has replied
    • A

      New NppESPHome plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      83 Views
      No one has replied
    • C

      possible to create a openfile dialog under jn-npp-plugin ?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      533 Views
      C

      after a look at jn-npp-plugin on github it seems Win32 API is not available in win x64 and i didn’t find other way to use openfiledialog…
      i am looking at python plugin now .

      thanks for your help

    • sound-fxS

      Scripts to align text

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      4 Votes
      4 Posts
      2k Views
      sound-fxS

      The following code supports PythonScript 3.0.23 as well as earlier versions of PythonScript 3.x.

      #------------------------------------------------------------------------ # If the character specified in the current selection is a white space, # then prompt the user to enter the alignment character (or characters), # using this character as the initial default. #------------------------------------------------------------------------ default_align_char = ',' from enum import Enum class PaddingSide(Enum): LEFT = 0 RIGHT = 1 def align_selected_text(max_align_char_count = None, padding_side = PaddingSide.LEFT): """Insert padding into the lines in the selection, as needed, to align up to max_align_char_count instances of a specific character or string of characters The default is to align all instances of the specific character. At present, the alignment character is taken as the character at the top of the current selection. You can uncomment some code below to change this policy to instead take the alignment character from within the selection at whichever end has the cursor. Either way, if that character is white space, the user is prompted to type the character (or characters). If you really wish to align on a white space character, you can just click OK at the prompt. When prompted to type the alignment character, the user may enter a sequence of characters, e.g., "-->", in which case the alignment is on the instances of that entire character sequence. For example, if the user enters "-->" at the prompt, then instances of the "-" character get aligned only if they're followed immediately by the characters "->", while instances of, say, "-1" and "- " remain unaltered. If there is no current selection, then aligns all lines in the editor. If there is a current selection, then aligns only the lines that are at least partially included in the selection, and the selection is changed to the entire block of newly-padded lines. Parameters ---------- max_align_char_count : positive integer, optional The maximum number of instances to align of the specific character. For example, set to 1 to align only the first instance of the character on each line. The default is to align all instances of the specific character. """ from Npp import editor #---------------------------------------------------------------------------- # For the alignment character, take the character just inside the bounds of # the selection block (at either the start or the end, as determined below). #---------------------------------------------------------------------------- editor.targetFromSelection() selected_text = editor.getTargetText() # Use this code to get the align_char unconditionally from the start # of the selection. align_char = selected_text[0] # Optionally use this code to get the align_char from within the selection # at whichever end has the cursor. # (startByte, endByte) = editor.getUserCharSelection() # if startByte == editor.getCurrentPos(): # align_char = selected_text[0] # else: # align_char = selected_text[-1] # If the character from the selection seems implausible as the # align_char, then prompt the user for it. if align_char.isspace(): from Npp import notepad global default_align_char align_char = notepad.prompt('Align character:', 'Enter Alignment Character', default_align_char) if align_char is not None: default_align_char = align_char #---------------------------------------------------------------------------- #%% Get the lines of text within the selected alignment block #---------------------------------------------------------------------------- (startLine, endLine) = editor.getUserLineSelection() startPos = editor.positionFromLine(startLine) endPos = editor.getLineEndPosition(endLine) text_lines = editor.getTextRangeFull(startPos, endPos).splitlines(True) #---------------------------------------------------------------------------- # Remember whether there is a user-selected block, so we can restore a # corresponding selection after aligning the text. #---------------------------------------------------------------------------- restore_selection = editor.getSelectionStart() != editor.getSelectionEnd() #---------------------------------------------------------------------------- # Align all instances of align_char within the lines of text #---------------------------------------------------------------------------- if align_char is not None: # Enable the following to save the align_char, however it was determined, # to be the default_align_char when prompting for it next time. # default_align_char = align_char padding_side_offset = padding_side.value * len(align_char) if max_align_char_count is None: align_char_count = max(line.count(align_char) for line in text_lines) else: align_char_count = max_align_char_count start = 0 for instance in range(align_char_count): # Set the target column using the index of the align_char, ignoring # immediately preceding space, or the length of the line tgt_char_col = max(len(line[:line.find(align_char, start)].rstrip()) for line in text_lines) for (idx,line) in enumerate(text_lines): align_char_col = line.find(align_char, start) if align_char_col >= 0: text_lines[idx] = line[:align_char_col+padding_side_offset].rstrip().ljust(tgt_char_col) \ + line[align_char_col+padding_side_offset:] start = tgt_char_col + len(align_char) editor.setTarget(startPos, endPos) editor.replaceTarget(''.join(text_lines)) if restore_selection: startPos = editor.positionFromLine(startLine) endPos = editor.getLineEndPosition(endLine) editor.setSelectionStart(startPos) editor.setSelectionEnd(endPos) if __name__ == '__main__': align_selected_text()
    • h-jangraH

      NppVim 1.6.0.0 Release - what's next macros?

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