• Change process name (or compile Notepad++)

    Locked process compile
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Regex is driving me up the wall

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS
    @Anthony-Bouttell One problem is that your use of .* is grabbing too much. You’ll want to change that to .*? which will match the minimum amount. And then the *.* looks too much like CMD shell wildcard/globbing… I’m away from Notepad++ at the moment so I can’t actually try it out, but maybe something like this will work, or at least give you a boost: Find-what zone: ISNULL.*?\] Replace-with zone: $0,'' In words: match ISNULL through the immediately following closing bracket, replace the match with what was found (represented by $0) plus a comma and two single-quotes.
  • How to recovery an backup

    Locked recovery backup
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • refresh file

    2
    0 Votes
    2 Posts
    8k Views
    Mike TarggartM
    Go to Settings>Shortcut Mapper and set a shortcut/hotkey for the item ‘Reload from Disk’ (line item 6). I set it to F5, which by default is the hotkey for ‘Run’ ( line item 271). I don’t use Run, so I set that to None. Now when I want a file to refresh, I can just hit F5.
  • Good way to visualize replacement?

    Locked
    6
    3 Votes
    6 Posts
    4k Views
    Scott SumnerS
    @Alan-Kilborn leaves some colors in my documents (even documents that weren’t involved in the compare! Yuck!) Maybe the Compare plugin is using some “indicators” that you are using in some other way–so that there’s a conflict? Check other plugins, maybe, for overlap? It seems like it would be fairly easy to write a Pythonscript to mimic the Compare plugin’s Diff since last save functionality, using Beyond Compare instead, something like this as the last lines of a script: with open(unsaved_changes_file_path, 'w') as f: f.write(editor.getText()) subprocess.Popen([ beyond_compare_prog_path, unsaved_changes_file_path, notepad.getCurrentFilename() ]) I think I remember that you are familiar with Pythonscript so I’ll leave completing the whole to you… @MAPJe71 , I think the original request takes it to a level beyond what “change markers” can provide.
  • Search and replace help

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    Anil AniA
    Notepad
  • 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
    18k 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 [image: 69g2o49.png] 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. [image: EXDYpCs.png] 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 [image: GVuUXHt.png] 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
    4k 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
    2k 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 html html encoding
    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
    2k 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.