• Help with editing a file

    3
    0 Votes
    3 Posts
    2k Views
    JBlack788J

    Thank you so much! This helped a great deal.

  • 0 Votes
    3 Posts
    3k Views
    glennfromiowaG

    @Raul-Chiarella Only thing I can think of is if you have a keyboard shortcut installed for Notepad++? Search in Windows for notepad++.exe and for every instance of that file found, right-click on it and open the properties. In the Properties dialog, in the Shortcut tab (which should show by default), check that the Shortcut key: field says None. If not, select the Shortcut key field and delete the contents. It’s a long shot, but this could cause the behavior you’re describing.

  • License Notices in Exported UDL file

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello Michael,

    I’m not a lawyer and don’t know if this legal but what about using an additional
    keyword field which has the a license statement pointing to the gnu website?
    E.g http://opensource.org/licenses/GPL-3.0
    To avoid mismatches, all should be encased of course.

    Cheers
    Claudia

  • Automatic backup not working properly

    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC

    Well there seem to be a misunderstanding what backup means and how it should be treaten.
    Backup is, in best case, a duplicate of a file and in worst case your original file without the changes of the last saving.
    That a backup file can be lost, as well as the original file, is possible. Many external influences can causing this.

    To use backup functionality, you normally would edit a file and save it when done, which would then update
    the original file. In case of a crash there is a minimal possibility that both files (original and backup) are open and
    get corrupted because operating system wasn’t able to close files properly.

    What you do seems to be working on temporary files always, so there is no backup functionality.

    Regarding the backup every 7 seconds.
    Of course, there must be made a decision how often a file should be backed up but one must keep in mind
    that shorten the time period means increasing the possibility that the file is open while crash happens.
    And if it happens that often I would say you have to start investigating what is causing the crash because
    next time it might be that the whole disc is damaged.

    Regarding backup functionality lost. Did you check the settings if they are still set?

    Cheers
    Claudia

  • Lost Clipboard History

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Thomas-Bihn

    strange, what about a restart of npp?
    Do you using customized language version of npp?
    OS?
    npp version?
    Plugins?
    Did you try to start npp with -noPlugn switch?

    Cheers
    Claudia

  • The problem with SQL syntax highlighting with Cyrillic identifiers.

    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    Hello @glennfromiowa,

    in general, yes, but if one uses cyrillic letters I assume that he/she uses the appropriate encoding as well
    otherwise the chars aren’t displayed correctly anyway. In my case I used utf-8 and when comparing different
    lexers I can see that they behave differently. When putting all chars from 0x400 - 0x4ff in an document
    I would assume that these chars are black foreground and white background (my default setting),
    which is what is done.

    Now selecting e.g. SQL lexer, parts of the chars get colored blue while the rest stays black - not expected,
    all should still be colored black as the chars aren’t SQL keywords.
    When using python lexer anything is colored black again.

    Unfortunattely, there isn’t a pattern which chars get colored wrongly. Part of the lexers coloring the same
    chars incorrectly, whereas other lexers color other chars wrongly.

    Cheers
    Claudia

  • [Sessionmanager-Plugin] Name not shown in PluginManager & Error @ Start

    12
    0 Votes
    12 Posts
    7k Views
    Claudia FrankC

    Hello Henning,

    Error comes from the plugin.

    /** Loads the settings.xml file if it has not already been loaded. Creates it if it doesn't exist. */ bool readSettingsFile() { DWORD lastErr; tXmlError xmlErr; LPCWSTR settingsFile; if (!_xmlDocument) { settingsFile = sys_getSettingsFile(); if (!pth::fileExists(settingsFile)) { pth::createFileIfMissing(settingsFile, INITIAL_CONTENTS); _isDirty = true; } _xmlDocument = new tinyxml2::XMLDocument(); xmlErr = _xmlDocument->LoadFile(settingsFile); if (xmlErr != kXmlSuccess) { lastErr = ::GetLastError(); msg::error(lastErr, L"%s: Error %u loading the settings file.", _W(__FUNCTION__), xmlErr); return false; } } return true; }

    Seems that plugin can’t find settings.xml file.

    Do you know whether the author of sessionmanager is active in this board ?
    No, I don’t know.

    Cheers
    Claudia

  • How to display invisible characters

    Locked
    5
    1 Votes
    5 Posts
    57k Views
    Claudia FrankC

    Hello, @Murray-Sobol
    there are difference but in default configuration they are hardly seen.

    Goto
    Settings->Style Configurator->Global Styles->White space symbols
    and set foreground color to black

    then it should be more obvious.

    Cheers
    Claudia

  • Notepad++ duplicate Code when File is openend

    3
    0 Votes
    3 Posts
    3k Views
    Robert ForstR

    Uses Notepad++ in Version 6.8.9 and Filezilla 3.15.0-rc1

    The Problem solved via a Filezilla Update to 3.15.01:

    “Fix regression from 3.16.0-beta1 where extra data being appended to some downloaded files”

    Anyway, thanks so far for the quick reply.

  • Apparently I am too stupid ...

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Matt IsaacsonM

    Ah! So not only too stupid, but also too blind to notice a singular deviation from otherwise very uniform use of camel case for function names. Unless “goto” is now a single English word in its own right and not just a programming command. Grumble grumble.

    Thanks again Claudia for getting me unstuck !!

  • Need help defining UDL.

    3
    0 Votes
    3 Posts
    4k Views
    Ebm DendermondeE

    @Claudia-Frank That did it! Thanks!!!

  • Can the lines that occur when folding code be turned off?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @TechTony2016,

    afaik, not yet supported by npp. If you have python script plugin installed you could do

    editor.setFoldFlags(0)

    Cheers
    Claudia

  • Error in installation of 6.8.8

    5
    0 Votes
    5 Posts
    4k Views
    Roy Ivan Louie TandocR

    Thank You so much for the help I have installed 6.8.8.

    Cheers
    Ivan

  • [regex help] Need to change [[ to [ in files

    5
    0 Votes
    5 Posts
    4k Views
    Claudia FrankC

    @guy038

    Skiing in the alps
    having 300 MBit internet connection
    and the patience to write such detailed answers,
    there must be something different in the french air
    maybe I should think of moving to france ;-)

    Cheers
    Claudia

  • Search and Replace using excel? Or other method

    Locked
    2
    -1 Votes
    2 Posts
    3k Views
    Scott SumnerS

    Try an Excel and not a Notepad++ forum?

  • I can't drag-and-drop Notepad++ v6.8.8

    Locked
    4
    0 Votes
    4 Posts
    5k Views
    Claudia FrankC

    Hello Marcelo-Luz,

    I assume I know what’s going on.
    You start npp as elevated process (as seen by Admin mode : ON) but, I assume,
    explorer was start with normal privileges. When you now, drag a file from explorer
    to npp you get that kind of behaviour as windows doesn’t allow it.
    In general, a process with lower privilege cannot drag something to a process with higher privileges. So, solution would be either to start explorer as admin as well or npp with normal privileges.

    Cheers
    Claudia

  • Scientific numbers (e/E) in User Defined Language

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Johan-Torstensson use e as the delimiter and allow nestung with numbers.

    Cheers
    Claudia

  • 0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    @Tha-BeatBeest

    because you asking that kind of question I have to assume that you don’t know any programming or scripting language at all or
    that you want to achieve something together with npp which you didn’t mentioned yet.
    There is no one and only programming/scripting language. Every language has its strength and weakness and it simply depends on
    what you really want to achieve.

    Cheers
    Claudia

  • Style quirk in Windows 7

    Locked
    8
    0 Votes
    8 Posts
    5k Views
    Claudia FrankC

    Hello Bill,

    Thanks for the FABULOUS assistance, Claudia!

    your welcome.

    One other sort-of-related thing: when I was first trying this out several weeks ago, I started with a portable installation, and changes I made >in style configurator were not persistent. Close NPP and reopen, and you’re back to the default style settings.

    there are several portable versions out there and they behave differently in term how to store the data. I refer to the “official”
    portable version, which is the zip or 7z file you can download on the npp homepage. When using this one, it works as long as
    you use the same drive layout on all computers, which, I agree, isn’t normally the same.
    The reason is, that, for example, the theme stored in config.xml uses the complete instead of a relative path.
    You can change this by editing, with an editor other than npp, the config.xml directly but be aware that changing any other gui option would overwrite it again.
    Request to change this has been already adressed.

    So, current situation is like this

    <GUIConfig name="stylerTheme" path="D:\ProgramData\notepad++\themes\Bespin.xml" />

    but by changing it to

    <GUIConfig name="stylerTheme" path=".\themes\Bespin.xml" />

    it can be used on an usb stick without a problem.

    Cheers
    Claudia

  • Lots of "Unknown exception" errors appeared out of nowhere

    3
    0 Votes
    3 Posts
    2k Views
    Destroy666xD

    Thanks, it was the Session Manager plugin. It wasn’t updated for nearly a year though so no idea why it broke.