Community
    • Login
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • Francesco GramegnaF

      how i start my programm or execute

      Watching Ignoring Scheduled Pinned Locked Moved problem thanks please can solve ny pl i hope than yo
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • __WS64___

      inc files

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • Gary WG

      Random file associations

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • ?

      Delete Multiple lines in Multiple files

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      0 Votes
      8 Posts
      6k Views
      Scott SumnerS

      It appears the OP has undergone an identity crisis…no matter…

      OP:

      Firstly, I encourage if not demand you make a complete backup copy of your entire original file set…Whew!, now nothing that follows is my fault! :-)

      So, this could work, if I have a good understanding of the “spec” on what is needed:

      Find what: (?s).+?\RSummary:[^\r\n]+\R(.+)
      Replace with: \1
      Search mode: Regular expression

      Very high-level summary of what happens with the find and replace:
      From the start of file (in a Replace in Files operation) match a string of any characters followed by a line-ending with “Summary:” immediately after; continue matching through (and including) the line-ending of the “Summary:” line. At that point, grab the contents of the remainder of the file and remember it. At replace time, substitute what was remembered (everything after the “Summary:” line) for the contents of the entire file. This effectively deletes the desired lines.

      For the regex experts out there reading this, I DID try some things with the \A anchor (for start-of-file matching), but I recall reading something from @guy038 on a bug with \A in Notepad++'s regex engine, and my testing bore out that there is a problem with it.

    • Ron PoultonR

      SCI_WORDLEFT and SCI_WORDRIGHT treats sentences as words in New File?

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      1 Votes
      6 Posts
      3k Views
      Huilian HarukiH

      I had the same problem.
      I was running v7.3.3 (64 bit). I uninstalled it and installed v7.3.2 (64 bit). It works fine now. :)

    • stehtimschilfS

      Move to next word (ctrl+left / right) behaves strangly since 7.3.1

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • Robin CruiseR

      How come there are two fonts?

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      953 Views
      No one has replied
    • Mic HaelM

      Clear certain area

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      2k Views
      Claudia FrankC

      @Claudia-Frank

      or if there is always a space after the number but not in the case with the calling-station you could do

      find: ^.*(49160\d+)\s.*$ replace: \1
    • Alan KilbornA

      'Replace All, In Sel text only' with multiple selections

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      2k Views
      Scott SumnerS

      Earlier I linked to a posting by me in another thread.

      I should have linked to a posting by me in yet another thread: https://notepad-plus-plus.org/community/topic/77/blank-trim-operations-on-a-text-selection-only

      :-D

      I guess the answer to the OP’s question is that this (a selection-based action acting only upon the single, most recently made selection [when there are multiple selections active]) has been known behavior for a long time.

    • Tanya HendersonT

      Double-Click single Word selection problem

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      2k Views
      young-developerY

      @Tanya-Henderson , reinstall npp
      https://notepad-plus-plus.org/community/topic/13620/double-click-a-word-selects-more-than-that-word

    • Faizu KhanF

      multi-line tab

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      22k Views
      Fadi RF

      @kawinga , question isn’t formulated clearly but I’m guessing from the screenshot that OP gave that he is referring to indenting paragraphs using tab. I believe your answer of multi-selecting a paragraph and hitting tab pretty much answers the thread. Thanks for that, I didn’t even know you can do that. It’s going to make my life alot easier… :)

      @Yongtao-Yang , thanks for your answer, that was actually exactly what I was looking for when I wondered into this thread.

    • Alan KilbornA

      Quick move back to caret after using scrollbar

      Watching Ignoring Scheduled Pinned Locked Moved
      9
      0 Votes
      9 Posts
      3k Views
      guy038G

      Hi, @joe-bonifazi, @alan-kilborn, @claudia-frank and All,

      Oh yes, I’m feeling quite silly too ! Joe, it’s just a very simple and clever solution :-D

      Reading the initial Alan’s post, I wanted to point him out to my reply to @yaron , six months ago about :

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2471#issuecomment-255602837

      Now, you may, simply, read this reply just as an additional information on Scintilla commands about caret !!

      Cheers,

      guy038

    • AlexCeedA

      Python script to replace on selection

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      1 Votes
      5 Posts
      5k Views
      Scott SumnerS

      @AlexCeed

      To elaborate a bit on @Claudia-Frank 's explanation, here’s some code that shows how to do a replace on only the text in one or more selections:

      find = 'a' replace = 'A' num_selections = editor.getSelections() for sel_nbr in range(num_selections): start_pos = editor.getSelectionNStart(sel_nbr) end_pos = editor.getSelectionNEnd(sel_nbr) editor.replace(find, replace, 0, start_pos, end_pos)
    • Joe BonifaziJ

      ?Possible? highlight current function name in function list based on code location in editor window.

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      2k Views
      Per IsaksonP

      The title of this page is: How to Add Support for a New Language to Exuberant Ctags

      C:\Users\poi\AppData\Roaming\Notepad++\plugins\TagsView\EXTENDING.html

      and TagView is based on ctags

    • Bernard JYB

      using php function readline() in notepad++

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      2k Views
      Claudia FrankC

      @Bernard-JY

      because it is a command line function and is not supposed to be used within browser!??
      Nevertheless, you might get better support if you ask such questions in a php specific forum.

      Cheers
      Claudia

    • Khalil DjahliK

      My '.css' file became empty after a crash!

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      875 Views
      No one has replied
    • Jay LJ

      screen flickering every time you ctrl+f and it doesnt find anything???

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      -4 Votes
      3 Posts
      2k Views
      Johann v. PreußenJ

      @guy038 your SECOND thought should also be to delete this idiot’s account while removing this inane topic. serious users need not waste their time on such junk.

      thank you,

      johann

    • Johann v. PreußenJ

      BSOD win7/64 pro using 32-bit npp 7.3.3

      Watching Ignoring Scheduled Pinned Locked Moved bsod crash win764 edit menu 7.3.3
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • Dan KroftD

      § is broken when loading up a .yml with it in it. shows up as ยง

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • VampireSeraphinV

      Add new line of text at end/target line for multiple files?

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      3k Views
      Claudia FrankC

      @VampireSeraphin

      give it a try with the following (regex and match newline needs to be checked)

      Find what: ^(.*?\r\n)(.*)$ Replace: \1SomeText\r\n\2

      ^ Start from beginning of file and the ? restricts to find as less as possible chars until a \r\n (windows end of line marks) appears
      which basically means the first line. Having enclosed in () means it get captured in variable \1 .
      Next capture group gets the rest of the text until $ end.

      In replace you need to add the text and the eols \r\n together with the matching groups.

      Cheers
      Claudia

    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors