Community
    • Login
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • 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
      517 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
      620 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
      446 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
      267 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
      268 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
      196 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
      978 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
      158 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
      779 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
      1k 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
      433 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.

    • Ohm DiosO

      Page break Text File saving

      Watching Ignoring Scheduled Pinned Locked Moved page break
      25
      0 Votes
      25 Posts
      3k Views
      Ohm DiosO

      @guy038 Hello sir, Is there any possibilities of saving name from text file instead of File_1?. Thanks.

    • Patrick DanileviciP

      Open a file with npp exec

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      1 Votes
      5 Posts
      814 Views
      Patrick DanileviciP

      @PeterJones Teaching literature is not an advantage when you use pc that’s why sometimes I ask on communities simple questions. Is working now. Thanks a lot!

    • Robin CruiseR

      Regex: Parsing, How to make a regex replacement in multiple files, from Folder-1 to Folder-2

      Watching Ignoring Scheduled Pinned Locked Moved
      8
      0 Votes
      8 Posts
      527 Views
      Alan KilbornA

      @Vasile-Caraus

      A viable technique, although not a technique inside Notepad++.

      I think your technique is going to also copy over the “START” and “FINNISH” lines into the destination file, which, to the OP, may not be desirable.

    • James SwallowJ

      Loading preferences by file extension.

      Watching Ignoring Scheduled Pinned Locked Moved
      12
      0 Votes
      12 Posts
      952 Views
      James SwallowJ

      Thanks for all the input thus far. Much obliged!

    • Ohm DiosO

      Copy From one text file and Paste it on another Text File using Regex

      Watching Ignoring Scheduled Pinned Locked Moved
      25
      1 Votes
      25 Posts
      4k Views
      guy038G

      Hi, @ohm-dios,

      Ah…, of course ! In the search regex :

      (?s-i)START\h*(\d+).+?END\R(?=.+(START\h*\1\R.+?END\R?))|^===.+

      You’ll notice the part START\h*\1\R, which defines the beginning of the paragraph that need to be copied, located under the ======== line

      The back-reference \1 to the group 1 ( which is the number after the START string and space char(s) ) must be immediately followed with the EOL chars ( \R )

      Thus, if anything is located between the number and the end of line, it cannot be equal to the corresponding number, located above the ========= line => NO match of this specific paragraph :-((

      BR

      guy038

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