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

      How can I select text from different parts of a document.

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      274 Views
      guy038G

      Hello, @michael-haigh-0 and All,

      Just two constraints :

      Your (*###) tags must begin the line OR are preceded with blank space chars only. But these tags may be followed with some text

      You must run, at least, the v7.9.1 N++ release or a later one

      If so, the road map is :

      Open your file in N++

      Open the Mark dialog ( Ctrl + M )

      SEARCH (?s)^\h*\(\*1\).+?(?=\(\*\d+\)|\z)

      Tick the Purge for each search option

      Tick the Wrap around option

      Leave all other options unticked

      Select the Regular expression search mode

      Click on the Mark All button

      Click on the Copy Marked Text

      Close the Mark dialog ( Esc )

      Open a new tab ( Ctrl + N )

      Paste the clipboard’s contents ( Ctrl + V )

      => Each (*1) section is natively separated with a blank line and a ---- line ;-)

      Now, just get concentrated !

      Of course, change the 1 of the regex by any number required !

      Best Regards,

      guy038

      P.S. :

      You may, as well :

      Tick the Bookmark line option, in the Mark dialog, before clicking on the Mark All button

      Close the Mark dialog ( Esc )

      Go back to the very beginning of your file ( Ctrl + Home )

      And, simply, browse through each Bookmarked line, with the F2 or Shift + F2 shortcuts !

    • Ilyassb02I

      Notepad ++ place switching

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      301 Views
      Ilyassb02I

      @guy038 thank you man. worked like a charm

    • WhiskyDripW

      HyperText

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      398 Views
      WhiskyDripW

      Hello.
      Problem solved. Thanks to @carypt over on > < https://github.com/notepad-plus-plus/notepad-plus-plus >

      Link here for the User Defined Language.
      https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/udl-list.md

      WD

    • kracovwolfK

      Regex lines

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      237 Views
      kracovwolfK

      Thanks! I love this forum and program

    • ijoel92I

      Delimiter Settings (Ctrl + Double Click) to include more brackets

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      1k Views
      astrosofistaA

      Hi @ijoel92

      Not natively. But there is a Python script that I think does what you want.

      See details in this and subsequent posts.

      If you want to try the script, here are some instructions to install it:

      Have fun!

    • MeatheadM

      Notepad++ Search and Replace From List With Limited Replacements

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      3k Views
      Alan KilbornA

      @Meathead

      It’s really a rather easy thing for a scripting plugin to do, as Peter says.

      Here’s a demo using PythonScript; see if you can follow its logic without further explanation:

      from Npp import editor city_string = ''' Sydney Melbourne Adelaide ''' city_list = city_string.splitlines() city_list.pop(0) for city in city_list: editor.replace('city', city, 0, 0, editor.getLength(), 4)
    • Egor ArtemenkoE

      Lags during up and down navigation with arrows on large PHP-file, 500 Kb, 16k lines

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      0 Votes
      8 Posts
      657 Views
      gstaviG

      @Egor-Artemenko said in Lags during up and down navigation with arrows on large PHP-file, 500 Kb, 16k lines:

      Another tweak is detecting fast actions

      Extremely unlikely.
      The core design of Notepad++ and Scintilla is single threaded.
      Once an “event” should do some computation this computation is happening and even if it is unexpectedly long there is no way to abort it.
      With “fast actions” which is practically 2 quick events the 2nd event cannot influence the 1st event.

    • 황영철황

      How do I change file tab's font name and size ?

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      710 Views
      Terry RT

      @PeterJones said in How do I change file tab's font name and size ?:

      I believe it may be influenced by Windows theme settings

      If it is influenced by the Windows settings, then on Windows 10 the changes must be done in registry (was removed from control panel since previous Windows version).
      Have a look at:
      https://www.windowscentral.com/how-change-default-system-font-windows-10
      which outlines the method. This is not something to be taken lightly as there’s no fail-safe as would be available when it is run through a GUI.

      Terry

      PS I haven’t tested this yet as my company dislikes these sorts of changes done by users.

    • Pierre de la VerreP

      Call Notepad++ from Firefox to edit Text Field?

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      507 Views
      Pierre de la VerreP

      Thanks for your replies!

      @wonkawilly said in Call Notepad++ from Firefox to edit Text Field?:

      …
      Easy, direct, and no plugins or scripting needed.

      If you want to complicate things use addons to make easy tasks like this more difficult. Addons are powerful but it must worth their use and for this I’m not sure

      I got this job from colleagues which used the old version of add-on “withexeditor” and told me “it’s so fine and so important and …”, but the more I look at it (and the value behind it …) the more I have doubts about the time to invest for a “simple solution”

    • Georg HohmannG

      Error Reporting

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      304 Views
      EkopalypseE

      @Georg-Hohmann

      There is an issue with the NppSaveAsAdmin plugin,
      can it be that you are using it as well?

    • DimakSerpgD

      how to put numbers every two rows?

      Watching Ignoring Scheduled Pinned Locked Moved
      16
      0 Votes
      16 Posts
      1k Views
      Alan KilbornA

      @wonkawilly said in how to put numbers every two rows?:

      there is a little error in the row

      It’s OK. BTW I didn’t go step by step through to check for accuracy.
      It’s enough that you very clearly showed the technique, enough to get someone started down that same path.

    • Ward RickerW

      Changes not taking

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      308 Views
      Ward RickerW

      @Ward-Ricker Well, now to answer my own question. I have uninstalled and reinstalled Notepad++ once again. This time it seems to have fixed the problem. I don’t know why it didn’t fix it the first time, but apparently I am all set.

    • John JohnsonJ

      NPP is closing files instead of 'storing' them

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      235 Views
      EkopalypseE

      @John-Johnson

      Looks like the setting remember current session for next lauch has been reset. Settings->Preferences->Backup->Remember…

    • Diedrich HesmerD

      Functionlist no longer working on .vb files

      Watching Ignoring Scheduled Pinned Locked Moved
      16
      0 Votes
      16 Posts
      1k Views
      Diedrich HesmerD

      @Ekopalypse
      I’m back to normal. Thanks for your help, this copy did it.

      best regards
      Diedrich

    • Terry MusserT

      Issue resolved using "SetUserFTA" utility

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

      Hi need help. how can i recover scanned text document blurred and has black space.

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      209 Views
      PeterJonesP

      @WEST-HOTEL ,

      Further to @Ekopalypse reply, see this FAQ for the technical details of text files (within Notepad++'s abilities) and binary files (not within Notepad++'s abilities).

      I recommend you find a help forum about whatever scanner you used, or better, the OCR software you have access to. But we cannot help you here. Sorry.

    • william19941994W

      A config about DirectWrite switch for emoji and Fira code font.

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      837 Views
      PeterJonesP

      @Ekopalypse said in A config about DirectWrite switch for emoji and Fira code font.:

      too lazy to find out

      v7.8.8, according to this search

    • Sadiq B. Al-LawatiS

      Txt file formatting

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      2k Views
      Sadiq B. Al-LawatiS

      That’s it! You answered my query. Many many thanks @Ekopalypse

    • Mikel CortésM

      Style configuration not working

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      2k Views
      Mikel CortésM

      Thanks for your reply @PeterJones

      I have reinstalled Notepad ++ last version and now “JavaScript (embedded)” appears on my list; but as you have said the issue continues.

      It seems that “.” is not considered as a word separator to identify keywords to apply the style configuration.

      NotepadPlusPlus.png

    • Vasile CarausV

      Regex: Select everything from the beginning of the file to another string / word / tag

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      500 Views
      PeterJonesP

      @Vasile-Caraus said in Regex: Select everything from the beginning of the file to another string / word / tag:

      seems good in notepad++

      As a reminder, this Forum is about Notepad++ . If a regex works in Notepad++, then this isn’t really the right place to ask about your problem.

      I am glad the you figured it out, but let’s keep any regex discussion here on topic.

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