Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • Fabio Dalla Villa

      CSVLint.dll problem during setup
      • Fabio Dalla Villa

      5
      0
      Votes
      5
      Posts
      125
      Views

      Fabio Dalla Villa

      @lycan-thrope Thank you!

    • TekBear

      File TabBar Context Menu
      file tabbar menu • • TekBear

      5
      0
      Votes
      5
      Posts
      55
      Views

      TekBear

      @alan-kilborn said in File TabBar Context Menu:

      @tekbear

      Yes, see HERE.

      Thanks, I just finished getting it done (debugging a spelling mistake is painful). For the benefit of others here is an example:
      npp custom context menu.png

    • Gabriel Mourão

      Find/Replace - keeping a part of the find, remove everything else
      • Gabriel Mourão

      4
      0
      Votes
      4
      Posts
      68
      Views

      guy038

      Hello, @gabriel-mourão, @alan-kilborn and All,

      I’m sorry, Gabriel, but your final search regex seems invalid -:((

      May be it’s some typos, introduced by the forum syntax, but one correct syntax is :

      !\[([^]]+[A-Za-z{}=\\/!_-\s])\]\([^)]+[A-Za-z{}=\\/()!_-\s]

      Using the free-spacing mode, (?x), this syntax can be split as below :

      (?x) !\[ ( [^]]+ [A-Za-z{}=\\/!_-\s] ) \] \( [^)]+ [A-Za-z{}=\\/)!_-\s]

      Note that :

      On one hand :

      The part [^]]+ matches the chars range ![\vec{Q}=m \cdot \vec{\Delta v}

      The part [A-Za-z{}=\\/!_-\s] matches the single char ]

      On the other hand :

      The part [^)]+ matches the chars range (vec{Q}=m_!cdot_!vec{!Delta_v}

      The part [A-Za-z{}=\\/)!_-\s] matches the single char ), at the end

      I suppose that it’s not exactly what you want !

      Your need could rather be expressed as :

      First search for an exclamation mark and an opening square bracket ![

      Then, search for the smallest range of chars…

      Till an ending square bracket ]

      Now, search for an opening parenthese (

      Then, search for the smallest range of chars…

      Till an ending parenthese )

      This leads to this simple regex S/R :

      SEARCH (?-s)!\[(.+?)\]\(.+?\)

      REPLACE \$$1\$

      Best Regards,

      guy038

    • Tony Wang 0

      Can't set notepad++ as default program in Windows 10???
      • Tony Wang 0

      11
      0
      Votes
      11
      Posts
      10219
      Views

      Alaattin Köroğlu

      @prahlad-makwana4145 thanks to you i found the thing to solve my problem at first glance.

    • xebico

      Can I set the default save location?
      • xebico

      3
      0
      Votes
      3
      Posts
      54
      Views

      xebico

      @alan-kilborn Works for me! I had it on Follow current document, but if NPP wasn’t open already, it still defaulted to Public Documents. (Odd, because I never use Public Documents for anything.)

      Thank you for helping — I figured it would be something simple that I overlooked.

    • C Bacca

      How to show ascii value of one selected character or a double byte character?
      • C Bacca

      12
      0
      Votes
      12
      Posts
      169
      Views

      Alan Kilborn

      @alan-kilborn said in How to show ascii value of one selected character or a double byte character?:

      I will create an issue on your github page

      I did this HERE.

      (Sorry for getting off-topic.)

    • AliMirzaei5778

      How to join some lines with desired specifications in notepad++
      notepad ++ • • AliMirzaei5778

      3
      0
      Votes
      3
      Posts
      75
      Views

      AliMirzaei5778

      @peterjones
      Thank you very much. Everything is perfect.

    • AliMirzaei5778

      This topic is deleted!
      • AliMirzaei5778

      2
      0
      Votes
      2
      Posts
      7
      Views

      No one has replied

    • john Eski

      find and replace with wildcards
      • john Eski

      16
      0
      Votes
      16
      Posts
      133
      Views

      john Eski

      @guy038 Thanks Guy and Terry

      this is a machine file so certain piece have more operations than others (operations like Dimple)

      terry’s code worked really well. Thank you again Terry, now i just have to do the reading to comprehend

    • Lisa

      Grab text from chrome
      • Lisa

      2
      0
      Votes
      2
      Posts
      39
      Views

      PeterJones

      @lisa ,

      Not built in. Notepad++ does not know how to remote-control Chrome (or any other app)

      That said, as a workaround, just copy the URL from Chrome yourself, and paste it into your Notepad++ document.

      Or use Chrome’s built-in bookmark feature, as that is that feature’s reason existence

    • Konrád Lőrinczi

      Modify shortcut menu entry executes HTMLTidy
      • Konrád Lőrinczi

      3
      0
      Votes
      3
      Posts
      72
      Views

      aranapatona

      @konrád-lőrinczi said in Modify shortcut menu entry executes HTMLTidy:

      When I press the Macro > Modify shortcut / Delete macro menu entry in Notepad++, HTMLTidy is executed on the current file, then I get a popup error dialog:
      TextFX
      “Writing error summary to C:\winprg\Notepad++\plugins\NppTextFX\Config\tidy\HTMLTIDY.ERR”

      Debug info:
      Notepad++ v8.1.9.3 (32-bit)
      Build time : Dec 6 2021 - 19:16:45
      Path : C:\winprg\Notepad++\notepad++.exe
      Command Line :
      Admin mode : ON
      Local Conf mode : ON
      Cloud

      Config : OFF

      OS Name : Windows 7 Professional (64-bit)
      OS Build : 7601.0
      Current ANSI codepage : 1250
      Plugins : BetterMultiSelection.dll ccc.dll ComparePlugin.dll DSpellCheck.dll HTMLTag_unicode.dll mimeTools.dll NppCalc.dll NppCCompletionPlugin.dll NppConverter.dll NppExport.dll NppFavorites.dll NppSnippets.dll NppTextFX.dll NppTextViz.dll PreviewHTML.dll QuickText.dll Remove Duplicate Lines.dll SelectQuotedText.dll SessionMgr.dll SherloXplorer.dll SurroundSelection.dll Translate.dll WebEdit.dll WindowManager.dll

      How to fix this problem?

      Thanks!

      this happened to me too, just remove textfx and reinstall it, problem is am already defined macro (alt-shift-s) that is conflicting with textfx

    • Anthony Blinco

      Python console, Goto line appears to have stopped working
      • Anthony Blinco

      4
      0
      Votes
      4
      Posts
      77
      Views

      R

      It’s already been reported to the PythonScript devs: https://github.com/bruderstein/PythonScript/issues/234

    • Amit

      Paste the output of an executable (exe) in Notepad++ current file
      • Amit

      4
      0
      Votes
      4
      Posts
      68
      Views

      Amit

      @peterjones I will give pythonscript plugin a try. Thank you. Really appreciate a detailed answer.

    • Piyush R

      "Exception reason: Access violation" in latest version(notepad-v8-4-2-releas) notepad++
      • Piyush R

      2
      0
      Votes
      2
      Posts
      55
      Views

      PeterJones

      @piyush-r

      If you disable the nppAutoDetectIndent plugin (rename the folder that the DLL is in… probably c:\program files\notepad++\plugins\nppAutoDetectIndent\) and re-run Notepad++, does it work?

      if so, the bug is in nppAutoDetectIndent. Check to see if there’s a newer version to install. If not, create an issue with the developer of that plugin to let them know that their plugin is not compatible with Notepad++ v8.4.2, and they will have to do the fix.

      Please someone fix this issue.

      There is nothing that the Community of Notepad++ users (which is who this forum is made of) can do to fix this for you. You will have to find the issues location for that specific plugin.

    • Ken Shaw

      Regular expression captures all the data I am looking for but how can I copy that data?
      • Ken Shaw

      7
      0
      Votes
      7
      Posts
      88
      Views

      Ken Shaw

      @peterjones
      Woot my company installed the latest version of NotePad ++ so very happy

    • Alan Kilborn

      Setting a file tab's Language to "Internal Search"
      • Alan Kilborn

      3
      2
      Votes
      3
      Posts
      76
      Views

      Alan Kilborn

      @ekopalypse

      Hmm, sounds complicated…probably more effort than I want to go to, as the text I’d want to lex may not end up being exactly like “search result” text anyway.
      Thanks for your thoughts on the matter.

    • Earth Invader

      Is multi-caret editing bugged?
      • Earth Invader

      25
      0
      Votes
      25
      Posts
      165
      Views

      Alan Kilborn

      I just noticed an ISSUE that seemed very relevant to this thread.

    • Robin Cruise

      Regex: Delete only one instance of a string between two html tags (double quotes)
      • Robin Cruise

      7
      0
      Votes
      7
      Posts
      97
      Views

      Robin Cruise

      @guy038

      I try myself to find a generic, from your regex. Works well, except doesn’t work for " (double quotes) because is repeated in the tag construction. I change those extra quotes on the content of tags, with a work, like “BOOM” and it find/replace it well beetween start and ending tag.

      These are the generic regex for your second solution. Are almost the same, short and long version. Makes the same thing, find and replace just well between start and ending tags.

      (?<!=\x20)(?<!=)FR(?!>|ESR|\x20>|\x20/>|\?>|\x20\?>|BSR)

      OR

      (?<!=\x20)(?<!=)FR(?!>|ESR|\x20>|\x20/>|\?>|\x20\?>|\x20BSR)

      OR

      (?<!=\x20)(?<!=)FR(?!>|ESR|\x20\?>|\x20BSR)

    • Kanagi

      Copy only the not hidden text.
      • Kanagi

      4
      0
      Votes
      4
      Posts
      54
      Views

      guy038

      Hello @kanagi, @alan-kilborn and All,

      In addition to the Alan’s python script, I advice you to read this post first

      Then, if not confidential, you could share with us some text with possible hidden parts and we’ll probably be able to find out some regexes to bookmark the non-hidden sections or the hiden ones !

      See you later,

      Best Regards

      guy038

    • Vincil Stockdale

      Multi-Line Indent No Longer Working in v8.3.3
      • Vincil Stockdale

      2
      0
      Votes
      2
      Posts
      41
      Views

      PeterJones

      @vincil-stockdale ,

      It works for me: select multiple lines, hit TAB to move them one tabstop right, and Shift+TAB to move them one tabstop left, which is exactly what I expect:

    Copyright © 2014 NodeBB Forums | Contributors