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

    Write numbers from one to another one.

    Watching Ignoring Scheduled Pinned Locked Moved
    9 Mar 31, 2018, 5:06 PM
    Mar 27, 2018, 2:54 PM
    0 Votes
    9 Posts
    5k Views
    D Mar 31, 2018, 5:06 PM

    Thanks all of you
    I got my answer.

  • M

    Increase/Decrease All Highlighted x or y Coordinates

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Mar 30, 2018, 3:15 PM
    Mar 27, 2018, 1:08 AM
    0 Votes
    4 Posts
    2k Views
    P Mar 30, 2018, 3:15 PM

    Sorry, it took me a while to find the time to work on this

    You need PythonScript and 32bit Notepad++ for this to work. You can download PythonScript here

    # https://notepad-plus-plus.org/community/topic/15485/increase-decrease-all-highlighted-x-or-y-coordinates # Will prompt for which column (allows x, y, w, h) and how much to add or subtract (requires a number) # Will then do the search/replace over the whole file DEBUG = False def delt_1(m): global addend this = m.group(1) if DEBUG: console.write("matched '") console.write(this) console.write("'\t") r = str(addend + int(this)) if DEBUG: console.write("return: '" + r + "'") console.write("\n") return r #################################################### if DEBUG: console.show() if DEBUG: console.clear() column = None while column != "x" and column != "y" and column != "w" and column != "h": column = notepad.prompt("Which column [x y w h]?", "Choose column", "y") addend = None while addend == None: direction = notepad.prompt("Number to add (negative for subtraction)", "Choose delta", "1") try: addend = int( direction ) except: addend = None if DEBUG: console.write("column: " + column + "\n") console.write("addend: " + str(addend) + "\n") pattern = "((?<=\s{0})\\d+)".format( column ) if DEBUG: console.writeError(pattern + "\n") editor.beginUndoAction() editor.rereplace(pattern , delt_1) editor.endUndoAction()
  • T

    Subtract document B from A

    Watching Ignoring Scheduled Pinned Locked Moved multi delete subtract batch remove
    21 Mar 30, 2018, 12:08 PM
    Mar 20, 2018, 12:27 PM
    0 Votes
    21 Posts
    9k Views
    C Mar 30, 2018, 12:08 PM

    @Timmy-M

    good to see that you got it sorted out :-)

    and to keep sorting, change this

    editor1.setText('\r\n'.join(s1-s2))

    to this

    editor1.setText('\r\n'.join(sorted(s1-s2)))

    that should do the trick.

    Cheers
    Claudia

  • J

    How to set browser window height in Notepad ++

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 30, 2018, 12:11 AM
    Mar 29, 2018, 11:46 PM
    -1 Votes
    2 Posts
    917 Views
    S Mar 30, 2018, 12:11 AM

    @Jamar-Bivens

    Nope. This is a place for talking about Notepad++ issues, not web-development issues. Please find a more appropriate place to ask your question–there must be many possible channels for this. And please, nobody answer it here; it only encourages off-topic discussions.

  • T

    Block Editor Insert numbers backwards

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 29, 2018, 6:14 PM
    Mar 29, 2018, 6:14 PM
    0 Votes
    1 Posts
    657 Views
    No one has replied
  • K

    Sindhi translation

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 29, 2018, 5:07 PM
    Mar 29, 2018, 5:07 PM
    0 Votes
    1 Posts
    768 Views
    No one has replied
  • T

    how to find multiple lines in multiple files?

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 29, 2018, 1:04 PM
    Mar 29, 2018, 1:04 PM
    0 Votes
    1 Posts
    629 Views
    No one has replied
  • R

    Unable to see the contents of doc when clicking on Open

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Mar 28, 2018, 9:11 PM
    Mar 27, 2018, 7:53 PM
    0 Votes
    8 Posts
    2k Views
    P Mar 28, 2018, 9:11 PM

    And for those who (like me) had never noticed the feature, here’s where a picture (or movie) gives a lot of clarity.
    Imgur

    Note, I click on the “Details” just to show that I have “Details” selected, but I don’t think it matters (I originally thought you might have to be on “Contents” view, but this movie shows you don’t). The important is clicking on the “Show the preview pane.” icon to the right. That will preview the contents.

  • R

    wanting to join a bunch of lines.

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 28, 2018, 8:10 PM
    Mar 18, 2018, 9:19 PM
    0 Votes
    5 Posts
    2k Views
    R Mar 28, 2018, 8:10 PM

    Thanks it’s mostly worked with 1 or 2 issues for another line but it’s super easy to fix now so thank you!

  • H

    Syntax for characters inside of characters with no spaces

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Mar 28, 2018, 6:54 PM
    Feb 6, 2018, 2:10 PM
    0 Votes
    3 Posts
    2k Views
    C Mar 28, 2018, 6:54 PM

    @Hunter-Blair

    no, there is no wildcard option, except the prefix mode for keywords.
    From the given example, you could define the comma as an operator
    and a delimiter with open

    0 1 2 3 4 5 6 7 8 9

    and closing

    ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL)) ((EOL))

    and allow nesting (available through styler button) with keywords1

    Cheers
    Claudia

  • C

    Notepad++ no longer working regardless of version. :-(

    Watching Ignoring Scheduled Pinned Locked Moved
    8 Mar 28, 2018, 6:31 PM
    Mar 26, 2018, 4:55 PM
    0 Votes
    8 Posts
    2k Views
    P Mar 28, 2018, 6:31 PM

    Moreover, going back to Win98 wouldn’t help, unless you also went back to an ancient version of NPP. NPP hasn’t supported Win9x for many versions, and is even moving away from supporting XP.

    And in all good conscience, I cannot do anything but strongly recommend not going back to an operating system so old and insecure as that. From my experience, Win10 isn’t significantly different from Win7, and anything that I cannot intuitively do via my Win7 methodologies, I can easily accomplish after a quick web search.

  • Дмитрий СтарчиковД

    There is a bug with brackets

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 28, 2018, 4:00 PM
    Mar 28, 2018, 4:00 PM
    0 Votes
    1 Posts
    643 Views
    No one has replied
  • B

    Two simple Qs

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 28, 2018, 12:15 PM
    Mar 28, 2018, 7:01 AM
    1 Votes
    2 Posts
    793 Views
    S Mar 28, 2018, 12:15 PM

    @Bilal-Sana

    Experiment with the following:

    Case 1:

    To delete lines containing the text string “yourword”
    Find what zone: (?-is)^.*?\Qyourword\E.*?\R
    Replace with zone: Make sure this zone is empty!
    Search mode: Regular expression

    Case 2:

    To delete the last 4 (for example) characters from each line:
    Find what zone: (?-s).{4}$
    Replace with zone: Make sure this zone is empty!
    Search mode: Regular expression
    Note: A line must have at least 4 characters on it to be affected!

  • S

    trying to replace certain line.

    Watching Ignoring Scheduled Pinned Locked Moved line replace
    2 Mar 28, 2018, 9:25 AM
    Mar 27, 2018, 4:25 PM
    0 Votes
    2 Posts
    1k Views
    S Mar 28, 2018, 9:25 AM

    i 'm stuck on some thing. i want to Chang what biome bundle world replaceblocks: . but there over 440+ biome is there a way to do that. i have manged to use find all the replaceblocks: but have seen that most of them come at line 116 but some are at 114 in notepad++ but not able to replace the line 116 114 because ech .bc file has some different wording replaceblocks:.
    it has 400+ fills i would have to manually go throw. would you know how to do that. i have been trying to finger it out using google but not able .
    or is there a way to when using find . when it has finds all replaceblocks: i can edit them from the find results
    that would be really cool.

  • Jasin RefikuJ

    Replacing Multiple Values

    Watching Ignoring Scheduled Pinned Locked Moved replacing
    2 Mar 27, 2018, 6:07 PM
    Mar 27, 2018, 5:52 PM
    1 Votes
    2 Posts
    1k Views
    S Mar 27, 2018, 6:07 PM

    @Jasin-Refiku

    From the detail provided I’d say that this would do it:

    Find what zone: (?-i)(<ElectricityConsumption>)\d+
    Replace with zone: \10
    Search mode: Regular expression

  • Matar ElyaM

    DbgP the arrow shows the current line debugged disapeared !

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Mar 27, 2018, 11:31 AM
    Mar 27, 2018, 11:31 AM
    0 Votes
    1 Posts
    529 Views
    No one has replied
  • G

    Prevent double click to select the whole line

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Mar 27, 2018, 8:37 AM
    Mar 23, 2018, 10:28 AM
    1 Votes
    3 Posts
    1k Views
    G Mar 27, 2018, 8:37 AM

    ok, so no way to deactivate/change action triple click ?

  • L

    issue with buildboost

    Watching Ignoring Scheduled Pinned Locked Moved
    9 Mar 26, 2018, 6:29 PM
    Mar 22, 2018, 6:56 PM
    0 Votes
    9 Posts
    3k Views
    chcgC Mar 26, 2018, 6:29 PM

    See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2062 and https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2336.

    Do you see a messagebox with:

    Authenticode check failed: signature or signing certificate are not recognized?

    Otherwise the most probably issue is that the SciLexer.dll is not placed beside the notepad++.exe.

    Do you really want to build and debug scilexer.dll?

  • T

    Encoding [§ gets big5 encoding

    Watching Ignoring Scheduled Pinned Locked Moved
    5 Mar 26, 2018, 9:50 AM
    Dec 28, 2015, 12:47 PM
    0 Votes
    5 Posts
    5k Views
    patrickdrdP Mar 26, 2018, 9:50 AM

    same here, thanks a lot!

  • S

    How could I set background color for only UDL file types.

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Mar 26, 2018, 8:33 AM
    Mar 26, 2018, 5:20 AM
    0 Votes
    2 Posts
    2k Views
    gromexeG Mar 26, 2018, 8:33 AM

    In the userdefinelang.xml do you see the global styles block? Have you tried changing those? I did a global style change to the default notepad++ configuration just to test it out and in my attached image you can see “C0C0C0” was the hex value that changed in the xml.

    Capture.png

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