• Windows 8.1 & notepad ++

    Locked
    7
    0 Votes
    7 Posts
    3k Views
    decodermanD

    Here’s an old discussion that proves my theory as the original poster never deemed it worthwhile to reply with the solution:
    https://sourceforge.net/p/notepad-plus/discussion/331754/thread/fca513a6/

  • Program doesn't exist. Create it?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Annoo-shee

    and at the end notepad++ starts?
    If so, can you show us the debug-info which you can find under ? menu?

    It looks like your system has a problem with spaces in the path or that the installation wasn’t
    correctly done.

    You could also try to delete the shortcut and recreate a new one.

    Cheers
    Claudia

  • Monitoring Feature not updating "automatically"

    10
    0 Votes
    10 Posts
    17k Views
    Claudia FrankC

    @Bruno-Medeiros

    afaik, npp does not actively poll a file for its current state, instead it is using the windows event system to get informed when a file has been updated.
    This technique has several advantages like
    no ressources will be wasted while monitoring files, you can monitor many files without having
    impact on the editor itself etc… but, obviously, has also a disadvantage, that is that the windows
    event system doesn’t receive update information on files which aren’t updated in the “correct way” .
    The “correct way” means, an application needs to flush the changes or close the file after writing
    in order to generate such events.

    A simple example using the python script plugin.
    Let’s assume you want to monitor a file C:\test_monitoring. Let’s do the the following
    We create the file by using

    f = open(r'C:\test_monitoring','w')

    now let’s open the tile in npp and press monitoring button you should the the following

    ok, let’s try to write something to the file like

    f.write('this is a test')

    and you will see that npp doesn’t get informed about the update.

    but once the application which updated the file does a flush or close on that file like

    f.flush() f.close()

    the windows event system recognizes this and send the event to npp

    As said, simple example because it gets even more complicated when the file to be monitored
    is on the network or on an external usb disc or drive.

    Cheers
    Claudia

  • Stop switching documents when reloading because file changed on disk

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    cmeriauxC

    try the option “MISC/File Status auto detection/Update silently”

  • shortcut.xml not showing my macros

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Paola-Camacho

    depending how you installed npp you do have two shortcuts.xml files.
    One in INSTALL_DIR\notepad++ and, probably, one in %APPDATA%\notepad++
    Check both, one should have listed your macro.

    Cheers
    Claudia

  • question on editing .cfg files

    3
    0 Votes
    3 Posts
    2k Views
    Jim DaileyJ

    @Steve-Simmons

    Problems like this are easily solved using a scripting language like AWK, PERL, or Python.

    If you need to manipulate text files very often, it is well worth your time to learn one (or more) of these languages.

    AWK is the easiest to install (one exe file; I recommend gawk for windows) and use (not a ton of functions, very C-like if you are a C programmer).

    PERL and Python have much more ability to interact with other system components (that is, they can do a lot more than manipulate text), but they require you to install a bunch of files and are a bit harder to learn.

    Python is the it scripting language right now, so you’ll find lots of people willing to help you with that.

  • How to change scroll bar font?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Vasile-Caraus

    afaik such components are bound to the windows theme and cannot
    be modified by npp.

    Cheers
    Claudia

  • Removing tabs on Notepad++

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Denislav-Dimitrov

    sorry but I don’t get the point. Do you want to have the current document closed if you open another one automatically? Or something other?
    You don’t look for Settings->Preferences->General-TabBar check Hide, do you?

    Cheers
    Claudia

  • Tabs Disappear Problem

    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Dr-Mehti

    could it be that you run some software like ccleaner?

    Cheers
    Claudia

  • REM Color

    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Melissa-Rhoten

    is the provided example the bad one? It looks good for me, all in green.
    Do you have additional infos? Windows version, npp version etc … ?

    Cheers
    Claudia

  • Older files remain open

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Anthony-MODOLO

    do you mean you have explicitly closed these files and after restarting they reappear?

    Cheers
    Claudia

  • Select only text strings in HTML

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Bart-Van-Audenhove

    you can use regular expression search and replace with a technique like described here.

    Cheers
    Claudia

  • need to remove blank lines?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Tim-OBrien

    Menu Edit->Line Operations

    Cheers
    Claudia

  • Macro problems

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Per IsaksonP

    @Jayson-Cohen

    If you are comfortable with some programming you might want to check out

    PythonScript LuaScript

    This community will help, I’m sure.

  • Text File does not display in Notepad++ (Many versions)

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Meta ChuhM

    @Steve-Dyson

    Can I change the default character set when an existing file is opened?

    unfortunately not at the moment, this has not been fixed yet.

    even if you go to preferences > misc > and disable autodetect character encoding, it will open an existing utf8 file as utf8 and not to what you’ve set as your default

  • Setting a user file extension is not working on brand new Windows 10

    2
    0 Votes
    2 Posts
    1k Views
    Mikko RantalaM

    I have the same problem currently. Added a user file extension (rrx) into the VB/VBS category some time ago already but recently these files are back to being detected as xml types.
    Since this feature has worked for me in the past I’m not sure if this is due to Notepad++ or some Windows update. I have this problem with Notepad++ 7.5.1 on Windows 10 and 2012 R2. Both OSes have latest updates.

  • Need help with file association

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    silent5amS

    @Claudia-Frank

    Hi, I already tried that but it doesn’t work. Somehow Windows (or Notepad++) doesn’t “remember” the software associated with the file.

  • Help with recoveries

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Luis-Piña-III

    depending on how you installed notepad++ you do have either a
    backup directory under INSTALL_DIRECTORY\notepad++
    or under %APPDATA%\notepad++.

    Check if you find the files there, if you can’t find it they are most probably gone.

    Cheers
    Claudia

  • Notepad++ GNU Source code editor has stopped working.

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @thongtin-congnghe

    without additional information we don’t know also.
    Did you try the obvious steps like restart windows, reinstall notepad++ etc… ?

    Cheers
    Claudia

  • Why is "depth" highlighted in an *.sql file?

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Pete NorrisP

    MAPJe71, Scott Sumner;

    Thank you for responding to my question. I appreciate the help.

    I think it would be a good idea for me to change the column name to a different name.

    Thanks again. : )