Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • donho

      Notepad++ v8.4.9 Release
      Announcements • • donho

      28
      9
      Votes
      28
      Posts
      1754
      Views

      Lycan Thrope

      @PeterJones ,
      Yep, that’s the way it sounded like he was explaining it to me, also. I get it, I just thought it humourous that we find what we think is a supposed “bug” in a new version and to get rid of it, we need to update to it. :) <-Notice smiley. :)

    • worldor

      Can I search among several xlsx files?
      Help wanted · · · – – – · · · • • worldor

      5
      0
      Votes
      5
      Posts
      61
      Views

      Mark Olson

      The Excel grepper tool is done. See https://github.com/molsonkiko/excel_grepper_npp.

    • Coises

      Using std::regex causes plugin loading to fail — is there an alternative?
      Plugin Development • • Coises

      5
      0
      Votes
      5
      Posts
      145
      Views

      Coises

      The problem was not at all what I thought. It turned out to be ordinary user error. There was a fault in the syntax of my regular expression. Having never used C++ regular expressions before, I didn’t know that even when the expression is coded as a character literal, Visual Studio compiles code containing invalid regular expressions without complaint and then throws a run-time error. Because it was in a plug-in dll and it was a static constant (hence, processed on loading), the dll failed to load at all.

      There is no problem loading a plugin that uses std::regex, so long as the expression doesn’t cause an exception.

      Thanks to those who replied.

    • thistlillo

      Login via github: cancelled but here I am
      General Discussion • • thistlillo

      2
      0
      Votes
      2
      Posts
      39
      Views

      PeterJones

      @thistlillo ,

      If you don’t want to receive emails, just go to your Settings and turn off any of the email notifications or digest subscriptions. If you’re really paranoid about not receiving emails, go to your Profile and Edit Email, and delete the value. But the forum only emails if you specifically ask it to in your settings.

    • Mohamed Mohamed

      Is there any easy way to change lower case to uppercase in batch subtitles?
      General Discussion • • Mohamed Mohamed

      4
      0
      Votes
      4
      Posts
      33
      Views

      PeterJones

      @Mohamed-Mohamed ,

      The Find in Files feature that @Alan-Kilborn mentioned searches across multiple files. If your episodes are in separate files, then Find in Files is the way to search through all the episodes for the text. If you had tried it, it would have been pretty obvious whether or not it worked for you.

    • Mojo Rising

      francostellari Plugin Zip files will not unzip
      Help wanted · · · – – – · · · • • Mojo Rising

      3
      0
      Votes
      3
      Posts
      49
      Views

      Mojo Rising

      @PeterJones Thanks Peter

      That seems to be the issue

      It is strange that the right-click download action generates a file with a .zip extension instead of .htm or something

      Anyway I have got the zip open now. Thanks

    • thistlillo

      Larger caret?
      General Discussion • • thistlillo

      2
      0
      Votes
      2
      Posts
      29
      Views

      Alan Kilborn

      @thistlillo

      Is there any way to get a larger (vertical bar) caret?

      Not without using a plugin.

      You could use PythonScript and use the command editor.setCaretWidth(x) where x can be at most 20.

      I’m sure the NppExec plugin can do it as well, and maybe even the ExtSettings plugin could assist.

    • Lycan Thrope

      functionList not ignoring comments
      Help wanted · · · – – – · · · • • Lycan Thrope

      1
      2
      Votes
      1
      Posts
      34
      Views

      No one has replied

    • TBugReporter

      Using the PythonScript plugin to automate N++
      Help wanted · · · – – – · · · • pythonscript automation • • TBugReporter

      25
      0
      Votes
      25
      Posts
      344
      Views

      Alan Kilborn

      I just noticed that we dealt with the topic of “early return” from a PythonScript before, HERE. That time, the simple return-from-main() technique satisfied the petitioner. :-)

    • swegmike

      How to add autocomplete schema to NPP distro?
      General Discussion • • swegmike

      11
      1
      Votes
      11
      Posts
      42
      Views

      swegmike

      @Michael-Vincent Check my reply to your post, and follow the link, @PeterJones at that links said he’ll take a look at all your xsd and dtd files this weekend if you repond and attach your files. Be aware that you may need to change the file extension to txt and state so in the post since the drag and drop doesn’t recognize some file extensions.

    • Evan Smith

      cannot find starterPage.html
      Help wanted · · · – – – · · · • • Evan Smith

      2
      0
      Votes
      2
      Posts
      26
      Views

      PeterJones

      @Evan-Smith ,

      Notepad++, like most applications, uses the Windows builtin File Open interface. So you navigate through your hard drive just like you would on any other application.

      If you do not know how to search your hard drive for a given filename, I suggest asking your favorite Search Engine that Knows All how to search a Windows machine for a given filename, since that’s a Windows question, not a Notepad++ question.

    • Howie Thurer

      CURRENT_WORD not selecting the proper text when used in column mode
      Help wanted · · · – – – · · · • • Howie Thurer

      10
      1
      Votes
      10
      Posts
      72
      Views

      Alan Kilborn

      @Howie-Thurer said in CURRENT_WORD not selecting the proper text when used in column mode:

      I think I need to focus on the Python Script Plugin to accomplish what I’m trying to do.

      Yes.

      It is OK that you have regular Python now, and the NppExec plugin. Both are “good to haves”. But they don’t help for what you are trying to do. NppExec perhaps could be of some help (I don’t know it that well), but with PythonScript you are definitely now on the fast track.

      As a kickstarter for one of the things you need to do, you probably want to make sure you have a selection when you run your (future) script:

      if not editor.getSelectionEmpty():

      If you demand a column-block selection, then verify that with:

      if editor.getSelectionMode() == SELECTIONMODE.RECTANGLE:

      You probably want to retrieve the selected text:

      text_of_col_block= editor.getSelText()

      If you want/need, get the column block into a list of the text on each individual line:

      sel_text_on_each_line_list = text_of_col_block.splitlines()

      …maybe enough of a kickstarter for now…

      But here’s another one for the second part of what you’re doing, IF you want to keep the “macro” approach; here’s a valid PythonScript syntax:

      notepad.runMenuCommand('Macro', 'Your Macro Name')

    • bry can

      move columns to rows w semicolon separator
      Help wanted · · · – – – · · · • • bry can

      3
      0
      Votes
      3
      Posts
      32
      Views

      PeterJones

      @bry-can

      It looks like you probably have the dir output from cmd.exe environment. If you had read the “Please Read Before Posting” and the Search/Replace FAQ it references, it would have been easier for us to be sure, rather than guessing. Also note: including data in your AFTER that wasn’t in your BEFORE is really confusing. And showing a screenshot from a spreadsheet program when you are asking for help with Notepad++ isn’t very helpful, either.

      Given it’s your first post, and you at least tried to provide BEFORE and AFTER data, I will take pity on you. But in the future, we will expect you to put in more effort to format your posts to be more readable. The FAQs linked at the bottom of my post will help you.

      Normally, I would tackle something like this is in my favorite programming language (and I actually wouldn’t parse the dir output; I’d navigate the directories from inside the programming language).

      However, if you insist on doing it in Notepad++ with Regular Expressions, it’s possible, especially if you are willing to do a multi-step process (all of which assume Search Mode is Regular Expression mode):

      Remove all leading spaces:
      FIND = ^\h*
      REPLACE = (ensure the box the box empty) Remove the blank line between “Directory” and the actual listing
      FIND = (?-s)^(Directory.*\R)\R
      REPLACE = $1 format the lines starting with dates
      FIND = (?-s)^(\d\d/\d\d/\d\d\d\d)\h*(\d\d:\d\d [AP]M)\h*(\d[\d,]*)\h*(.*)$
      REPLACE = ;$1;$2;$3;$4 move the summary line to the end of each block’s first ;-starting line. This one uses some pretty fancy tricks
      FIND = (?-s)^Directory.*\R;.*\K(\R(?:^;.*\R)*)(\d+ File.s.)\h+(.*)\R*
      REPLACE = ;$2;$3$1 combine the “Directory” line with the first ;-line below:
      FIND = (?-s)^(Directory.*)\R
      REPLACE = $1;

      AFTER

      Directory of e:\banana\AFFACT\AA Director;;06/19/2007;06:26 AM;239,616;AA Sexual Harassment Survey.mdb;2 File(s);538,624 bytes ;04/09/2008;10:13 AM;299,008;AASexualHarassmentPrevSurvey.mdb Directory of e:\banana\AFFACT\AA PLANS\AA PLAN 1999-2000;;09/26/2005;10:26 AM;21,460,992;bkruk.mdb;1 File(s);21,460,992 bytes Directory of e:\banana\AFFACT\AA PLANS\AA PLAN 2000-2001;;02/09/2006;11:36 AM;21,504,000;bkruk.mdb;1 File(s);21,504,000 bytes Directory of e:\apple\AFFACT\AA PLANS\AA PLAN 2001-2002\AA PLAN 2001 - 2002;;12/16/2002;09:41 AM;21,499,904;bkruk.mdb;1 File(s);21,499,904 bytes Directory of e:\orange\AFFACT\AA PLANS\AA PLAN 2002-2003\AA PLAN 2002 - 2003;;09/26/2005;10:42 AM;21,549,056;bkruk.mdb;1 File(s);21,549,056 bytes

      You can record that sequence as a macro and save it with a name and keyboard shortcut if you’re going to be doing this a lot. (If you do, please note that my sequence assumes you don’t have any <DIR> directory entries, and that it doesn’t show the “# Dir(s)” line after the “# File(s)” line, both of which are weird assumptions given the default output of dir, but match your shown data)

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • Mike Atnip

      Add line break before any number
      Help wanted · · · – – – · · · • • Mike Atnip

      2
      0
      Votes
      2
      Posts
      24
      Views

      PeterJones

      @Mike-Atnip ,

      In regular expression mode, putting \r\n in the replacement will add in a CRLF newline sequence (the normal Windows line ending)

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • Speedy Consolas

      minimized window closes Npp, why ? ( is a bug or malware of OS ? )
      Help wanted · · · – – – · · · • • Speedy Consolas

      3
      0
      Votes
      3
      Posts
      67
      Views

      Speedy Consolas

      Sorry my invalid feedback, I am found the option that the editor is being minimized to system tray instead of close. i.e. no problems on minimizing ! Opened files will NOT closed in the editor minimized to the taskbar.

    • young-developer

      NavigateTo - navigate between files(tabs) quickly like a Ninja :D
      General Discussion • navigation tabs features • • young-developer

      30
      0
      Votes
      30
      Posts
      17211
      Views

      MM-John

      Impressed that “5 years later” this thread and plugin again got attention. This plugin is exactly what I needed.

      The alternative plugin mentioned by @DaveyD in 2017, called “File Switcher, by Dave Brotherstone” no longer appears in my Plugin Admin (maybe I’m doing something wrong) so I’m glad I have this.

      [FYI: I found this plugin mentioned at https://community.notepad-plus-plus.org/topic/14375/search-open-file-name after searching the internet for “notepad++ search open tabs” and “notepad++ search open filenames”.]

      My problem is I have 31 tabs open and NavigateTo didnt see 2 of my tabs. Both are recently opened. But it does see fine another tab that was recently opened.

      One of the missing files is from a flash drive, flash drive then removed, npp asks me if I want to keep it and I say yes. But the other is regular file resident on local drive. And other files from the flash drive show up. And another new file I just loaded while writing this is correctly present in the NavigateTo list.

      I am using v.1.12.4.1 and my Notepad++ is at v8.3.3 which is not the latest.

      Possibly this fix released in v.1.12.6 that I don’t have yet fixes it: https://github.com/young-developer/nppNavigateTo/issues/15; Or my issue could be different/similar/related.

      I’ll update to the latest and try it again later when I have time.

      If it helps:
      Notepad++ v8.3.3 (64-bit)
      Build time : Mar 13 2022 - 17:20:02
      Path : C:\M***s\programs\npp.8.3.3.portable.x64\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : ON
      Cloud Config : OFF
      OS Name : Windows 10 Pro (64-bit)
      OS Version : 2009
      OS Build : 19044.1766
      Current ANSI codepage : 1252
      Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NavigateTo.dll NppConverter.dll NppExport.dll NppTextViz.dll NppXmlTreeviewPlugin.dll TakeNotes.dll XMLTools.dll

    • Shmulik Azulay

      combine plugin
      Plugin Development • • Shmulik Azulay

      17
      0
      Votes
      17
      Posts
      571
      Views

      Alan Kilborn

      I noticed that the technique using the BetterMultiselection plugin described here: https://community.notepad-plus-plus.org/topic/22358/ Jan 8, 2022, 7:55 AM could also solve the problem of @0Raniere0 ; it may be very similar to @guy038’s solution presented directly above.

    • oeloo

      How to use Antidote Druide on Notepad++, as it works for Notepad
      General Discussion • • oeloo

      3
      0
      Votes
      3
      Posts
      43
      Views

      PeterJones

      @PeterJones said in How to use Antidote Druide on Notepad++, as it works for Notepad:

      better search engine mojo

      I found this article which explains a few alternate mechanisms for accessing, including putting the text into the clipboard (ie, select text and copy it), which then gives Antidote access to it.

      Also, they say Antidote has an API, so in theory, someone could write a plugin for Notepad++ that calls that API (but I’ve never seen someone in the forum volunteer to write a whole plugin for a use-case that they have no use for, so unless you or someone you know or hire has the skills to write the plugin, I doubt that will happen).

    • Faseeh Shah

      Replacing/Translating multi string values to other international language
      Help wanted · · · – – – · · · • • Faseeh Shah

      7
      2
      Votes
      7
      Posts
      62
      Views

      Alan Kilborn

      @Faseeh-Shah said in Replacing/Translating multi string values to other international language:

      Luckily I found solution, a script.

      If that’s what you were looking for, you shouldn’t have asked your original question in a Notepad++ forum, as it is OFF-TOPIC.

      Here we only deal with what Notepad++ can do for you, and what you can do with it.

      In other words, your question must be related to Notepad++ in some way. Your question was NOT.

    • AZJIO AZJIO

      The author asks to finance the war
      Boycott Notepad++ • • AZJIO AZJIO

      4
      -3
      Votes
      4
      Posts
      142
      Views

      AZJIO AZJIO

      @dinkumoil said in The author asks to finance the war:

      So, it seems like this guy is a liar. But of course,

      He is mistaken when he tries to talk about the USSR. In this case, he thinks like all Americans stuffed with propaganda. But speaking about his country, he talks like a person who understands what he is talking about.

      @Alan-Kilborn said in The author asks to finance the war:

      Russian news source

      Do you think that professional actors were filmed here?