• Does Notepad++ support Pygame?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Javier-Diaz-de-Rabago

    this is not really a notepad++ question I guess, because npp,
    as well as any other text editor on the planet
    doesn’t care about what kind of python libraries you use.
    There must be something wrong in your run configuration
    if the same code runs under IDLE but don’t run if executed,
    by whatever way you chose to execute, via npp.

    Cheers
    Claudia

  • Find and Replace values between tags over multiple files

    Locked
    3
    1 Votes
    3 Posts
    1k Views
    Zecron ClawZ

    Thank you this worked :D

  • Close tab focusing on last tab, not the closer tab

    Locked
    4
    1 Votes
    4 Posts
    2k Views
    Scott SumnerS

    @Luis-Santos

    Is it possible to open a feature request

    This will tell you have to make a feature request: https://notepad-plus-plus.org/community/topic/15741/faq-desk-feature-request

  • Set *.wri as default save extension

    Locked
    8
    1 Votes
    8 Posts
    2k Views
  • change "this" color

    Locked
    7
    1 Votes
    7 Posts
    2k Views
    Claudia FrankC

    @Giliann-Sauret

    no, ((EOL)) is the only special variable you could use together with UDL.

    Cheers
    Claudia

  • How to enable seeing unique symbols?

    Locked
    11
    1 Votes
    11 Posts
    4k Views
    Claudia FrankC

    There seem to be a difference in OS as well because I went through all of the installed
    fonts on my linux and none of them behave like described. I always see a consistent behavior regardless whether the 〕is used in front or not.
    For example the font DejaVu Sans Mono on linux show only the rectangles.

    Cheers
    Claudia

  • 1 Votes
    6 Posts
    1k Views
    Claudia FrankC

    @Scott-Sumner

    sorry - seems I totally misunderstood what OP was asking for.
    I thought OP wants to jump back to the original (starting) position,
    not to the last position which was ok to be replaced. And now I’m thinking that
    this jump (to where the action started) wasn’t possible before at all.

    Cheers
    Claudia

  • Delete multiple characters or words with "Find and Replace" at once

    Locked
    7
    2 Votes
    7 Posts
    4k Views
    marko marinM

    @Scott-Sumner said:

    You must open the door immediately.
    permission
    command
    prohibition
    request

    and I got
    You must open the door immediately.
    permission
    command
    prohibition
    request

    which was what I wanted.

  • Cannot save updated/modified file.

    Locked
    2
    0 Votes
    2 Posts
    773 Views
    Claudia FrankC

    @Ravi-Ponna

    could it be that you try to save the file with saveas instead of save?

    Cheers
    Claudia

  • It seems that Notepad++ is locking the Clipboard.

    Locked
    2
    0 Votes
    2 Posts
    847 Views
    Claudia FrankC

    @Kevin-Morris

    Has anyone else noticed this?

    Not me, could it be that you are using a plugin which is locking the clipboard?
    If not, could you describe a reproducible scenario when this happens?

    Cheers
    Claudia

  • Open folder as project issue

    Locked
    2
    0 Votes
    2 Posts
    809 Views
    Claudia FrankC

    @Brandon-Carter

    open folder as project only allows me to select desktop for some reason anyone know why or how to fix it?

    Could you please a little bit more specific what exactly you are doing?
    For more information see here.

    Also I’m looking for a autosave every x amount of seconds plugin that works with the newest notepad++ if anyone knows of one thanks.

    What is the issue with the ones available via plugin manager?
    Or are you affected by this.
    Cheers
    Claudia

  • Add to Supported Extensions

    Locked
    2
    0 Votes
    2 Posts
    786 Views
    Claudia FrankC

    @Robert-Shiffman

    not 100% sure I understand your issue correctly but is this your problem?

    Cheers
    Claudia

  • how to search for selected text

    Locked
    4
    2 Votes
    4 Posts
    2k Views
    Shmizan BS

    @Claudia-Frank
    thanks! this is exactly what I was looking for.

  • Paste preserving the indentation + Whitespace conversion issue.

    Locked
    15
    0 Votes
    15 Posts
    11k Views
    SalviaSageS

    that would be the case if it was you who was also indenting with 2 spaces, but you are not the only one who codes, you get a code from other people who may indent with 4 spaces, 6 spaces, 8 spaces or whatever it is that they decided to indent with.

    Then, you want to convert that to your own style, and you cannot do this automatically, you still have to manually do it, by going into the preferences and changing your tab length to whatever the other coder formatted with, then you open another code formatted with a different set of spaces, then you do the same etc.

    At least, it would be nice if we had like a tab length : 2 option in the status bar, where you can quickly set your tab length.

    We can easily see what EOL the file is formatted with and convert the EOLs from the statusbar.
    I really like that EOL option offered there on the status bar, and is perfect.
    But, the same is simply not the case for the indents. That area, I think can be improved upon programmatically.

    If anyone knows a script to make these conversions more automatic, please let me know.

  • 0 Votes
    2 Posts
    3k Views
    Max SouthM

    PARTIALLY SOLVED:

    It turns out that NP++ executable process returns “ready” state to Windows API before it is actually ready as it still running plugin activity. In my case JSLint’s syntax check of Unix-LF (UTF-8 without BOM) files apparently takes longer versus Windows-CRLF (UTF-8 without BOM) files, and this is how NP++ ends up not being able to process “Control+S” as a short-cut to save the file, but as a text input that shows up as “DC3”, corrupting it. Thus the solution is to use “Sleep 1000” AutoHotKey command before generating “Control+S” key combination or to swap it with the call for JSLint syntax check.

    However, why the underlying issue of NP++ allowing ASCII control codes to be inserted in the text is still not fixed, is still a question. At no circumstances NP++ should allow the corruption of texts by garbage.

  • Preserve file modification date

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    bnoteB
    ‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’’ @PeterJones

    Let me get this straight: you want to modify (change) the file, then save it, but not have the file’s modification time changed?

    Yeah.

    … to follow standard practices

    Whose standard practices and for whom?
    The essence of the question is exactly to move away from standard practice.

    … otherwise, the modification time becomes meaningless.

    Hm-m… Meaningless… For you? May be.
    But for me - just vice-versa.

    … you want to corrupt the modification time, …

    Do not say such things out loud.
    I want to keep it unchanged. You see the difference between this terms?

    … on your own, after saving, you can use …

    Thank you. Very much!
    I have a lot of I can and before, and after :)
    I have the bundle of such applications for Windows.
    And surrogate automation I have already now.
    However, I want not ‘after saving’, but instead of it, by the forces of Npp itself.

    ‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’’ @gstavi

    Obviously … API …

    I think so too.
    However, nothing prevents to save opened file’s attributes in dark and cool place, and then bring them back. There are a lot of SetFileTime related functions.

    … that is typically reserved for malicious users.

    And you too - do not say such things out loud.

    ‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’’ @Scott Sumner

    The OP did not state WHY s/he wanted to retain the file’s old modification time. Let’s presume there is a perfectly valid reason for wanting this.

    Thank you for moral support :)

    … would cause N++'s File Status Auto-Detection …
    May be. And Monitoring too.
    But it is a very special case and the interference of these functions should simply not be allowed at the level of the Npp itself. Especially because the timestamp changing event will raise twice - first by OS, and the second - by Npp, when time stam will restored.

    I have ownwrited application that run 24x5 and I use API Function ‘WriteFile’, constantly appending data w/o closing handle. I tried now on this remoted PC to open this log in old Npp 6.6.2 - Auto-Detection do not work. I try open it as share on my desktop Npp 7.3.2 - nor Auto-Detection, nor Monitoring not work. But the file is intensilty appending :) and OS show the unchanged time of file creating.

    ‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’‘’’
    OK. At least - few words about wtf it need for me :)

    I often have to go to the archives of code, both my own and others. In Far-manager this is all quite easy and meticulously (time, content, size) is compared. Troubles appears when the difference between files is in extra space, linebreak etc. It need to correct 2-3 bytes of code, but, getting identical content, I loose historical timestamp, in first, and in second - got error of compare by time :)

    It is very troublesome to use a third party programs for this purpose - it nee to save original time by some manner, edit-save file and set saved time, that need to be passed by some manner too…

    If Npp had this feature, but I already guess that it does not have it, then it would be enough to spit out the file from the archive, edit it and throw it back.
    .

  • How do I combined each 2 lines with a :

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Jean-michelJ

    @Fouad-tbz You can also use Macro for this. First, place the caret on the first line, in front of the first word. Start the macro recording and type the following keys:

    End : Delete Down arrow Home

    Stop the recording. Play the macro (1 time or repeat).

  • Recreate session from backup folder

    Locked
    4
    1 Votes
    4 Posts
    1k Views
    Scott SumnerS

    Maybe worth pointing out that periodic autosaving of the working session is fairly easy to script…

  • Running multiple instances of Notepad++ with regular autosave

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    Scott SumnerS

    @Irate-CPR said:

    …backup feature…because it constantly saves my notes to a backup folder…so that I won’t lose anything in case of a BSOD or application crash.

    I would not be lulled into a false sense of security because of this…I was…and then I lost hours worth of work (when I thought I would have lost changes only since my last saves of the files I had been working on. You can read more of my unhappy story if you’d care to. Also, see many more such sad stories in the links I provided here. Finally, this is a FAQ Desk topic; see here.

    the new text file will be named " new1 "…Now since they’re both named the same…

    They really aren’t named the same…they aren’t named at all. I will never understand why people seem to hang onto these “new” files and expect all of Notepad++'s functionality (and plugins) to work with them like they are “real” files. They exist only as purely temporary scratchpad files, or as a really short-lived thing until a file is saved properly. My opinions only, based on observations after long-use…

    It has been a long while since I used TakeNotes, but it seems like what I remember about how it functions would not cause an issue for your intended use. But apparently you have investigated it and found that it does.

  • I want to remove certain range. Please help me

    Locked
    10
    2 Votes
    10 Posts
    2k Views
    Scott SumnerS

    @guy038

    HAha…I tested with {2} in place of {145}…much less work to create test data that way…I just changed it to 145 for posting!

    :-D

    Of course, if we could ever get the \A to work… :-(