• Docking issue

    Locked
    19
    0 Votes
    19 Posts
    3k Views
    andrecool-68A

    @Meta-Chuh
    Disable all effects, transparency, desktop composition … and everything else

  • How to increase the font size of the "Doc Switcher"

    Locked
    1
    0 Votes
    1 Posts
    365 Views
    No one has replied
  • Find and delete everything between two characters

    Locked
    3
    0 Votes
    3 Posts
    683 Views
    Scott Smith155S

    @Alan-Kilborn said:

    <displayform>

    Thank You! Works perfect for me.

  • Delete all text outside a specific HTML tag pair

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @pelocalizer said:

    Any idea about using a Search/Replace Regex or patters in order to achieve this?

    Plenty of ideas. There’s a lot you aren’t telling us, so I have to assume that you’ll be happy with my solution here.

    start with a file:

    <span>out of bounds</span> <p class="text"> and </p> <span>this is out of bounds, too</span>

    want it to be

    <p class="text"> and </p> Find What = (?s)\A.*(<p class="text">.*?</p>).*\Z Replace With = $1 Mode = regular expression

    I made the assumption that the forum converted your real quotes into smart quotes. I made the assumption that you wanted only one instance of what’s in scope, so I’m deleting everything before the start of the p and everything after the end of the p.

    If you want better help than that, give us better information, and show that you’ve read and understood my boilerplate below, including the links mentioned.

    -----
    FYI: I often add this to my response in regex threads, unless I am sure the original poster has seen it before. Here is some helpful information for finding out more about regular expressions, and for formatting posts in this forum (especially quoting data) so that we can fully understand what you’re trying to ask:

    This forum is formatted using Markdown, with a help link buried on the little grey ? in the COMPOSE window/pane when writing your post. For more about how to use Markdown in this forum, please see @Scott-Sumner’s post in the “how to markdown code on this forum” topic, and my updates near the end. It is very important that you use these formatting tips – using single backtick marks around small snippets, and using code-quoting for pasting multiple lines from your example data files – because otherwise, the forum will change normal quotes ("") to curly “smart” quotes (“”), will change hyphens to dashes, will sometimes hide asterisks (or if your text is c:\folder\*.txt, it will show up as c:\folder*.txt, missing the backslash). If you want to clearly communicate your text data to us, you need to properly format it.

    If you have further search-and-replace (“matching”, “marking”, “bookmarking”, regular expression, “regex”) needs, study this FAQ and the documentation it points to. Before asking a new regex question, understand that for future requests, many of us will expect you to show what data you have (exactly), what data you want (exactly), what regex you already tried (to show that you’re showing effort), why you thought that regex would work (to prove it wasn’t just something randomly typed), and what data you’re getting with an explanation of why that result is wrong. When you show that effort, you’ll see us bend over backward to get things working for you. If you need help formatting, see the paragraph above.

    Please note that for all regex and related queries, it is best if you are explicit about what needs to match, and what shouldn’t match, and have multiple examples of both in your example dataset. Often, what shouldn’t match helps define the regular expression as much or more than what should match.

  • 0 Votes
    5 Posts
    5k Views
    Æþelleo Durkin240Æ

    @guy038 Thank you very much for your post. Symbola and Symbola_monospacified_for_LiberationMono are a reasonably comprehensive font of the Unicode character set that does what I asked for: the text files display and print as expected or planned with the new mathematical symbols with which I am experimenting. My only complaint is that it is a serif font … mutter mutter … I do like fonts like Helvetica.
    Æþelleo-Durkin

  • How to make NppCrypt ask for password every time?

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Tom BobT

    Ok I did it! I don’t even know why it was changed and I remember doing it differently before… Anyway thanks!

  • User-defined syntax problem - conclusion and closure

    Locked
    3
    1 Votes
    3 Posts
    528 Views
    Meta ChuhM

    @Alan-Kilborn

    Why the heck didn’t you just add that blurb to the end of the thread you linked to?

    loool, same thought … maybe @Karsten75 is a bit agitated and exhausted after so many tryouts and posts in such a short time, that he wanted to vent and post a short, readable statement with a new title ?

  • Wildcard find

    Locked
    5
    0 Votes
    5 Posts
    912 Views
    Brian NoblesB

    Brilliant, and thanks for the extra info.

  • How to exclude empty lines containing tabs and spaces from the search?

    Locked
    9
    0 Votes
    9 Posts
    2k Views
    andrecool-68A

    @guy038 Hi!
    Your option works! Thank you very much for your help!

  • Can't see commas in csv file

    Locked
    7
    0 Votes
    7 Posts
    8k Views
    PeterJonesP

    @Alan-Kilborn said:

    when you use the Submit button on the posting

    The Original Poster is allowed to go back to the Topic Tools menu at any time (until the topic is locked), and select “Ask as question”. Then after it’s marked as a question, the OP can mark it as solved from that same menu.

  • Weird issue with syntax highlighing file export

    14
    0 Votes
    14 Posts
    2k Views
    PeterJonesP

    @Karsten75 said:

    this issue does not occur with N++ 7.6

    Thanks for the extra data point. However, I would recommend against the original 7.6 (no sub-version) for a long-term solution. It had some pretty major bugs in it. v7.6.3 is the first of the 7.6.x series that was reasonably stable; I’d recommend using that one for now (assuming the bug isn’t present there). (I would normally have suggested 7.6.4, but that’s where the multiple UDL files were introduced, and I’m sure it was that feature that accidentally messed up the UDL import.)

  • I need to delete two characters in two continuous lines

    Locked
    12
    0 Votes
    12 Posts
    1k Views
    Alan KilbornA

    @PeterJones said:

    Meta, how do you see what the original text was?

    @Meta-Chuh YEA! How about it Meta??

  • Making sections of a file read only

    Locked
    2
    0 Votes
    2 Posts
    417 Views
    Alan KilbornA

    @Mark-Finlay

    Sorry, not reasonably possible.

  • Trying to import my own language definition/syntax highlighter

    6
    0 Votes
    6 Posts
    1k Views
    Karsten75K

    Hey, thanks for the upvotes, now I think I can post freely! ;)

    I’ll find out in a few seconds when I post my hilarious finding. :)

  • I need to replace specific word with random each line

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    Alan KilbornA

    @PeterJones

    Actually, I wouldn’t normally have made it a one-liner…except the “answer” here inspired the one-liner-ness. :)

    I think lambda examples with replace are in the Pythonscript docs/examples.

    And _ isn’t really a throwaway variable, technically. It’s just a one-character variable like a or b.

    See? No big mysteries. :)

  • Trying to run a .py file in IDLE from Notepad++

    7
    1 Votes
    7 Posts
    5k Views
    PeterJonesP

    @Travis-Vawser said:

    Got rid of the pesky “H”, and now it works perfectly

    Glad it works for you now.

    I tried to submit a comment to the posted blog entry, but it rejected my first two attempts as spam, and claimed to accept my third, though it hasn’t shown up yet.

  • Bad Bracket Highlighter

    29
    1 Votes
    29 Posts
    11k Views
    SalviaSageS

    Ignore above, there were 2 syntax errors in there for some reason,
    and I fixed it. I must have made a mistake myself.

  • Set position where and how NPP opens

    Locked
    3
    0 Votes
    3 Posts
    508 Views
    Robin LamacraftR

    I was unknowingly using a very out of date 32bit version.
    Problem resolved by downloading and installing

    Notepad++ v7.6.6 (64-bit)
    Build time : Apr 3 2019 - 23:52:32
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

  • Multi-Line Find and Replace

    Locked
    8
    1 Votes
    8 Posts
    10k Views
    Alan KilbornA

    @Dick-Adams

    Follow current doc -> When ticked, when you press Shift+Ctrl+F to invoke Find in Files, it will grab the current document’s directory and shove it in the Directory box. When unticked, whatever you last had (minutes, days, weeks…ago) remains untouched in Directory.

    Transparency -> super simple, just a visual setting on the Find window

  • NppExec not being installed (though tried through Plugin Admins)

    Locked
    10
    0 Votes
    10 Posts
    2k Views
    kicKORhIT-16384-needSYDneyK

    I think I’ve found the reason.
    Sourceforge is BLOCKED!!!
    Not just that page, but it’s currently unreachable from everywhere in where I live.
    So, this seems like a problem for our country’s censorship or whatever, not on Notepad++'s side.
    Which means…

    I can use the github link, so it would be my (temporatory) solution for the problem. …and here comes…
    since I’ve found a (perhaps serious?) problem on accessing sourceforge within our country, I should report this (if I find somewhere appropriate).

    To sum up, it’s a problem local to our country and not about NPP.
    thanks for all the help! @Meta-Chuh @PeterJones