• Will donate if you can help!

    6
    0 Votes
    6 Posts
    3k Views
    aeryn KellyA

    Well I got it fixed. I had the person who wrote the file send me a replacement and it works fine. I will donate on the first when i get paid for the use of the software and the help. Thankyou everyone

  • Help me with Notepad++

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    glennfromiowaG

    Curious that you’re not doing that in your SQL query, but I’m assuming you want to do that using Find/Replace in Notepad. Other assumptions: 2) The column divider appears to be a space, but also could be a tab. 3) The words in the Name column will always begin with a letter and never a number (for example, this value would not be present in the Name column: Auto 1CF Asset Pricing Procedure). 4) Only a single space separates the words in the Name column. 5) The ROW_ID column will always begin with a single digit and a hyphen and will never contain spaces. This could be incorrect, but based on your sample data, that seems reasonable.

    So with your output open in Notepad++, open the Replace dialog (Ctrl+H works) and click the bottom radio button Regular expression. Also make sure the Match case checkbox is not checked. You’ll need to do 2 Replace operations. First, paste the next line into the Find what box:
    [ ]([a-z]\S+)
    (?# Space followed by letter followed by non-space chars)
    and paste this into the Replace with box:
    _spc\1
    (?# _spc followed by stuff in parentheses)
    Click the Replace All button and it should replace all spaces, except for the ones in front of the second column, with _spc.
    Then paste this into the Find what box:
    [ \t]+(\d-\S+)
    (?# 1 or more spaces or tabs followed by a digit then a hypen then non-space chars)
    and paste this into the Replace with box:
    =“\1”
    (?# =" followed by stuff in parentheses then by ")
    Click the Replace All button and it should replace all spaces before column 2 with =" and put a " after the value.

    Obviously, check the result to make sure the assumptions were correct and nothing unexpected happened, but that should get you the result from your example.

  • How to customize toolbar in npp ?

    Locked
    2
    0 Votes
    2 Posts
    12k Views
    YaronY

    Hello JAGDISHSINH,

    i have seen already seen customize toolbar plugin but it won’t allow me to add my custom buttons and custom command.

    You can do both with the Customize Toolbar plugin.
    Please read this thread.

    Best regards.

  • Tag panel?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Cliff EslerC

    I found a partial answer to my own question c/o this video tutorial at https://youtu.be/ERqrmk7kAYI , which explains how to configure tag completion and hints in Settings>Preferences>Auto-completion, and applies to both versions. That said, it would still be great to have a tag chooser panel similar to the one for ASCII characters.

  • Reply time restrictions

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    dailD

    You also made this reply about an hour ago.

  • find in files/replace methods

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Mikhail VasilevM

    @Scott Summer
    Thanks a lot, works fine. Topic closed.

  • Search last searched text

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Auto-update;without proxy

    6
    0 Votes
    6 Posts
    5k Views
    Claudia FrankC

    @Sandeep-Desai

    Could it be that you have multiple network cards in your pc?
    Maybe virtual ones? Can you be sure that tracert uses the correct interface?

    Cheers
    Claudia

  • settings - preference - delimiter trouble

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Function List addition

    Locked
    1
    0 Votes
    1 Posts
    988 Views
    No one has replied
  • Keyboard shortcut CTRL+ & (azerty kb)

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Scott SumnerS

    If you download the Notepad++ source code, there is a file called keys.h in the …/PowerEditor/src/ directory which contains the hex values which correspond to the decimal (which makes it harder!) Key= values in your shortcuts.xml file.

    The file called menuCmdID.h in the same folder can be of help with the ID= values. Also scintilla.h in the …/scintilla/include/ directory.

    At one time @guy038 was attempting to compile all of this information together in a document (see https://notepad-plus-plus.org/community/topic/12576/list-of-all-assigned-keyboard-shortcuts/6). I wonder if he ever found a good place to post the results…

  • How to force N++ to open files only in UTF-8?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    gstaviG

    Simplest solution is to encode UTF-8 with BOM.

  • Problems creating a new user defined language

    10
    0 Votes
    10 Posts
    7k Views
    MaDillM

    @Claudia Frank Thank you for looking in the source code. Then I decided to stick with my own created UDL even code folding and some others are missing. It feels better to me to have at least the requested keywords are highlighted.

    Best regards
    Matthias

  • Regex to remove specific classes from specific tags in HTML code

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    guy038G

    Hi, Dario

    At the end of my previous post, I said :

    If you don’t want to repeat the word Fred, several times in the search regex,…

    and I gave a second, but rather complicated, regex !

    Thinking about it, here is a third and more simple regex, for the same purpose :

    SEARCH (?-s)<p[^<>\r\n]*(\K class="(fred)"| class=".+\K (?2)| class="\K(?2) )

    REPLACE Leave EMPTY

    Remember that the (?n) syntax, called a subroutine call, represents the regex enclosed in the nth pair of round brackets, when going through the regex, from left to right and can be placed after of before the group to which it refers !

    In our example, the regex is, simply, the string fred and the (?2) forms are located after the second group (fred)

    It’s very important to note that the similar regex, which uses back-references, does not work ! Indeed, the regex :

    (?-s)<p[^<>\r\n]*(\K class="(fred)"| class=".+\K \2| class="\K\2 ), matches, only, the two lines, below :

    <p class="fred">some text</p> <p id="12345" class="fred">some text</p>

    Why ? Well, these positive matchs concern the first case of the alternative. When it tries to match the two other cases of the alternative ( " class=".+\K \2" or " class="\K\2 " ) the group 2 does not exist, as the first part of the alternative is not used !!

    Cheers,

    guy038

  • Search -> Jump Up/Down -> Find Style

    10
    0 Votes
    10 Posts
    7k Views
    cmeriauxC

    @guy038 thanks for your answer that is as good as your reputation is.

    @Alan-Kilborn I knew the answer, then I forgot, then and answered you accidentally.
    I used to use “Mark” a lot, now I don’t. I only use the “Find style”. In the Npp core, it’s the same things

  • Create aligned columns

    3
    0 Votes
    3 Posts
    2k Views
    Giuliana SwdnG

    Thank you sooo much for your reply!!!
    Very clear and exhaustive!

    Have a great weekend and thanks again :)
    Cheers,
    Giuliana

  • Highlights in Notepad++

    3
    0 Votes
    3 Posts
    4k Views
    David BaileyD

    The problem is, where do you put the styling information. I created a named bookmarks plugin that lets you add permanent bookmarks to a file of code in a C-like language. In that case I solved the problem by using special comments to contain the information. I have wondered whether to extend that concept to include styled regions - but that would not work for a file containing some arbitrary data.

  • Empty text file - full disk

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    David BaileyD

    If the disk was the one containing your Windows system, I think the whole operating system may have become unstable when the disk filled up - possibly aborting NP++. It is not a good idea to run with nearly full disks, but of course a program that gets stuck in a loop can easily fill a disk.

  • Problem with editing

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    David BaileyD

    @Donald-Bellefuil

    I wonder if you have been experimenting with the shortcut mapper and disturbed the definition of the Enter key. Go into the Scintilla tab, and see what Enter is bound to - it should be bound to SCI_NEWLINE

  • Need find replace help

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