• Autocomplete Items Order Issue

    35
    0 Votes
    35 Posts
    7k Views
    pnedevP

    @valery-bogomolov ,

    This thread is becoming rather mixed-up.
    Please open an issue in NppGTags repo to discuss its autocomplete problem there.

    At first look it seems that the parser you are using (GTags maybe) is not recognizing some symbols in your codebase. AFAIR, the parser won’t be able to parse Unicode right if you are using it.

  • text and CSV file saving issues time stamps problem

    2
    0 Votes
    2 Posts
    408 Views
    PeterJonesP

    @john-ellenberger ,

    In general, Notepad++ does update the time stamp when it writes a file… I have no problems with timestamps not being right when Notepad++ writes a file no matter where it’s written. This is likely because it’s not really Notepad++ that handles timestamps, but the OS interacting with the filesystem.

    That said, Microsoft applies magic to lots of their tools, and Sharepoint is probably no exception.

    Unfortunately, without access to a Sharepoint that I have write permission on (and without being able to figure out how to map a sharepoint location to Windows Explorer), I cannot replicate your problem.

    Given that every MS search location for “map sharepoint drive” says something to the effect of “Mapping a network drive uses WebDav, an older technology which is slower and less reliable than syncing SharePoint files with the new OneDrive sync client. …”, I think MS is moving away from mapped sharepoint drives. If you have the option of accessing your sharepoint through OneDrive instead, that might be more reliable (and in OneDrive, if you tell it to “always keep this file on my computer”, then Notepad++ should have no problem writing to it and keeping the timestamp up to date… at least, I have never had a file saved from Notepad++ to my OneDriveForBusiness location not save the timestamp correctly).

    Sorry I couldn’t give you a nice easy solution.


    edit: rephrased first paragraph, because certain readings made it look like I was contradicting myself

  • Search and replace problem

    3
    0 Votes
    3 Posts
    794 Views
    Mike CustoderoM

    @peterjones

    Thank you so much
    Mike

  • UDL comment entries.

    16
    0 Votes
    16 Posts
    1k Views
    PeterJonesP

    @pasha-19 ,

    I must apologize for being obtuse.

    After looking into this report and this issue #11239, it looks like v8.3.1 is doing something weird with the UDL comment entries, but worked properly in v8.3 and earlier. I now think there was a regression in the UDL Comment handling in v8.3.1. Given the description you showed above – especially with the XML showing single-digit rather than double-digit in the tag value – I believe the problems you were having with Comment Line syntax are caused by the same issue.

    Hopefully it will be fixed in the next release of Notepad++ – until then, stick with v8.2.1. And again, sorry for not groking what you were trying to say.

  • Autocompletion in macro

    2
    0 Votes
    2 Posts
    248 Views
    PeterJonesP

    @martin-šulák ,

    I’ve never done that before, so I don’t know if it’s possible. However, since you think it used to be possible (but your question implies that it no longer works): my bet is that you have recently updated to v8.2.1 or v8.3.0. If so, you will have to go into Settings > Preferences > Auto-Completion, and click the checkbox on for ☑ ENTER to re-enable ENTER as the auto-completion key. Once that is done, I think your old macro might work again.

  • Notepad++ 8.3.x won't start anymore

    11
    0 Votes
    11 Posts
    1k Views
    Mark BeavenM

    I had similar symptoms - application stopping after a few seconds after the update to NP++ 8.3.1, although I didn’t get an error pup-up. I found it was caused by the plugin “Task List”. I see you have that plugin too.

    To resolve, I had to open NP++ with only a blank document (as soon as there is any text it crashes) and uninstall “Task List”. To be able to do this, you may have to delete your session file, “…\AppData\Roaming\Notepad++\session.xml”

    Any files you had opened in your session will be in “…\AppData\Roaming\Notepad++\backup” so you shouldn’t lose anything.

    Hope this helps.

  • Find and select multiple lines to change order

    18
    0 Votes
    18 Posts
    962 Views
    guy038G

    Hi, @darthdata and All,

    In this case, change the second regex S/R into this one :

    SEARCH (?-is)^.+(?:PST|MST|MDT)(?=\R(?:.+(?:PST|MST|MDT)\R)*?(Account: .+)\R(.+))|^(.+\R){2}

    REPLACE ?1\1 - $0 - \2

    BR

    guy038

  • Embed a hyperlink to text?

    3
    0 Votes
    3 Posts
    465 Views
    Alan KilbornA

    @sadicus

    Can’t be done.
    Notepad++ is a text editor; nobody using a text editor wants textual content that can’t be seen, or is obfuscated.

  • Special Characters

    9
    0 Votes
    9 Posts
    467 Views
    EkopalypseE

    @ydvaditya

    You can’t assign it for all documents but for all “new” documents by using settings->preferences dialog

    cea85479-5b10-48ab-bf59-a01c2851929a-image.png

  • shared file opened causes the app starting to crash

    3
    0 Votes
    3 Posts
    250 Views
    ars1614A

    @ars1614 I meant when there is not access to the remote folder.
    Don’t know if this also crashes when there is access and no file.

  • New user having trouble getting line/blank operations to work

    33
    0 Votes
    33 Posts
    10k Views
    motreoM

    @terry-r For some reason I can’t use any regexs on the LF versions of these transcripts - I get an error message about the document being read only. Guy038 wrote a new regex that worked like a charm, though.

    Thanks again for your help leading me through this. I appreciate it :)

  • Custom offline update URL

    2
    0 Votes
    2 Posts
    502 Views
    PeterJonesP

    @n0rimaki ,

    c:\program files\notepad++\updater\gup.xml (or appropriate path for your installations) has an entry called InfoUrl:

    <InfoUrl>https://notepad-plus-plus.org/update/getDownloadUrl.php</InfoUrl>

    If you change that URL to a site you control and that your users have access to, then that URL should return XML of the syntax:

    <GUP> <NeedToBeUpdated>yes</NeedToBeUpdated> <Version>8.2.1</Version> <Location>https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.2.1/npp.8.2.1.Installer.exe</Location> </GUP>

    The <Location> value in that response indicates where the updater should download the installer executable.

  • Symbols meanings? What means what

    5
    0 Votes
    5 Posts
    2k Views
    Gary HamesG

    here comes a link that gives more

    ISO 646

  • How to delete duplicate lines ?

    7
    0 Votes
    7 Posts
    492 Views
    Alan KilbornA

    @neil-schipper said in How to delete duplicate lines ?:

    I’m pretty sure there’s a way to fix that).

    (?-s)^(.+)(?:\R\1)+(\R|\z)

    Use * instead of + if it is desired to remove duplicate contiguous empty lines.

  • Zooming with mousewheel not working

    4
    0 Votes
    4 Posts
    400 Views
    Chris MartinC

    @ekopalypse Yes it works there

  • Save As multiple open documents in Notepad++ at one time.

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @ashley-hoogenboom

    Aside from the File > Save all command (sensing not what you want), or writing a script, there really isn’t an automated way to do what you’re asking.

  • 0 Votes
    26 Posts
    53k Views
    Lycan ThropeL

    @dennis-mz ,

    I wasn’t going to respond, but let’s start with at least one language that I know of, since the original inception of the Big 3 desktop applications, dBASE does it. Most software does it, to some extent and gives you the option to turn it off. NOT the other way around.

    I am amazed at the power users who don’t RTFM, but then quip other users should RTFM, and try to evicerate anyone that dares look at life differently than themselves.

    So be it. Notepad.exe does not come with anything but word wrap, cut, copy, paste, a generic find and replace capability, and a time/date insertion macro.

    You folks want a programmer’s editor, without paying for it, like we did with Multi-Edit, and several others from days gone by, in what is essentially supposed to be a Notepad.exe replacement. The fact that it is quite good at it, freeware, is a nice thing. To expect it to cater to your’s and only your point of world view to the exclusion of others that you can’t understand, is arrogance. But. cie la vie. You guys seem no better than the cranky old dudes you wanted to replace because they couldn’t learn to do things more modern…and here you are, still crying because someone changed your brain dead default. You installed a new installation, what did you think was going to happen? RTFM and RTRN.

    Rant over.

    Lee

  • Creating Line Break when there are multiple spaces on tagged line.

    17
    0 Votes
    17 Posts
    3k Views
    Lycan ThropeL

    @ashley-hoogenboom ,
    All they can ask. I feel for these guys that do this day in and day out. You were my first attempt, and I was kind of angry when you changed the goal. :) That said, welcome to the NPP forum, community and ask away. The only stupid question, is the one not asked. :)

    Lee

  • search and extracting text from text file

    9
    0 Votes
    9 Posts
    14k Views
    Alan KilbornA

    @mpheath said in search and extracting text from text file:

    Press button Copy Marked Text.

    Press Ctrl+N to open a new tab and press Ctrl+V to paste.

    The result may have ---- lines separating the captures in the pasted content.

    This (the ---- lines) will happen when marked text contains a line-ending(s).

    If you search for something simple, e.g. foobar and it occurs many times, when you do Copy Marked Text each match will be separated by a line-ending, typically CRLF, and no ---- will appear.

    However, if the search hit contains a line-ending, then a Copy Marked Text, in the copied text the matches are separated by ----CRLF, so that you can see what is actually part of the match and what is delimiter. In other words, the ---- lines are the delimiter.

    Example text:

    fubar foobar foo bar fu bar

    Use the Mark function and mark the regex (?-s)f[ou].*?bar and press Copy Marked Text, and then Paste elsewhere to obtain:

    fubar foobar

    Use the Mark function and mark the regex (?s)f[ou].*?bar and press Copy Marked Text, and then Paste elsewhere to obtain:

    fubar ---- foobar ---- foo bar ---- fu bar

    I don’t know that this is expressed in the user manual.

  • Notepad++ crashing

    4
    0 Votes
    4 Posts
    974 Views
    Michael VincentM

    @rick-grunwald said in Notepad++ crashing:

    I have not been able to load NP++ since 8.2.1. I am using a portable version under Win 10 x64. It will almost load showing white window then crash. In task manager It seems to start twice. Same behavior if I right click and “open” the executable

    Run from the command line with -noPlugin option and when it (most likely) works, you’ll need to re-enable your plugins 1-by-1 to find which one is causing the issue. You can do this by moving all the plugins out of the Notepad++\plugins directory and then putting them back one by one and closing / launching Notepad++ each time you add a new one.

    Alternatively, paste your ?=>Debug Info… menu item output here (which you probably should have done) and we may be able to identify the faulty plugin.

    Cheers.