• Changing windows, actual line go down in the scroll

    Locked
    1
    0 Votes
    1 Posts
    557 Views
    No one has replied
  • Multiple errors building NPP 7.5.6

    24
    0 Votes
    24 Posts
    9k Views
    YaronY

    Hello Claudia,


    But is it relevant for your current problem?

    Understanding why my build crashes and yours does not is actually more important to me than fixing the Doc Switcher issue.
    I hardly use that feature but I suspect some other features may not work properly as well.

    Here is the Dump file.

    The other way would be to put a breakpoint on line 2243…

    default

    Should I build it as Debug instead of Release?

    Thank you for further looking into it and for the detailed explanations. I do appreciate that.

    Best regards.

  • taskbar icon not visible

    Locked
    1
    0 Votes
    1 Posts
    806 Views
    No one has replied
  • Very Simple Replace Problem - but Newbie

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    Harry MartinH

    Works! Thank you.

  • Write numbers from one to another one.

    9
    0 Votes
    9 Posts
    5k Views
    dedsec24D

    Thanks all of you
    I got my answer.

  • Increase/Decrease All Highlighted x or y Coordinates

    4
    0 Votes
    4 Posts
    2k Views
    PeterJonesP

    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()
  • Subtract document B from A

    21
    0 Votes
    21 Posts
    10k Views
    Claudia FrankC

    @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

  • How to set browser window height in Notepad ++

    Locked
    2
    -1 Votes
    2 Posts
    949 Views
    Scott SumnerS

    @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.

  • Block Editor Insert numbers backwards

    Locked
    1
    0 Votes
    1 Posts
    670 Views
    No one has replied
  • Sindhi translation

    Locked
    1
    0 Votes
    1 Posts
    785 Views
    No one has replied
  • how to find multiple lines in multiple files?

    Locked
    1
    0 Votes
    1 Posts
    641 Views
    No one has replied
  • Unable to see the contents of doc when clicking on Open

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    PeterJonesP

    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.

  • wanting to join a bunch of lines.

    5
    0 Votes
    5 Posts
    2k Views
    Reece Asquith-JepsonR

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

  • Syntax for characters inside of characters with no spaces

    3
    0 Votes
    3 Posts
    2k Views
    Claudia FrankC

    @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

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

    8
    0 Votes
    8 Posts
    2k Views
    PeterJonesP

    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

    Locked
    1
    0 Votes
    1 Posts
    669 Views
    No one has replied
  • Two simple Qs

    Locked
    2
    1 Votes
    2 Posts
    824 Views
    Scott SumnerS

    @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!

  • trying to replace certain line.

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    SpeedRiderS

    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.

  • Replacing Multiple Values

    Locked
    2
    1 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @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

  • DbgP the arrow shows the current line debugged disapeared !

    Locked
    1
    0 Votes
    1 Posts
    539 Views
    No one has replied