• Text cursor very slim and not in resize !

    4
    0 Votes
    4 Posts
    398 Views
    selevoS

    @Ekopalypse very thank’s
    it’s now good!
    https://vk.com/doc-73481857_512987162

  • Regex partial replacement syntax? Grouping not working

    9
    2 Votes
    9 Posts
    910 Views
    Alan KilbornA

    @Pam-Rathmell

    Moving in a backward direction is tricky for regular expression engines. It mostly works okay, but it does strange things often enough that even Notepad++ at one time disabled it (searching ‘up’ when the Search mode was Regular expression). That disabling has mostly gone away now it seems.

    I guess you have stumbled upon one of the odd situations.

    I wanted to see what Pythonscript’s regular expression replacement function would do with your situation, and in trying to get it working I started with a simpler search, and I discovered that attempting to search backwards, even very simply, gives no matches at all. :(

  • Regex find single N occurrence of ',' to replace

    5
    0 Votes
    5 Posts
    1k Views
    Alan KilbornA

    Okay, okay, everyone has called attention to my regex…now @guy038 will come along and do the same solution in about half as many characters. :(

    BTW, I made a fat-finger mistake in the regex, but the beauty of it is that it still works. [The final character should be , (comma) instead of . (period).]

  • Notepad++ Backup Folder Empty?

    11
    0 Votes
    11 Posts
    2k Views
    PeterJonesP

    Don mentioned that location in his documentation announcement, but made it clear that github.io rendering is just a “temporary” location and presentation for the documentation – his eventual goal is to send it someplace else, where the “URL will be different and the visual design will be 100 times better”… but until that time, I’m going to link to the github.io, because I think it’s more user-friendly for non-techies than just the github.com display.

  • Am i using the updated C++?

    5
    0 Votes
    5 Posts
    702 Views
    Steven HaymesS

    PS: If you are new to programming, C/C++ is not the best language to learn how to program. Once you get into pointers and addresses which are central to C/C++, it is going to get real weird real fast. I learned C back in the 1980’s from some AT&T engineers. Today, if you want to learn how to program, Python is an excellent starting language.

  • Some XML files won't open decently in Notepad ++

    4
    0 Votes
    4 Posts
    3k Views
    PeterJonesP

    @supasillyass said:

    I don’t think it can be done automatically upon opening a file (anyone?).

    Natively, no. But with one of the scripting plugins (like PythonScript), you could create a callback on the file-open event, and have it run the appropriate XML Tools command when it sees the right extension or right file type.

  • Replace Notepad

    9
    0 Votes
    9 Posts
    3k Views
    Jim FitzGeraldJ

    @PeterJones
    Thanks Peter!

  • Tab key position is not same notepadd++ and notepad

    2
    0 Votes
    2 Posts
    434 Views
    EkopalypseE

    @Wisely-Shih

    not 100% sure I understand what you are trying to achieve but …
    could it be that you are referring to the fact the MS notepad uses a tab width of 8
    whereas npp uses 4?
    If so, goto settings->preferences->language and set the tab size accordingly.

  • Flask installation

    5
    0 Votes
    5 Posts
    919 Views
    EkopalypseE

    @Lehlogonolo-Frank

    You need to be more descriptive.
    If you used a command and it doesn’t work you need to provide the error message
    you got in order for one to find out what the issue could be.

    How exactly did you setup python and how do you want it to be used?

    Perhaps you could guide me on installing flask via pip install

    pip install flask but only if you want it to be installed for the main python installation
    if you want it to have in an env you need to activate it first and then run the
    command within this virtual environment.

  • How to run html code in browser

    8
    0 Votes
    8 Posts
    3k Views
    Lehlogonolo FrankL

    Thank you all. Your suggestion were helpful.

  • Android version (even without interface modifications)

    3
    0 Votes
    3 Posts
    444 Views
    supasillyassS

    @Pierre-Louis-Boyer

    QuickEdit is a native Android app that already has:

    Physical keyboard support, including key combinations.

    There’s also an active XDA thread.

    I suspect 1 will be easier than 2:

    Android app —> Android desktop Notepad++ —> Android
  • 0 Votes
    5 Posts
    537 Views
    Alan KilbornA

    @Tair-Tairoff

    You can certainly make your feature request here. Please do it in English.

  • Theme XML files getting borked?

    15
    1 Votes
    15 Posts
    5k Views
    supasillyassS

    A kludgy fix is to make the theme XML files read-only and add new keywords directly to langs.xml, using a different text editor. (My langs.xml was pretty old, so I grabbed langs.model.xml from the latest portable version.)

  • Status Bar Feature Request

    2
    0 Votes
    2 Posts
    484 Views
    Alan KilbornA

    @Tim-Davidge

    If you want your FR to be seen you should do it here.

    I guess I’d warn you that change doesn’t come easy for these types of things. Oodles of N++ users are used to things the way they are.

    status bar to reflect the status of both NUMLOCK and CAPSLOCK

    Can’t you look to your keyboard for that?

  • Function List Location

    4
    0 Votes
    4 Posts
    465 Views
    Tracy FeistT

    Never mind. I somehow was able to re-attach vertically.

  • Updated and lost my list of open files

    7
    0 Votes
    7 Posts
    542 Views
    PhilCxP

    @PeterJones said:

    Ah, it appears you updated to a recent version (hopefully v7.7.1) from a really old version (v7.5.9 or earlier), and didn’t realize that the plugins hierarchy was changed.

    Aha! I believe you are correct. Thanks for the tip, Peter. I will do some cleanup.

  • UDL commenting doesn't use 'maximum munch'

    3
    1 Votes
    3 Posts
    315 Views
    darkmxD

    Thank you very much!

  • Find and delete all text after //

    7
    0 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @supasillyass said:

    Try it

    It works; apologies for the mistake.

  • 0 Votes
    2 Posts
    4k Views
    PeterJonesP

    @Mahmoud-Mohammed ,

    Your existing session (ie, already opened files) should have been saved in %AppData%\Notepad++\session.xml, and when you upgraded to v7.7.1, it should have kept the existing session.xml. And the list of recently-used files should have been kept and automatically used from %AppData%\Notepad++\config.xml.

    If that didn’t happen, either you had a non-standard installation of your old version, or did a non-standard installation of the new version (or both). Or maybe you did a complete uninstall without saving the %AppData%…

    Other than that, I’m not sure what could have gone wrong to overwrite your session.xml and/or config.cml

    If both are non-standard, you might be able to recover: if they were both local/portable/zip instead of “installed”, then you just have to browse to the old-unzipped-directory, grab those two files, and paste them into the new-unzipped-directory.

    Unfortunately, if you overwrote the only session.xml and/or config.xml files, then those lists are gone (unless you have backup software that’s running and that backs up your %AppData% hierarchy).

    If you’re talking about “what happened to my files that I had left open-and-unsaved”, those temporary files are stored in %AppData%\Notepad++\backup\ for normal installation, in <unzip-dir>\backup\ for local/portable/zip, and in the directory indicated by Settings > Preferences > Backup > Backup Path if that setting had been changed.

    If none of those help, the files are likely gone. Sorry. There are data-recovery programs out there (I’ve heard tell of recuva, or some such, but cannot vouch for its safety or effectiveness). Unfortunately, as with any application, the onus is on the user to make sure that all files are properly saved in known locations, and that backups happen often enough that no critical data is lost. Applications can help you, but in the end, your data integrity is your own responsibility.