• save dialog box keeps popping up

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @manjunath-v.s

    I assume you disabled Settings->Preferences->Backup->enable session snapshot and preiodic update.
    But be be aware that it comes with a drawback as reported by a few users.

    Cheers
    Claudia

  • Disaster has Struck... Please Help Me..!

    8
    0 Votes
    8 Posts
    5k Views
    Jeff StitchJ

    .
    So nice to hear from you, thank you so much, Cees! I appreciated the /n & /r explanation. (As well as the link. Pfffft! I would need to spend a good chunk of time to try and understand what they were talking about.)

    But it sounds like /n is what would be resorted to when the Line Feed characters appear on their own. (By the way, I was a bit lost with your line, “View, Show Symbol, Show End of Line seems to be linked to a keyboard shortcut” in my case. Did I mention something like that?)

    Last night I was working on my document and… THE DISASTER HAPPENED AGAIN!

    What’s more, it wasn’t just the lines getting messed up, but a central section of the document went missing.

    I quickly went to the directory of the file and made a copy of the file. (I have to be quick, because in ten minutes, assuming the “Autosave” was working, the file would be saved to the now corrupted version.) When I opened up the copy, it seemed the Autosave was working, as the changes seemed up-to-date. So I did a little minor editing, and replaced the now-corrupted original with the copy.

    My Notepad++ has been working quite well, except for (as would take place in earlier times) the occasional appearances of the LF characters. (I would close, and re-open, and they would be gone.) Yet now I was drawn to your speculation that my copy might be buggy. (But why would it be buggy, if it was working fine before…)

    At any rate, I’ve got v. 6.7.9. Do you think that is a bad one? As for Plug-ins, the only one I installed (and just days ago) was the primary Autosave one. The rest (Plug-in Manager, Converter, MIME Tools, NppExport, NppFTP) came with program.

    .

  • Can I change order of file type when saving the document/script?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Zdzislaw-Twardy,

    afaik this isn’t possible as it is a fixed dialog but if it is related to programming languages only then
    you should already get e.g. the powershell script extension selected, of course only if the lexer has been selected.

    Cheers
    Claudia

  • function-list

    8
    0 Votes
    8 Posts
    7k Views
    Michael PeterM

    Claudia Frank matches the point with her contribution: “…another issue is when having class code which isn’t indented then it doesn’t find the function as well…”.

    Thanks a lot…

  • Function List

    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Hello @Kurt-Ludikovsky,

    I don’t understand your answer to the question.
    Maybe you are referring to a different post?
    Or should it be another question?

    Cheers
    Claudia

  • Hit keys _ Mac

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Hello @AL-Hasan-Haj-Asaad

    Mac platform still a big problem

    there are different possibilities to run notepad++ on a mac (not natively but it is possible)
    A) run npp within a vm -> parallels support windows
    B) use software like winebottles to run npp on mac

    I don’t know why does not a big program such NPP++ support this platform _?

    npp uses windows api heavily and os’s like osx and linux do have different api,
    so in order to support those os’s you need to either provide three different versions
    or introduce an additional layer which abstracts each os api with the benefit to slow
    down npp execution.

    In regards to your question,
    is a bit of a hack and works only if char is added.
    What needs to be done first is described here

    The script itself

    import winsound soundfile = "C:\Windows\Media\chimes.wav" def callback_CHARADDED(args): winsound.PlaySound(soundfile, winsound.SND_FILENAME) editor.clearCallbacks([SCINTILLANOTIFICATION.CHARADDED]) editor.callback(callback_CHARADDED, [SCINTILLANOTIFICATION.CHARADDED])

    Of course you need to change the path to the soundfile.

    Cheers
    Claudia

  • Need Help Linking My CSS to HTML!

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Jd JonesJ

    I’m using Notepad++, Thank you I got it now, I forgot to put the style in the styles directory, it works fine now! Thank you so much!

  • help on a formula, please?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    guy038G

    Hello Harry,

    I’m the one, who posted this reply to Clearinghouse Forsale, three months ago, about ! Refer to the link below :

    https://notepad-plus-plus.org/community/topic/10848/need-some-help-with-find-and-replace/3

    And indeed, reading again this old post, I just realize that I didn’t pay enough attention to the line :

    now as you see, i have alot of lines that state begin…type tree…age ##### end

    So, the replacement should occur, ONLY IF the lines contain the word Tree, before the word Age !

    In that case, just change the search regex as :

    Tree .* Age \K.+(?= END$)

    REMARKS :

    There a space, BEFORE and AFTER the words Tree and Age, and a space BEFORE the last word END !

    I also added the $ symbol, to be sure that we search for the word END, at the very end of each line

    NOTES :

    This time, the search regex is looking, FIRST, for any text, in a same line, between a first occurrence of the word Tree and a last occurrence of the word Age ( Tree .* Age )

    Due to the \K form, this previous match is, then, forgotten by the regex engine

    Next, it tries to match a non empty list of characters (.+)

    But, ONLY IF that list is followed with a space and the word END, which ends the current line ( (?= END$) ). So it selects the exact number, only, between the word Age and the keyword END !

    Best Regards,

    guy038

  • Pages on this forum load very slowly

    11
    0 Votes
    11 Posts
    6k Views
    YaronY

    The problem seems to have been fixed.
    Thank you all.

  • Setting Default File Extensions

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    George ChristovichG

    Thanks Claudia,

    It didn’t take long to learn you were the go-to guru around here.

    George

  • .LOG timestamp functionality

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    Hello @Barry-Parr,

    I can think of a python script which might be able to do this.
    If you want to go this way, let me know what exactly needs to be done.
    Do you really want every txt file to be checked if first line is .LOG?
    Should it log the timestamp every time you open the file or every time
    you switch to the file? Or do you want a script which will insert the timestamp
    when using a shortcut?

    Cheers
    Claudia

  • 0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Patrick-Moore,

    I just tried it, Windows 10 x64 npp 6.8.7 installed.
    Clicked on Update and I was offered npp 6.8.8. Installed it and
    yes, it is npp 6.8.8. So I assume that you just updated
    to 6.9 in a situation/timeslot where it was possible but as of now
    it seems it is not possible yet.

    Cheers
    Claudia

  • Iike 6.9 - but it changes auto-complete behaviour

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Gerhard-Auinger,

    I do have quote and double quote completion. Maybe try uncheck it, restart npp,
    check it again or check config.xml

    <GUIConfig name="auto-insert" parentheses="yes" brackets="yes" curlyBrackets="yes" quotes="yes" doubleQuotes="yes" htmlXmlTag="no" />

    In regards to html5 tag main, if using html lexer <main> gets colored in blue.

    Cheers
    Claudia

  • Notepad++ / NppFTP does not work with USING PRIVATE KEY FILE

    Locked
    2
    0 Votes
    2 Posts
    7k Views
    Claudia FrankC

    Hello @Jae-Hun-Daniel-Hwang,

    I don’t have an environment to test it, so I was checking NppFTP
    issues and there has been a similar issue reported with a possible solution
    reported at stackoverflow.

    Cheers
    Claudia

  • 6.9 Folder as Workspace Sorting Options

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    Claudia FrankC

    Hello @Rich-Goldman,

    jfyi that it has been addressed.

    Cheers
    Claudia

  • Document Switcher gone after 6.9 update

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Patrick MooreP

    Settings menu > Preferences > General

    Place checkmark next to “Show” option in “Document List Panel” group beneath “Toolbar” group.

    This should restore the Doc Switcher panel.

  • Auto insert broken?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    guy038G

    Hello Steve, Claudia and All,

    May be an option to enable/disable the “intelligent” auto-insert feature ( introduced since N++ 6.8.4 ) would be judicious, in the Settings - Preferences - Auto-Completion - Auto-Insert area ?

    So, when this option is UNCHECKED, we would find, again, the old auto-insert behaviour !

    I suppose that, by-passing the part of code that produces the new behaviour, in order to get the old automatic auto-insert behaviour, shouldn’t be too difficult to code, anyway !

    Of course, it’s up to Don Ho and/or the devs, which coded the auto-insert feature

    Best Regards,

    guy038

  • Function list

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Christian WistbergC

    Oh my god thank you so much! I tore my hair for a couple of hours!

    I’m bald now but at least I have a working function list in Lua :)

    Thanks again!

  • Jump Srolling When 'Hide Lines' Activated, how to handle that?

    3
    0 Votes
    3 Posts
    2k Views
    Andyra WibisonoA

    I did not use any plugins. My OS windows 7 and now I am using npp 6.8.8, and this problem still occurs in the latest version even. If I hide a lot of lines, scroll leap will occur when the cursor is placed under the hide lines area.

  • Dropdown lists

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    Claudia FrankC

    Hello @Endie-Black,

    what you are referring to is called folding.
    This is nomally done by the lexer of a programming language like c, python, lua etc…
    If the text you have isn’t popular code language, then it might be possible to define
    a user defined language (UDL) to make this happen but therefore we need to see
    how this text looks like to find some kind of pattern.

    Cheers
    Claudia