• Login
Community
  • Login
  1. Home
  2. General Discussion
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • P

    Regular expression change first and last line in all opened files

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jul 2, 2016, 8:41 PM
    Jul 2, 2016, 5:33 PM
    0 Votes
    2 Posts
    3k Views
    P Jul 2, 2016, 8:41 PM

    Ok, i just found working solution how:

    -> remove first and last line in one ore more files in notepad, just using this regex:

    find: `[^\r\n][\r\n]+(.[\r\n]+)[^\r\n]+[\r\n]*’
    change for: \1

    Check regex and matches new line, it works really fine! :)
    Then i just easly can add something in first line with this regex:

    find what: (.*)
    replace with: WHATEVERTEXT\r\n\1

    Also check new line and regex. And the last one action to add something in the last one line of file:

    find: (.*)
    replace with: \1PUT HERE ANY TEXT

  • M

    Latest version notes

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jul 1, 2016, 12:42 AM
    Jul 1, 2016, 12:40 AM
    0 Votes
    2 Posts
    2k Views
    C Jul 1, 2016, 12:42 AM

    @Max-Entropy

    or it was in the morning as he wanted to monitor … :-)

    Cheers
    Claudia

  • T

    How does Notepadd++ deal with application upgrade?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 30, 2016, 11:29 PM
    Jun 29, 2016, 5:21 PM
    0 Votes
    2 Posts
    2k Views
    C Jun 30, 2016, 11:29 PM

    @Tyson-Swing

    afaik by using WinGup?

    Cheers
    Claudia

  • G

    ctrl-F4 should close a file tab

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 28, 2016, 3:02 PM
    Jun 28, 2016, 12:24 AM
    0 Votes
    2 Posts
    2k Views
    K Jun 28, 2016, 3:02 PM

    I happen to prefer ctrl+w … easier reach. But you can just remap to your personal taste…

  • P

    [FR] File tabs names, icons, extensions, ect

    Watching Ignoring Scheduled Pinned Locked Moved extension tabs features icons backup tabs names
    1 Jun 28, 2016, 12:13 PM
    Jun 28, 2016, 12:13 PM
    2 Votes
    1 Posts
    5k Views
    No one has replied
  • K

    Request Something from Notepad-plus

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jun 27, 2016, 8:35 PM
    Jun 27, 2016, 8:35 PM
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • S

    Notepad++ Crashes in windows 7 x64

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jun 25, 2016, 11:16 PM
    Jun 25, 2016, 11:16 PM
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • N

    Issue with shortcut automatically created on desktop

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jun 25, 2016, 1:04 AM
    Jun 25, 2016, 1:04 AM
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • J

    Who "broke" my macro??

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Jun 24, 2016, 10:57 PM
    Jun 15, 2016, 7:31 PM
    0 Votes
    4 Posts
    3k Views
    C Jun 24, 2016, 10:57 PM

    @Jalapeno-Bob

    the problem happens because of the autocompletion function.
    You either can disable it or change your macro with one additional line
    (should be placed as second to last line

    <Action type="0" message="2325" wParam="0" lParam="0" sParam="" />

    which basically means you would press Esc before Arrow down.

    <Macro name="SQL quoting for VB" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="0" message="2453" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2453" wParam="0" lParam="0" sParam="" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam='&quot;' /> <Action type="0" message="2306" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2451" wParam="0" lParam="0" sParam="" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam='&quot;' /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="v" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="b" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="c" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="r" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="l" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="f" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="&amp;" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="_" /> <Action type="0" message="2325" wParam="0" lParam="0" sParam="" /> <Action type="0" message="2300" wParam="0" lParam="0" sParam="" /> </Macro>

    This should do the trick

    Cheers
    Claudia

  • 心

    Bad performance issue when 10M size of txt in one line

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jun 24, 2016, 12:37 PM
    May 5, 2016, 9:22 AM
    0 Votes
    3 Posts
    3k Views
    C Jun 24, 2016, 12:37 PM
    OP: Will putting more RAM in your machine help you? How much RAM do you have now? Which OS do you use? When you run the OS how much RAM do you have available?
  • R

    Component-izing Note++

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Jun 24, 2016, 12:12 PM
    Jun 5, 2016, 4:55 AM
    0 Votes
    3 Posts
    2k Views
    C Jun 24, 2016, 12:12 PM

    I think OP wants to make NPP into component that can be used in other languages, like Synedit is a component you can use in Freepascal and other languages, but Synedit is also a full application which uses the Synedit component.

  • Raccolta Giochi Pc ProfiloR

    use notepad ++ to modify a wordlist

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Jun 24, 2016, 11:15 AM
    Jun 2, 2016, 7:44 AM
    0 Votes
    6 Posts
    4k Views
    C Jun 24, 2016, 11:15 AM

    To practice regular expressions go to http://www.regex101.com. You can sign up and store the regex you create, or store them in a public library visible to all users. It’s really neat! It explains every part of the regex for you and has a nice help facility. So it’s great for beginners and advanced regexers.

  • flopes89F

    Color non-printable characters in "whitespace color" instead of "font color"

    Watching Ignoring Scheduled Pinned Locked Moved whitespace colour style color
    3 Jun 22, 2016, 10:02 PM
    Jun 22, 2016, 1:52 PM
    0 Votes
    3 Posts
    2k Views
    dailD Jun 22, 2016, 10:02 PM

    I agree it would be nice to be configurable…however it is something Scintilla would have to implement. Here is the feature request on their tracker.

  • Jim TarpoJ

    Session File Handling Needs Improvement

    Watching Ignoring Scheduled Pinned Locked Moved file navigation session save as window sessionmgr
    1 Jun 22, 2016, 5:46 PM
    Jun 22, 2016, 5:46 PM
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • David van LeerdamD

    Please consider "Re-open closed tab" feature

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Jun 21, 2016, 10:37 PM
    Jun 20, 2016, 8:56 AM
    0 Votes
    5 Posts
    3k Views
    C Jun 21, 2016, 10:37 PM

    @Vitaliy-Dovgan

    not easily and officially not supported.
    But you can add it to the context menu of scintilla. (edit popup context menu)

    Cheers
    Claudia

  • David KolbD

    Ok to Install NPP on production servers?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 19, 2016, 1:39 AM
    Jun 18, 2016, 2:55 PM
    0 Votes
    2 Posts
    2k Views
    C Jun 19, 2016, 1:39 AM

    @David-Kolb

    from npp’s point of view it isn’t critical. It is open source and you can always check what it is doing.
    Our main concern was about the plugins which aren’t open source, meaning where only dll is available.

    Cheers
    Claudia

  • David KolbD

    Is there a decent Hex editor solution?

    Watching Ignoring Scheduled Pinned Locked Moved hex
    2 Jun 19, 2016, 1:26 AM
    Jun 18, 2016, 1:50 PM
    0 Votes
    2 Posts
    27k Views
    C Jun 19, 2016, 1:26 AM

    @David-Kolb

    unfortunately there isn’t one.
    Depending what exactly is needed we could have a python script doing it
    but if you really want a decent version I would recommend hxd.
    Standalone, but the best hexeditor I came across.

    Cheers
    Claudia

  • Nilesh VoraN

    Not able to see & sign in C langauge

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Jun 19, 2016, 1:18 AM
    Jun 18, 2016, 4:46 AM
    0 Votes
    2 Posts
    2k Views
    C Jun 19, 2016, 1:18 AM

    @Nilesh-Vora

    I don’t have that reported behavior.
    Could you give us an screenshot and the debug info?

    Cheers
    Claudia

  • Michael M.M

    Windows Universal App

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jun 17, 2016, 6:47 AM
    Jun 17, 2016, 6:47 AM
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Tim JarrettT

    Feature Request: 'Find in Project' and 'Find in Workspace'

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Jun 16, 2016, 8:24 AM
    Jun 16, 2016, 8:24 AM
    0 Votes
    1 Posts
    1k Views
    No one has replied
The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors