• Larger caret?

    6
    0 Votes
    6 Posts
    450 Views
    Alan KilbornA

    @thistlillo said:

    High-DPI are an issue with Notepad++

    Agree.

    I thought it would not be that hard to add, but I am clearly wrong.

    It would NOT be that hard to add, you just have to see if someone is interested in adding it, or contribute the change yourself and hope that the author is interested enough to accept the change.

    Or, use one of the alternatives I mentioned earlier.

  • 0 Votes
    4 Posts
    275 Views
    PeterJonesP

    @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.

  • How to add autocomplete schema to NPP distro?

    11
    1 Votes
    11 Posts
    11k Views
    swegmikeS

    @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.

  • 0 Votes
    32 Posts
    22k Views
    MM-JohnM

    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

  • Move word with notpad++

    5
    0 Votes
    5 Posts
    582 Views
    faouzi satF

    @PeterJones said in Move word with notpad++:

    @faouzi-sat ,

    Here’s your freebie, since this was your first post. And I appreciate that you showed before-and-after data, even if you neglected the </> button to mark your text as plaintext. But as Terry was encouraging you, you will get better help (and learn more) if you put in more effort when asking for help.

    So, in Regular Expression search mode,

    : matches a literal colon \d+ matches one or more digits \. matches a literal dot/period/fullstop character putting () parentheses around an expression will save it in the next capture group number

    And in the replacement, $1 references the first capture group number.

    Putting that all together: put a colon and one or more digits in group#1 and the sequence of digits-dot-digits-dot-digits-dot-digits in group#2, and replace with group2-then-group1

    FIND = (:\d+) (\d+\.\d+\.\d+\.\d+) REPLACE = $2$1

    ----

    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

    Working !

    thanks

  • 0 Votes
    4 Posts
    534 Views
    guy038G

    Hello, @david-cummings, @alan-kilborn and All,

    Not difficult with regexes !

    So, let’s start with this INPUT text :

    406D69 NPT04S G-JMCH B734 West Atlantic UK -------- 25025 24450 1250 1250 30/01/2023 23:54:46 30/01/2023 23:59:31

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?x-s) ^ (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) \x20 (\S+) | \x20+ -------- .+

    REPLACE (?1\1,\2,\3,\4,\5)

    Untick all box options

    Tick the Wrap around option

    Select the Regular expression serach mode

    Click on the Replace All button

    => You should get your expected OUTPUT text :

    406D69,NPT04S,G-JMCH,B734,West Atlantic UK

    If OK, I’ll explain you how it works, next time !

    Note that I use the Free Spacing mode (?x), in the search regex, in order to separate the main parts for a better comprehension

    Best Regards,

    guy038

  • Rendered markdown

    2
    0 Votes
    2 Posts
    338 Views
    PeterJonesP

    @SouthPole-Cat ,

    yes.

    In Notepad++ natively, no. But using the plugin MarkdownViewer++, a converter-and-renderer is embedded into your Notepad++ environment for you.

  • More Notepad++ resources

    2
    3 Votes
    2 Posts
    236 Views
    No one has replied
  • will notepad++ support macOS?

    5
    1 Votes
    5 Posts
    5k Views
    ArtOfficialIntelligenceA

    Hello from the future of 2023!

    Some ingenious and clever programmer created a cross platform clone of Notepad++ and is available on all major OSes including macOS.

    *Though the application overall is stable and usable, it should not be considered safe for critically important work.

    https://github.com/dail8859/NotepadNext

    Enjoy!

  • Is there a way to convert multiple text files to docx with notepad++ ?

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Paul-Wormer said in Is there a way to convert multiple text files to docx with notepad++ ?:

    The other way is: zip xml’s.

    Well, the other way might be to figure out what xmls to create, before zipping…
    The presumption here is that user just has free-form .txt files, right?

  • Foreground options for Selected text?

    26
    0 Votes
    26 Posts
    59k Views
    Laurie StearnL

    @Alan-Kilborn Good one, thanks.

  • Can't make Notepad++ a default application

    3
    0 Votes
    3 Posts
    852 Views
    guy038G

    Hi, @peterjones, @steve-thorpe and All,

    In your post to Steve, I suppose that you wanted to advice :

    I suggest searching through your registry for notepad++.exe

    BR

    guy038

  • 0 Votes
    14 Posts
    2k Views
    VL4DST3RV

    @Alan-Kilborn
    Oh i did not catch that, glad there is actually a way to do it at all, even if a bit cumbersome. And yeah, an actual proper checkbox option within preferences would have been ideal, but i’ll take what i can get.

  • Save when Exit program

    3
    0 Votes
    3 Posts
    432 Views
    EkopalypseE

    @Paul-Beunk

    At Notepad+ it doesn’t save it on exit

    Of course it is saved, it is in the configured backup directory.
    If you don’t like it, reconfigure your settings by unchecking "Enable session and snapshot … "

    f2635b30-ecfc-434a-92cf-de8efc15d173-image.png

  • Why Does app take so long to start?

    3
    0 Votes
    3 Posts
    247 Views
    Terry RT

    @Robert-Rodriguez said in Why Does app take so long to start?:

    it takes 5-10 seconds for Notepad++ to launch

    Is it loading some files? Are some possibly large or possibly of a sort that will be colourised by lexers. Are some of the files on a network/remote drive. All these things can have a part to play in how long Notepad++ takes to prepare the window for you to interact with.

    Terry

  • Show only lines that contain a search term

    35
    5 Votes
    35 Posts
    7k Views
    Alan KilbornA

    Due to the problem seen earlier, I decided to take another approach, so that Notepad++ would cooperate better with the lines I was hiding in order to achieve the goals of the script.

    Unfortunately, I’ve encountered too many bugs with the hidden lines feature, that it isn’t worth continuing. I think that, at least for now, I’m giving up on this idea…

  • Same name for the tabs

    Locked
    18
    0 Votes
    18 Posts
    1k Views
    NameNotShortN

    @Alan-Kilborn said in Same name for the tabs:

    @NameNotShort said in Same name for the tabs:

    Who is doing dumb things here?

    I’d say it is the person with -1 reputation point versus the one with +9463…

    Seriously, though, my (harsh) post was really designed to cause you to have a moment of reflection, to the tune of “IS what I’m wanting to do really dumb?”. There’s only one answer to that, IMO.

    Cheers.

    I just had some tea.
    This sentence has as much value as your +9463 reputation points. It doesn’t change anything and doesn’t make you superman.

    You’d better think about the nonsense you’re writing.
    No one asked your opinion about what is stupid and what is not. Anything can look stupid if you think stupid.

  • Spaces between text...

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Brian-Riback ,

    Use regular expression mode. Use FIND = \s+ and REPLACE = \x20 (or a single space; both are equivalent).

    (BTW: don’t expect people to actually click on a link to a random file in a google drive or other location, since there is no guarantee what’s actually at the other end of such a link.)

    ----

    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
  • ShellExecute failed

    6
    0 Votes
    6 Posts
    463 Views
    Alan KilbornA

    Does this file exist on your system?:

    Of course

    There are a number of posters here for whom this is not a foregone conclusion! :-)

  • limit the number of lines in a document ?

    4
    0 Votes
    4 Posts
    270 Views
    Alan KilbornA

    @Shekhar-Singh said in limit the number of lines in a document ?:

    when the note is fresh & its edited?

    Don’t know what that means.