• XML format not working now on new files

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Daniel-Agin

    What means you import it?
    You can open xml files but npp won’t change order of attributes.
    It will just read it as it is.

    Cheers
    Claudia

  • Auto save of unsaved files

    10
    2 Votes
    10 Posts
    43k Views
    Claudia FrankC

    @glennfromiowa

    thx for sharing - yes it makes absolute sense to backup your data first
    to avoid data loss. I should have mentioned it.
    The backuppath cannot be changed (well it can but then you have to use the cloud).
    Do not really understand why but I guess there are reasons but to be honest
    I didn’t check the source code for this functionality thoroughly so it is still some kind
    of black whole for me. If there would be a option to vote to make it changeable,
    my voice guaranteed. ;-)

    Cheers
    Claudia

  • Save user data during upgrade_or only uninstall?

    2
    0 Votes
    2 Posts
    2k Views
    glennfromiowaG

    I have not experienced this when upgrading NPP via the Upgrade Notepad++ in the Help (? ) menu. I thought I hadn’t customized the stylers at all, but when I looked, I had changed the font a long time ago (probably sometime early in version 6). I also had to look at what is in config.xml, and I would notice if my recent file list were cleared! I’m not sure if the Wiki is current, but as of v5.4.1, at least the stylers and langs files are not touched.

    This page also mentions that

    When it looks like a setting is lost, a common cause is that there are two sets of files, one in the %APPDATA%\Notepad++ folder and one alongside Notepad++.exe. Then either N++ doesn’t read the right file, or the setting was saved into the wrong file.

    Regarding an export of settings, there is an issue on GitHub that discusses it. However, that issue is closed. I left some comments on it, but the issue has been raised and closed before.

  • Using different configs

    3
    0 Votes
    3 Posts
    2k Views
    glennfromiowaG

    This question is old, but I just stumbled across it and also just learned the answer to it: In the Settings menu, select Preferences, and then the Cloud group. Click on the radio button Set your cloud location path here: and then enter your AppData path in the text box. You’ll have to restart Notepad++, but after that, it should pull the settings from your AppData path instead of the Admin path.

  • How can I drag and drop text from a web browser?

    3
    0 Votes
    3 Posts
    2k Views
    Aviv EyalA

    When you update N++, it restarts as the Admin user; This causes several issues, one of them is that you can’t drag-and-drop to it from other programs.

    Once you’ve upgraded it, you need to shut it down and start it up again as a regular user, and drag-and-drop will work again.

  • Folding and user defined language questions

    Locked
    3
    1 Votes
    3 Posts
    3k Views
    Marcin GruszczyńskiM

    A simple test with 10000 lines didn’t show any issues but this doesn’t
    mean that a more complex test with different foldings in between wouldn’t.
    If you could share the file and udl xml we could check if this is the case.

    I wouldn’t want to post the code in question on public forum. But, as I was trying to re-create the problem, I figured, it has something to do with encoding. The original file was marked as UTF-8, performing “convert to ANSI” fixes the problem, moreover when I convert it back to UTF-8 it still works. So, I guess there was something wrong in the file. Thank you for pointing me in the right direction.

    Is there a way to remember folding state?

    Normally this is the case if you have remember current session … enabled (Settings->Preferences->Backup)

    Yes, I have the setting enabled. I’m working with two views open and it seems that the program always unfolds everything on left view, while remembering the state of right view.

    Also, I wonder, if it’s possible to you a phrase containing a whitespace, as a prefix if keyword list. I have this structure:
    *function bla_bla

    end function

    call bla_bla*

    I wonder how to apply the same styler to “call” and a word that comes next, while not affecting words like “recalled”…

  • Increase value of all numbers by fixed amount?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Owpi

    I don’t think so, you better use a scripting language for such a task.

    Cheers
    Claudia

  • displaying arithmetic numbers in notepad

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @mego-zeko

    simply means, that this file is not supposed to be opened by a text editor
    as it contains meaningful binary values.
    Doesn’t your application allow to export the result in a text based format?

    Cheers
    Claudia

  • Notepad++ Wine guidelines

    5
    0 Votes
    5 Posts
    5k Views
    Claudia FrankC

    @Alan-Kilborn

    Alan, I’m far away from being a linux expert - I started using Linux last year in September but
    used npp from day one on.
    Concerning keymappings, I’m using ChaletOS and LinuxLite. (Both are Ubuntu based derivates)
    I think that Ubuntu uses much more system-wide registered hotkeys which let to the issue
    that certain function in npp didn’t work as expected unless I figured out why?
    I remapped or disabled the ubuntu shortcuts and npp did what I expected again. :-)

    Cheers
    Claudia

  • Convert multiple files from UTF-8 to ANSI

    9
    0 Votes
    9 Posts
    37k Views
    Vasile CarausV

    I run this code with python.exe on win10. I only change the path, and I want to test it. But after I copy the code on python.exe, nothing happen.

  • Named pipe server under Pythonscript

    4
    0 Votes
    4 Posts
    2k Views
    Claudia FrankC

    @Alan-Kilborn

    Copy and paste (reformatted line breaks) from activestate.
    Server via python script and client via nppexec
    As you see, I run the client 5 times and the message appeared immediately.
    Still can work with npp without delay/freezing.

    Can you execute commands in the console when running the server?
    How do you start it via Python Script menu? Or via a proxy script and execfile?
    Other different way?

  • find and replace help

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Shawn-Thomas

    what I get is that you only want to modify the decimal part, correct?
    If so, and if your data look exactly like you posted than

    find: \.\d+ replace: .000

    . means you are looking for the literal dot followed by
    \d+ one or more digits (as much as possible)

    Of course you need to check the regular expression box in find repalce dialog.

    Cheers
    Claudia

  • i want NPP to open a new document after closing the last one

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Antoon-Hermans

    isn’t this standard behavior?
    Or could it be that you have Exit on close the last tab checked?
    Settings->Preferences->General

    Cheers
    Claudia

  • the character " && " is invisible in bash scripts

    3
    0 Votes
    3 Posts
    2k Views
    dailD

    This sounds like a known issue with the SourceCode Pro font. Try switching to a different font.

  • Find list of files in notepad itself by mentioning part of file name

    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Harshvardhan-Kulkarni

    what do you mean?
    Searching for files only without checking the content?
    Or checking the content only if file pattern matches?

    The first can be achieved by using run menu, cmd and a dir command,
    the latter by defining a filter in find in files dialog.

    Cheers
    Claudia

  • switching letters with one regex

    17
    0 Votes
    17 Posts
    8k Views
    glennfromiowaG

    Thanks, @Scott Sumner, I’ve been workin’. But now my work seems to lie in using RegExes to do things I couldn’t do easily without them, so here I am, back again.

  • how to group words in batch of 50's

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Jim DaileyJ

    WordsRemaining = GetWordCount(Input);
    while (WordsRemaining >= 50) {
    Batch(50,Input);
    WordsRemaining -= 50;
    }
    Batch(WordsRemaining);

  • 0 Votes
    2 Posts
    4k Views
    chcgC

    Maybe a dedicated command tool like

    https://sourceforge.net/projects/base64/
    or
    http://www.f2ko.de/en/b64.php

    is more suited for your needs.

  • EDIT ALREADY DEFINED LANGUAGE (C)

    6
    0 Votes
    6 Posts
    3k Views
    glennfromiowaG

    @janlei0524 I think you may have missed where
    @dail said:

    It will not parse other header files to figure out what is “defined” but you can add a custom list of defines if there are some you know.

    If I’m interpreting that correctly, the

    #define SOMETEXT

    must be in the same file as the

    #ifdef SOMETEXT

    in order for the /* some code here */ to not be greyed out

  • Will donate if you can help!

    6
    0 Votes
    6 Posts
    3k Views
    aeryn KellyA

    Well I got it fixed. I had the person who wrote the file send me a replacement and it works fine. I will donate on the first when i get paid for the use of the software and the help. Thankyou everyone