• NP++ and hidden files

    3
    1 Votes
    3 Posts
    2k Views
    gstaviG

    Treating dot files as hidden is only a convention for shells and some other applications. There is nothing “hidden” about them as far as Linux file system or wine care. When I worked with NPP over wine I opened many dot files and files in dot directories without a problem.

    I wonder if it is a bug in the Explorer plugin where it treats dot files (and dot directories) as files with empty name and an extension which confuses it. This may explain the coloring issues. If you have a Windows system you can try creating a dot file there and check if it behaves differently than with wine.

    I am quite sure that if you just try to open the files from the ‘Open’ dialog you would not have a problem.

  • 0 Votes
    22 Posts
    3k Views
    Terry RT

    @W-den-Boer said in Find/remove duplicate multiple lines and keep the first occasions:

    But, bad news. It doesn’t do the same.

    Sorry to hear the macro failed to faithfully follow the steps I had outlined. At least with the steps you may be able to generate your own macro. I will suggest if doing so to select the very first position in the file between each major step using Ctrl-Home (I think thats the hotkey).

    Lately I’ve been seing what appears to be an anomaly where after a process has finished a word is highlighted. As this becomes a “selection” any subsequent process will likely ONLY work on that selection rather than the whole document.

    Terry

  • Translate regex to notepad++'s dialect and 'Reverse expression'

    11
    0 Votes
    11 Posts
    1k Views
    Alan KilbornA

    @litos81 said in Translate regex to notepad++'s dialect and 'Reverse expression':

    I have to click the ‘Replace All’ at least a couple of times because in some cases the expression seems to miss rules that should be excluded.

    if the expression was meant to be used with one click only I honestly don’t know how to fix it

    Sometimes, due to the nature of the data, this situation results.
    Also sometimes, the search/replace expressions can be rewritten to be a “one-click” solution, sometimes not.
    Often the complexity involved in such a rewrite is, well, extreme and “not worth it” – meaning not putting the time required to figure it out into it.

    But, just in case you thought it was some kind of “bug”…it’s not.

  • Tabs always open on the right?

    29
    0 Votes
    29 Posts
    4k Views
    appyfaceA

    Ah, you may be on to something. Thankfully, nothing is lost, it just didn’t open them. I’ll see what I can hunt up.

  • HTML shows as code in browser

    3
    0 Votes
    3 Posts
    222 Views
    AstralJokerA

    yep, I just figured out it had no termination , it was just a file. Thank you for the response tho !

  • only replace exact numbers

    14
    0 Votes
    14 Posts
    1k Views
    Alan KilbornA

    @Olivier-Thomas said in only replace exact numbers:

    In the IVONA voice-over for film subtitles
    I have over 6000 abbreviated commands.
    I did not notice that the IVONA lector did not keep up with reading the text.

    I’m not sure what this means.
    Do you care to explain a bit, if it is relevant?
    After 20 minutes, of course… :-)

  • Where are the display settings stored?

    3
    0 Votes
    3 Posts
    1k Views
    Alan KilbornA

    @PeterJones said in Where are the display settings stored?:

    {🛈 , ↗}

    Oooooh, nice!

  • Prevent sending dump report when NP++ crashes?

    2
    0 Votes
    2 Posts
    140 Views
    PeterJonesP

    @Claudia-Svenson ,

    Is this true?

    Not as far as I know.

  • Notepad++ and Mod360

    8
    0 Votes
    8 Posts
    396 Views
    Lorenzo AtomL

    @Alan-Kilborn
    I really do nothing because is true… i am able to speak 3 languages, but is true i use noteapd++ for something very very simple… i do not know anything about programming scripting or something else…
    Should be the same if i ask you to write down a poem in italian… from scratch… i think you got the point.

  • How to disable auto-open last files at next startup?

    2
    0 Votes
    2 Posts
    2k Views
    ArkadiuszMichalskiA

    https://npp-user-manual.org/docs/preferences/#backup

    ☐ Remember current session for next launch: the current session is the current list of open files. The next time you run Notepad++, it will open with that same list of files
  • 0 Votes
    8 Posts
    580 Views
    Aleksandr OkunevA

    I upgraded from version 5.x to the latest version (I wish the best of luck to HK people, and doom to evil commies), and the text selection is indeed exactly what I need and exactly as it is in MS Word.
    Thanks a lot, everyone, stay safe and have a great weekend.
    :^)

  • TextFX menu

    4
    0 Votes
    4 Posts
    393 Views
    M Andre Z EckenrodeM

    In case this information is ever useful to anyone else, I’ve noticed that TextFX on my Windows 10 machine is back to being its own menu, and no longer a sub-menu of Plugins. The only things I recall having changed since I had the menu trouble are that I’ve removed the plugin Pork2Sausage, and I’ve installed the new NPP v7.9.0. Not sure if either of those were factors, but maybe.

  • .ics file selection problem

    20
    0 Votes
    20 Posts
    2k Views
    Terry RT

    @guy038 said in .ics file selection problem:

    at beginning of my post are totally independent !

    Firstly my apologies. I got fixated on the concept of using a positive lookahead after looking at both of your solutions. For some reason later on a did mix them together and thinking there were 2 steps.

    Perhaps in my defence I’ve just come to realise my reasoning all the way through was that there would be extraneous lines between the END:VEVENT and BEGIN:VEVENT lines, that is, between the record sets. I’ve just googled a typical ics file and whilst that isn’t true there are additional lines before AND after (header and footer info) the sets we were identifying with the regexes. I’ve got a longish one and reduced the size so you can see what shows in the file.

    BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:ECML PKDD 2015 X-WR-TIMEZONE:Europe/Lisbon X-WR-CALDESC:The European Conference on Machine Learning and Principles and Practice of\nKnowledge Discovery in Databases (ECMLPKDD) will take place i n Porto\,\nPortugal\, from September 7th to 11th\, 2015 (http://www.ecmlpkd d2015.org).\n\nThis event is the leading European scientific event on machi ne learning and\ndata mining and builds upon a very successful series of 25 ECML and 18 PKDD\nconferences\, which have been jointly organized for the past 14 years. BEGIN:VTIMEZONE TZID:Europe/Lisbon X-LIC-LOCATION:Europe/Lisbon BEGIN:STANDARD TZOFFSETFROM:+0100 TZOFFSETTO:+0000 TZNAME:WET DTSTART:19701025T020000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:+0000 TZOFFSETTO:+0100 TZNAME:WEST DTSTART:19700329T010000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT DTSTART:20180907T083000Z ... SUMMARY:Ex. Ep. Especial: IP/PROGI TRANSP:OPAQUE END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20150803 ... SUMMARY:Workshops - Camera Ready TRANSP:TRANSPARENT END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20150901 ... SUMMARY:Tutorials - Tutorials Material TRANSP:TRANSPARENT END:VEVENT END:VCALENDAR

    So although the OP never showed this I had made the assumption I couldn’t guarantee there weren’t other lines, nor did I think to ask.

    Thanks for critiquing my regexes. I had made a discovery and couldn’t quite believe I hadn’t considered it before. There have been lots of instances where I wanted to find a data set with a specific string using the lookahead and seeing it would continue through other sets UNTIL it found the correct one. The realisation I had the power to stop it upon a failed string search within the 1 data set was (dare I say it) overwhelming. It was like a light had suddenly switched on, learning a new ability with regexes.

    Cheers
    Terry

  • replace all values of a variable by half

    3
    0 Votes
    3 Posts
    877 Views
    CynicC

    thanks a ton!

  • Open text file and jump to the end

    10
    0 Votes
    10 Posts
    2k Views
    Michael VincentM

    @Alan-Kilborn said in Open text file and jump to the end:

    I don’t see it as “hacky”.

    I was hoping -1 (negative one) would be like “last array element” and bring me to the last line, but it didn’t work. I would think that would be “less hacky”.

    :-)

    Cheers.

  • Notepad++ can download file but can not upload

    3
    0 Votes
    3 Posts
    1k Views
    f.h.p guglF

    Hi PeterJones,

    i thank you very much for your help.

    I again checked everything in my network and found a bad intermidiate connection. Maybe it was a pure chance that it was working after restartt.

    Now it is working fine again. Thank you!

    best regards
    Franz

  • How to find the Correct Regex pattern to extract data from a text file

    16
    0 Votes
    16 Posts
    2k Views
    Suresh ReddyS

    Thank you for the detailed explanation.

  • Search and replace between 2 files

    8
    0 Votes
    8 Posts
    641 Views
    Alan KilbornA

    @Makwana-Prahlad said in Search and replace between 2 files:

    PeopleSleptWith

    ???

    I think it is time for “banning” this individual.

    Grounds: He pollutes threads with posts with useless and unrelated information which will only make any future readers seeking a solution to the problem originally posed confused.

    Need more evidence: Look at his previous postings.

  • FIND AND REPLACE SOME CHARACTERS SET OF NUMBER IN NOTEPAD ++

    9
    0 Votes
    9 Posts
    379 Views
    miki simoneM

    Thanks Peter that’s just what I was looking for, it works perfectly. thanks a lot

  • UDL: folding code definitions that include ((EOL)) or similar

    4
    0 Votes
    4 Posts
    503 Views
    DIV-on-githubD

    For reference, the syntax is CFX Command Language (CCL), as used in several ANSYS applications, including session files for CFX-Pre and CST files for CFD Post.
    The colon–END syntax is called CCL “Simple Syntax” (for defining objects, including their constituent parameters).
    The lines starting with “>” are CCL “action line” syntax.
    There can also be lines of Perl code embedded in the same script file, which would start with “!” and are called “Power Syntax” (not included in the above example).