• Setting up NP++ on new PC

    9
    0 Votes
    9 Posts
    410 Views
    Betsy GarfieldB

    @alan-kilborn

    Somebody helped me set up the new pc (it’s an old fashioned tower). He downloaded apps from a list I made. I don’t know exactly where or how he did it. The ‘weird icons’ were there and I doubt he fiddled around with those settings. I’m sure he accepted all the default suggestions on first install.

    Thank you for your comments. Thank you all for speedy replies! I appreciate it. If I need more help I will try to be specific and not vague. :-)

  • Find and Replace

    21
    0 Votes
    21 Posts
    6k Views
    TanquenT

    @peterjones said in Find and Replace:

    you might want to change to [^,\r\n]* for this token to avoid grabbing newlines as well

    Not sure what the issue is. For this file type the template and header rows do not end with a comma. The first field doesn’t start with a comma but that seems to be ok as it sees it correctly as a tag and stops at the first comma. So far, these rows also always end with a comma.

    If two lines where like this and did not end in a comma and ended with a tag:

    DFO_129,S9_Filters,Default,XV_195401,DFO_129 CD_132,S9_Filters,Default,XV_195401,CD_132

    I could maybe endup with this?

    DFO_129CD_132

    I think I’m ok, it seems to work and all the rows with tags end with a comma and if they did not the result would jump out at me, maybe.

    Is there any easy way to stop at the comma but not include it? Seen some examples using Find and Replace to remove an end character but not just in the find expression for marking.

  • NppGtags occur "vector<T> too long" with v8.4 and later

    6
    0 Votes
    6 Posts
    1k Views
    Michael VincentM

    @goldfish-village said in NppGtags occur "vector<T> too long" with v8.4 and later:

    @michael-vincent Thanks, I got response from GitHub

    Great - @pnedev is a very responsive developer, pretty sure there’d be a fix soon, if not one already (which I seems like there was).

    Cheers,

  • How to move text block between two other text blocks?

    5
    0 Votes
    5 Posts
    540 Views
    PeterJonesP

    @hudson4351 ,

    Or alternately, column select, click-and-hold on the upper left b, then drag so the cursor is two spaces after the first bar and then drop: it will be in the new location

  • Layout breaks after a few days

    28
    0 Votes
    28 Posts
    5k Views
  • How to copy as extended, eg CRLF to \r\n

    5
    0 Votes
    5 Posts
    2k Views
    Alan KilbornA

    @patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:

    I want text with the extended notation which I can edit.

    I’ve found a method for this, with 8.4.2 software, but it is definitely not specific to this version (just documenting which version I used):

    select some multi-line data press Ctrl+f to bring up the Find window select a Search mode of Normal run a Find All in Current Document search

    Note that the Find what field now (post-search) contains text in “extended notation”, which may be copied elsewhere and edited. Note also that the Search mode has been changed to Extended.

    Example:

    Start with this text:

    456 abc 123 def

    Select text as follows:

    1fc0c11f-dffc-4944-845f-85af99617ead-image.png

    Press Ctrl+f. Set up this search (important – don’t change what was auto-populated into Find what):

    2fc7996e-d8a4-4428-aaec-8ce73b77c587-image.png

    Press the Find All in Current Document button and see how the Find what box content has changed:

    74f0195b-417c-4126-8de6-f72340aa9e89-image.png

    The Find what box data can now be copied elsewhere and edited, as it is now abc\r\n123\r\n.

    Note also that the Search mode has been changed to Extended.

    BUG:

    Repeat the experiment, but this time change the Search mode to Regular expression and change one character in the Find what data to a . before running the Find All in Current Document search:

    8f8d7cfe-846b-4e4a-9de1-b6e27199cfb8-image.png

    The result of the search: no matches.

    45a83617-4866-408a-a792-b86a8a5db8d6-image.png

    There should be 1 match. :-(

    This happens because Notepad++ changes my search from a Regular expression search to an Extended search, before the search happens. :-(

    For more info, see https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11847.

  • Very new to notepad++

    37
    0 Votes
    37 Posts
    8k Views
    John RussellJ

    Above code works perfectly 😁 Thank You 👍

  • Horizontal line question

    38
    0 Votes
    38 Posts
    15k Views
    Snabel42S

    @peterjones if it’s interesting, I finally hunted down the relevant UltraEdit wiki page as well as a screenshot of it being used

    53912d41-6bdc-41b2-8ef1-f32e5a520a63-image.png

  • code occurrences bookmark on scrolling bar

    4
    1 Votes
    4 Posts
    610 Views
    Alan KilbornA

    Note that although the OP in this thread has used the term “bookmark”, what is being discussed has nothing to to with Notepad++ bookmarks.

    What the OP means is more tied to the Notepad++ Smart Highlighting feature – the feature that, if you double-click a word, Notepad++ highlights in light-green coloring all of the matches in the text of the document.

    OP would like location in the doc of such matches to be highlighted as a small rectangle on the vertical scrollbar of the document.

    This is similar to other some existing requests, to do same type of thing when a true search is run, e.g., a Find Next or a Find All in Current Document.

  • Auto-delete closing brackets after deleting opening brackets.

    4
    0 Votes
    4 Posts
    2k Views
    Lycan ThropeL

    @terry-r ,
    I agree with your analogy, but as the OP has “shown” what he starts and wants to end with, Alan’s answer is germane to the question at hand, whilst your’s evokes a new creature feature. :-)

  • How to jump to previous active tab/file with PytonScript?

    9
    0 Votes
    9 Posts
    740 Views
    Alan KilbornA

    @andi-kiissel said in How to jump to previous active tab/file with PytonScript?:

    notepad.activateIndex(view, index)

    You need to put this together with notepad.getFiles() as it is an iterable that returns all of the necessary information. See the help for that function and you’ll see what I mean.

  • Replace a string with space

    4
    0 Votes
    4 Posts
    425 Views
    MachineThatGoesP1NGM

    Highlight and press space right ? is that not what your looking for?

  • Access Violation Specifically With 'Unwrap Text' within TextFX

    15
    0 Votes
    15 Posts
    3k Views
    PeterJonesP

    @alan-kilborn said in Access Violation Specifically With 'Unwrap Text' within TextFX:

    If you’d like to make one, I’m sure Peter Jones would be agreeable to creating an entry in the FAQ section here with such data.

    Created and initially populated

    (I had a spare hour before dinner today)

  • SOS HELP With 2nd Instance

    2
    0 Votes
    2 Posts
    329 Views
    PeterJonesP

    @niko-hamil ,

    Unfortunately, as you may have surmised from the resounding silence, there is not much you can do: if the periodic unsaved-file “backups” aren’t in their folder, then the crash caused Notepad++ to exit during the brief time that the files didn’t exist (or you didn’t have the unsaved-file backups option turned on)

    For the future, I recommend saving your files to known locations frequently, rather than leaving them opened-and-unsaved. For more, see our backup FAQ

  • Windows error or NP++ error (?)

    3
    0 Votes
    3 Posts
    396 Views
    Philippe 78P

    @alan-kilborn
    ok, thanks for that :)

    for the rest the program works, if I run it directly.

  • Custom Styling

    5
    0 Votes
    5 Posts
    525 Views
    HeehonkH

    @alan-kilborn Perfect! Thanks so much.

  • Notepad++ 8.4.2 not recognizing file extension to define language

    24
    0 Votes
    24 Posts
    8k Views
    PeterJonesP

    @pallieguy said in Notepad++ 8.4.2 not recognizing file extension to define language:

    I wonder when I did that?

    Probably at one of the updates: there was a while when the installer would not notice an old installation if it wasn’t in c:\program files\notepad++, so even if you had installed to D:\notepad++\, the updater/installer would put the newer copy in c:\program files\notepad++ instead. IIRC, that has been fixed (I spent a couple minutes searching through the issues list, but wasn’t using a narrow enough set of search terms, so couldn’t find it buried in all the other results), so the next time you run the installer/updater for whatever version you end up keeping, it should hopefully default to the existing location.

  • Npp 8.4.2 unreponsive during edting

    13
    0 Votes
    13 Posts
    1k Views
    Mats KøberM

    @peterjones @Alan-Kilborn
    Just wanted to thank you guys for your feedback and advice the other day.

    After unistalling Notepad++ and deleting the folder in the programs file, as well as the one in #APPADATA#, I downloaded Notepad again, and installed xml-tools. I took the advise from @Snabel42 and unchecked some options in the plugin meny, and things seemed to work fine.

    But not for long … I belive there is some issues with the plugin, and that it affects the performance of Notepad++, making it unresponsive for shorter or longer periodes, both when using find/replace and when working more manually with the text, on the keyboard and/or with the courser.

    I’ll go to the plugin people on github and post an issue, but thanks again!

    Mats

  • 0 Votes
    3 Posts
    4k Views
    PeterJonesP

    @d-east ,

    Interesting, I did lots of experimenting after someone mentioned sessions to me, and found the following sequence:

    Only one instance open of Notepad++ Open change.log and license.txt (closing anything else first) File > Save Session… => main.sess File > Close All Settings > Preferences > Multi-Instance & Date > Multi-Instance = Open Session in new instance View > Document List turned on Open readme.txt Exit Notepad++ and restart At this point, the Document List is still visible File > Load Session… => pick main.sess It opens change.log and license.txt in a second Notepad++ instance, but this instance does not have Document List visible Exit the second instance of Notepad++ Exit the first instance of Notepad++ Restart Notepad++ to prove that Document List is still visible, which proves that the setting is still in effect

    This confirms your issue.

    I was going to point you to the FAQ for where to submit bug reports, but it turns out issue #9710 already shows a report of the same issue: “Document List panel is not shown when new instance is run”.

  • Notepad ++ 8.3.1 crashes and closes without warning

    6
    0 Votes
    6 Posts
    5k Views
    PeterJonesP

    @teo-deb ,

    Weird. You might want to grab a fresh copy of nppPluginList.dll from one of the portable downloads, and see if that fixes it. Because I know that nppPluginList does not crash v8.4.1 (or any other version of Notepad++ I’ve used since v7.6.3 stabilized on the modern nppPluginList)