• Get "Notepad++ Stopped Working" error after 10-30 minutes

    6
    0 Votes
    6 Posts
    3k Views
    Scott SumnerS

    @racketteer

    There is some good info here on how to insert pictures (disclaimer, I wrote it), but the short of it is:

    Upload a pic to Imgur (my current favorite) Use Imgur controls to copy a “markdown” link to your pic Paste that into a posting here, but put a ! in front of it

    So what you’d see as you’re composing a post would look like this:
    ![Imgur](http://i.imgur.com/QTHZysa.png)

    …but in the preview-pane on the right you’d see your actual picture (if you’ve done it correctly)

  • Folding behavior of SQL code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    jjacobs13J

    @jjacobs13 A quick clarification: the desired folding occurs when either

    The CASE, WHEN, and THEN keywords are on the same line, or The WHEN is moved to a line (whether on the same as the THEN or on a different line) after the CASE line
  • Language command line switch not working

    3
    0 Votes
    3 Posts
    1k Views
    David McCloskeyD

    Thanks, that fixed it.

  • Issue when opening multiple files

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Giulio MartiniG

    Ok I think I understood what I did wrong.
    After selecting the desired files, I did right click + edit with notepad++. However, when I right clicked I did not do it on the “first” file. By right clicking on a random file among the selected ones, notepad++ appears to open that file first and then proceeds by opening the following ones in a “circular” way. Actually, this appears to be a Windows thing. Thank you for your help and sorry for the waste of time.

  • Simple test file is losing its encoding :(

    5
    0 Votes
    5 Posts
    2k Views
  • Notepad++ Installation / Admin Rights

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Frank OrellanaF

    I guess it is. I use it in some machines without Admin rights and it works fine except:

    You can not update it You cannot install plugins in the default dir (you can check the option to load plugins from the %appdata% dir while installing if you need them) You cannot edit files that require Admin rights (duh!)

    Other than that, you can use it just fine.

  • Is SciLexer.dll part of Boost Library? and Why adopted?

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Bin-Wang

    Yes No; Boost is used in Notepad++ for its regular expression engine, not any part of its GUI SciLexer.dll is the (modified) Scintilla project code that is the core of Notepad++'s editing abilities
  • i need help to figure out the meaning and how would use it

    Locked
    1
    -3 Votes
    1 Posts
    568 Views
    No one has replied
  • HELP! i can't go to settings

    2
    0 Votes
    2 Posts
    1k Views
    decodermanD

    Is NPP in full screen mode?
    Key F11 switches between the standard and full screen mode.

    If you see the Menu Bar, go to Settings > Preferences.
    On the center panel in “General” in the Toolbar section uncheck either “Hide” or select one of the icons selections.

  • Newbie Quesiton about Formatting

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    glennfromiowaG

    If you’re just looking to get it in human-readable format, you can replace the ~ with a new line - just keep in mind that this may break the format of the file. Editing the file in a way that the native software can read it may be much more complicated.

    To replace the ~ with a new line:

    Open the Replace dialog box, either by pressing Ctrl+H, or from the menu, Search -> Replace In the Find what: field, type the ~ character In the Replace with: field, type \r\n - note that these are backslashes, with the top of the slash pointing to the left In the Search Mode section, select Extended (or Regular Expression; either will work) Click the Replace All button
  • 0 Votes
    3 Posts
    6k Views
    glennfromiowaG

    It’s always hard to troubleshoot problems like this, not knowing what another user’s computer environment is. However, if the remember current session for next launch is checked, as @Claudia-Frank suggested, find where the configuration files are saved. There are two helpful articles in the Wiki on this: Notepad++ Install Folder and Where are the files?

    Once you find these, write down the path. Then I’d try copying a random text file to that folder, or perhaps creating a uniquely-named folder there. Then the next time you open Notepad++ and it doesn’t open the last session, check that folder and see if the files there are the same ones that were there before. If that text file and/or folder are also missing, you may be on a system that wipes the folder when some criteria is met.

    As a workaround, you can manually save your session (File -> Save Session) to a folder you know will retain its files, then open the session file when you open Notepad++. You can even include that on the command line in your shortcut to Notepad++ if you want.

  • Set NPP as default for files with no extension

    3
    0 Votes
    3 Posts
    3k Views
    decodermanD

    Solved!
    I have Directory Opus as the default File Explorer on all my Windows machines.
    Directory Opus lets you set how to handle files with no extensions and open them with the program of your choice.
    I have had it set in it’s settings to use NPP but since I removed the 32-bit version that path was no longer available as the handler.

    Here’s the magic setting in Directory Opus:
    https://resource.dopus.com/t/associate-with-no-file-extension/9592

  • Newbie Question

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    jeffrey harrisJ

    Yep. That was the problem. Thanks for being a good cook in addition to being a programmer.

  • What is the largest file size allowed to be opened in Notepad++?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Scott SumnerS

    @Monica-Toigo-Mesch

    Perhaps this thread contains your answer.

  • Notepad++ 7.5.4 Clickable links no longer work (again)

    Locked
    4
    1 Votes
    4 Posts
    5k Views
    Devarajan SwamiD
    Debug info report is below: Notepad++ v7.5.4 (32-bit)
    Build time : Jan 1 2018 - 01:47:45
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppColumnSort.dll NppConverter.dll NppExport.dll NppTextFX.dll PluginManager.dll Tidy2.dll XMLTools.dll

    But I think I have a better idea about the problem now.
    The problem is that for at least this version of np++, double tapping on the touch keypad does not work in the editor window - ie… does not have any effect in any document in any editor window.
    Other operations on the touch keypad work:

    Single tap positions the cursor at the tapped point Tap and drag works to highlight a range of text
    etc.
    Also, clicking and double clicking on the touch pad BUTTONs work normally.
    In particular, double clicking using the touch pad BUTTONs correctly opens the URL in the default browser window.
    Only double tapping on the touch pad doesn’t work. Double tapping on a word to select/highlight it doesn’t work Double tapping on an underlined URL does not open it in a browser.

    Both of these used to work in previous versions of np++, although my version may have been a few versions back.

    I’ll be posting a separate topic on this.

  • Regex: Copy first 5 lines from all open documents

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    guy038G

    Hi, @vasile-caraus, @Scott-sumner and All,

    Indeed, in that matter, N++ totally fails to solve this simple goal :-(( And this, for two main reasons :

    Firstly, because the N++ regex engine does not handle properly, backward assertions ( as \A , \<, \b before a word,… )

    Secondly, because the results, in the Find result windows, display a single line , even if a multi-lines amount of text had been matched !

    For instance, as a work-around, with the François-R Boyer regex engine, and N++ v6.9.0, I used, successively, the following 5 regexes :

    (?-s)\A(.*\R){0}\K.*\R , which, correctly, match the first line of any opened file

    (?-s)\A(.*\R){1}\K.*\R , which, correctly, match the second line of any opened file

    (?-s)\A(.*\R){2}\K.*\R , which, correctly, match the third line of any opened file

    (?-s)\A(.*\R){3}\K.*\R , which, correctly, match the fourth line of any opened file

    (?-s)\A(.*\R){4}\K.*\R , which, correctly, match the fifth line of any opened file

    After 5 clicks, on the Find All in All Opened Documents button, I, then, copied these 5 search results in a new tab.

    Finally, after a classical sort, depending on the file name and the number of the line matched, I could get the 5 first lines of all my opened files ! Quite boring !

    Here, Vasile, it should be interesting to use, instead, a simple Lua or Python script, for nice and immediate results ! Of course, some external tools, as you said, can realize this work, quite well, too !

    Best Regards,

    guy038

    You may look this alternative solution, in the last part of this post :

    https://notepad-plus-plus.org/community/topic/15058/regex-remove-particular-words-from-tags-in-several-text-pages/11

  • copy 10 lines of code to all open documents

    5
    0 Votes
    5 Posts
    2k Views
    guy038G

    Hello, @angelica-bartoloni,

    As it’s my first post of 2018, allow me to wish you and every N++ user, a very productive year, with our beloved editor, a lot of opportunities and, of course, good health, throughout the year !

    Well, I supposed that all your HTML files are gathered in a specific folder, aren’t they ?

    The next question, Angelica, is : Where the script is supposed to be inserted, in these hmtl files ? I mean, could you give us the context ( a couple of lines before and after that insertion point ! )

    Finally, if not confidential, as it shouldn’t exceed 10 lines, could you, also post the script’s contents !

    With all that information, and the Built-in Replace / Replace in Files feature, it shouldn’t be very difficult to get the job done !

    See you later,

    Best Regards,

    guy038

  • Project View is not Working

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    Claudia FrankC

    @Micah-Rios

    Give it a try to reset the project panel docking settings by

    closing npp and

    open config.xml with a different editor
    depending on your configuration you need to edit the file which is located under
    the installation directory or the one under %APPDATA%*\notepad++.

    delete the 3 lines under DockingManager which look like this

    <PluginDlg pluginName="Notepad++::InternalFunction" id="44083" curr="0" prev="-1" isVisible="yes" /> <PluginDlg pluginName="Notepad++::InternalFunction" id="44082" curr="1" prev="5" isVisible="yes" /> <PluginDlg pluginName="Notepad++::InternalFunction" id="44081" curr="3" prev="4" isVisible="yes" />

    Save the file and restart npp - reopen project panels.

    Cheers
    Claudia

  • Need help with search feature...

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Yangci-Ou

    Sure…welcome to the Community. :-)

    That’s a pretty easy one. You can use the Find All in Current Document feature:

    Invoke the Find feature (press Ctrl+f)
    Find what zone: \b....e\b
    Set Match case to your pleasure
    Search mode: Regular expression
    Action: Press Find All in Current Document button

    Each . in the Find what zone represents a character position where you don’t care about what value it takes on (your “underscores”). The \b at the start and end just means to encase what comes between as a word, thus the example above would match “whale” but not the whale part of “whales” or “whaleboat”.

    This is rather basic “regular expression” stuff so I encourage you to go off and do some reading about what that is and how to use it for your needs in the future.

  • abort or cancel an inadvertent search that is taking forever.

    2
    0 Votes
    2 Posts
    987 Views
    LeeVious MaximusL

    At least bring the cancel window topmost, it was hidden below others.