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
    • João BorlothJ

      Help with Regex/Find/Macro

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

      @João-Borloth said in Help with Regex/Find/Macro:

      Good morning!
      Everyone, I couldn’t understand REGEX.
      I believe there’s a REGEX solution (Find or Filter) to solve my problem.
      I need Notepad++ to search line by line and find the lines that contain:

      A word with all letters in uppercase (example: LTDA) A word with all letters in lowercase (example: and) A word with mixed lowercase and uppercase letters (except capitalized words) (for example, find: hoUse, HOuse, HousE)
      but NOT find House.

      This would require 3 Regex and/or 3 macros.
      Example sentences:
      My HouSe is Beautiful => Find “HouSe” and “is”
      My House Is Beautiful => Ok, Don’t find anything
      MY House IS Beautiful => Find “MY”, “IS”

      Thank you

      Your example doesn’t quite match your statement. If, as per your statement, you want to find lines which contain one or more words that do not consist of a capital letter optionally followed by one or more lower case letters, then try:

      (?-is)^(?!\u\l*+([^\w\r\n]+\u\l*+)*+[^\w\r\n]*$).*+

      You can find them one by one, or click Find All to get a list.

      If, as per your example, you want to find words that do not consist of a capital letter optionally followed by one or more lower case letters, try:

      (?-is)\b(\u\l*+)?+\w++

      I tried to cover likely cases involving punctuation, but test. I’m not promising it’s perfect. (Come to think of it, I’m sure these will not handle words with apostrophes correctly.)

    • h-jangraH

      New Vim modal editing plugin release

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

      Pinned Tabs: Now and Future

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      35
      2 Votes
      35 Posts
      7k Views
      Bruce JakewayB

      I’m interested in having sticky tabs, ie, tabs that will stay on screen, regardless of how right or left you scroll in your tab bar. I could use multi-line tabs, but that takes up vertical space. This is kind of like freezing columns in Excel.

    • Sam CemS

      WebEdit Plugin for NPP x64 ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      620 Views
      Richárd StockingerR

      Hello everyone!

      There were a few annoying bugs in the latest release, I’ve fixed them in a Pull Request.

      In case my PR is not accepted, I’ve made a v2.7.rc.3 release available in the forked repository. I hope this helps others too!
      https://github.com/Krazal/WebEdit/releases/tag/v2.7.rc.3

    • francis BaudouxF

      Collapse/Extend switch/case

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      866 Views
      francis BaudouxF

      Hello,

      Thanks a lot for your great and swift answer

    • P

      Get undo to scroll to context

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      112 Views
      No one has replied
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      76
      3 Votes
      76 Posts
      38k Views
      Thomas KnoefelT

      A new version of MultiReplace (v4.5.0.30) is ready and will be available with the next Notepad++ release. It can be dowloaded here.

      The focus of this release is on expanding the search functionality and giving you more flexibility.

      Implemented updates:

      Find All: This is a new feature that lets you find all matches and see them in the search results window. It’s not limited to the current file – you can also search across all open documents or in entire folders.

      GroupResults: To go with “Find All,” this new INI option lets you choose how your results are displayed. You can see them all mixed together in document order (the default), or neatly grouped by each list entry, which is great for getting a clear overview of complex searches.

      lcmd: A new command for the “Use Variables” feature. It allows you to load your own custom helper functions from external files, which opens up a lot of possibilities for complex and reusable logic.

      AllFromCursor: Another new INI setting that gives you more control. You can now choose to start “Find All”, “Replace All” and “Mark” operations from your current cursor position instead of from the top of the file.

      Here is a visual take on the changes:
      MultiReplace45.png

    • PeterKeeP

      Undo/Redo (CTRL+Z/CTRL+Y) behaves unexpectedly after a few hours (NppFTP, NPP 64-bit, Win11)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion undo undo history ctrl+z
      4
      0 Votes
      4 Posts
      2k Views
      R

      @xomx
      Note, in above, STR means “Steps To Reproduce”.

    • linpengchengL

      Display markdown outline view through Functionlist

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      16
      2 Votes
      16 Posts
      6k Views
      A

      New try: Now it works, like you described it. Seems I set it up wrong!

    • Richárd StockingerR

      [New Plugin] NppOpenAI

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      47
      8 Votes
      47 Posts
      50k Views
      Richárd StockingerR

      @erik-neyman
      Hi,

      first of all, please hide/change your secret_key setting (or remove the image), as this is a public forum and others may misuse it. :(

      Unfortunately, there may be bugs in the latest NppOpenAI v0.5 update (updates/fixes can be found on the NppOpenAI development project page), so I suggest that instead of setting a route_chat_completions, you should specify the URL “all at once”, e.g.

      api_url=https://api.openai.com/v1/chat/completions

      Edit: You can leave the route_chat_completions setting unchanged.

      I apologise for the error!

    • Bernd SchneiderB

      Plugin request: insert relative path

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      0 Votes
      10 Posts
      3k Views
      ?

      Has anyone here found how to open those relative path links from within the Notepad++ file, in their default app ?

      That would make the solutions listed here even more useful IMO; one could have for instance have the documentation of a project in simple text files.

      Opening the links at either double-click (better, & underlined) or some other action.
      I’ve requested the feature on github https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16942

    • Clyde DarbyC

      View...How do I add browsers, so that I may run a program from different browsers.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      2k Views
      Bob BridgesB

      @Patrick-909

      And keyboard shortcuts can be assigned to menu commands by choosing run > modify shortcut and switch to the Main Menu tab on the Shortcut Mapper.

      It would be good to have the Open in Default Browser be located in either the View or Run Menus, but creating a shortcut works for me.

    • Satya Sriharsha BuddhaS

      Unable to see Data in the Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      28
      0 Votes
      28 Posts
      11k Views
      NebojshaN

      @xomx said in Unable to see Data in the Notepad++:

      I’d like to ask the affected users here, for which switching the DirectWrite OFF helped - what OS, graphics card and version of its drivers are they using?

      E.g. post: Windows 10, Nvidia GeForce xyz, 2/24/2023 30.0.14.7430

      (you can find such info e.g. by WinKey+R, type there devmgmt.msc -> OK, and check the Display Adapters > doubleclick on an adapter > Driver tab)

      Win 11, VMware SVGA 3D, 4/28/2023, 9.17.6.3
      Win 11, Microsoft Remote Display Adapter, 6/21/2006 10.0.26100.4484

      Accessing a VMware virtual machine via Remote Desktop Connection (RDP)

    • Mark D Worthen PsyDM

      Advice for Backup settings with AutoSave installed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      140 Views
      Mark D Worthen PsyDM

      @PeterJones Thank you for explaining everything so well. I really appreciate it. All the best - Mark

    • Bo ChenB

      Notepad++ has a Reload false alarm / bug? "This file has been modified by another program. Do you want to reload it"? even when it hadn't been recently modified at all?!

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      36
      1 Votes
      36 Posts
      15k Views
      K

      I’ve experienced something similar - Notepad++ will begin to occasionally corrupt files when I try to save them to a network drive. I can tell when it’s going to happen because it will not respond “not responding” for about 5-10 seconds, then display that error message. And it corrupts the file!!! When I’m heavily coding, this happens constantly. I have to make back-up copies constantly since it WILL corrupt the files! Extremely frustrating. This has only started being a problem within the past 2 ? updates.

    • BrenMarB

      I've had to get rid of Notepad++ and I sad Help with BUG

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      243 Views
      A

      @BrenMar

      Are you using Comodo AV by any chance?

      If so, add Notepad++ to the HIPS section as an ‘allowed application’.

      I normally get a pop-up asking to do that, but for versions 8.8.3 and later this wasn’t happening.

      Hope this helps.

    • 0

      Hide horizontal line at folds?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      342 Views
      ?

      @PeterJones said in Hide horizontal line at folds?:

      editor.setElementColour(ELEMENT.FOLD_LINE, (0,0,255,255))
      where the color is (RED,GREEN,BLUE,ALPHA)
      …
      And hiding it completely can be done by either setting the ALPHA to 0

      Yes, surprisingly this works.
      While:

      or editor.setFoldFlags(0) in PythonScript

      no, not by itself: it would leave behind a green line as if text were hidden with View/Hide Lines . As the other thread showed, that command would need to be followed by additional commands to set the Alpha of those “hidden lines’line” to 0. The full equivalent in Python would be:

      editor.setFoldFlags(0) old_col=editor.getElementColour(ELEMENT.HIDDEN_LINE ) new_col=old_col[:3]+(0,) # 0 for alpha, to hide; 255 to show editor.setElementColour(ELEMENT.HIDDEN_LINE, new_col)

      I find it puzzling that the latter solution requires further changing the "hidden lines’ line " colour, while:
      editor.setElementColour(ELEMENT.FOLD_LINE, (x,x,x,0))
      is enough by itself.
      At first I thought it’s a PythonScript behind the scenes trick, but it works in NppExec too, for example with:
      SCI_SENDMSG SCI_SETELEMENTCOLOUR SC_ELEMENT_FOLD_LINE 0x00000000
      (the relevant Alpha part is the first 2 0s , making color transparent/invisible).

    • Vitalii DovganV

      Why "Brace highlight style" font size hard-coded to 10 in "stylers.model.xml" ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      4 Votes
      2 Posts
      1k Views
      PeterJonesP

      @Vitalii-Dovgan ,

      PR 16928 will remove that forced fontSize, and fix other fontSize consistency problems in the model and themes.

    • M

      NPPCrypt not fully decrypting text.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      142 Views
      M

      @xomx said in NPPCrypt not fully decrypting text.:

      Could be. Seems to me that your file was simply out of sync somehow (common when the network is laggy or there was just a temp outage):

      To clarify the file is local to the systems I’m experiencing the issue. It’s created, open, edited, and saved here. The cloud storage is just as a backup. I’m not accessing it on a second machine.

    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      89
      5 Votes
      89 Posts
      131k Views
      Walter CookW

      @Travis-Owens231 Thank You, Travis

      It’s like boycotting the Google because you don’t like the political views of your neighbor because he delivers mail to an executive the works for Google! I can promise you, if you lived like that you would never be able to use anything.

      I guess we better start checking the political opinions of whomever is administering each server between our computers and every site we visit!

      People, Just Chill!

      Walter Cook