• Macro of function to capitalize all words in selection

    Locked
    9
    0 Votes
    9 Posts
    4k Views
    Jim KolbJ

    @Claudia-Frank
    Thanks for the info.
    I updated Notepad++ to v7.5.1 and now I have lots of options! :)

    Sorry it took so long to reply…
    Have to wait 20 minutes between posts because I’m new with no reputation. :)

  • Remove everything outside of string including string

    13
    0 Votes
    13 Posts
    5k Views
    Scott SumnerS

    @guy038

    I’m guessing you don’t check it very often (hence this posting), but I just sent you an email (to your gmail account) regarding this thread with a “new” technique in it; if it works out as an approach (let me know what you think), we’ll share it here.

  • Replacing a column of numbers with clipboard data

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    guy038G

    Hello, @xerkon,

    As you said :

    I’d like to be able to copy 2 columns from a spreadsheet

    I suppose that your selected bloc of cells ( 6 rows x 2 columns ), pasted in a new tab, within N++, is displayed, as below, where any number of the second column is simply separated, from its associated number of the first column, by a tabulation character ( \t ) !

    1.25 0.25 2.5 0.5 3.25 1.25 4.5 1.5 5.25 2.25 6.5 2.75

    If so, the simple regex S/R should do the job :

    SEARCH (?-s)^(.+?)\t(.+)

    REPLACE <controlpoint t="\1" val="\2"/> , with a space character, before the string val

    OPTIONS Wrap around and Regular expression set

    And you’ll get the text :

    <controlpoint t="1.25" val="0.25"/> <controlpoint t="2.5" val="0.5"/> <controlpoint t="3.25" val="1.25"/> <controlpoint t="4.5" val="1.5"/> <controlpoint t="5.25" val="2.25"/> <controlpoint t="6.5" val="2.75"/>

    If you prefer separate the two values by a tabulation character, just change the Replace box, as belwo :

    REPLACE <controlpoint t="\1"\tval="\2"/>

    This time, you would obtain :

    <controlpoint t="1.25" val="0.25"/> <controlpoint t="2.5" val="0.5"/> <controlpoint t="3.25" val="1.25"/> <controlpoint t="4.5" val="1.5"/> <controlpoint t="5.25" val="2.25"/> <controlpoint t="6.5" val="2.75"/>

    Best Regards,

    guy038

  • Macro not working

    Locked
    10
    0 Votes
    10 Posts
    5k Views
    John McCarthyJ

    Interestingly, after a re-install, it’s working! Hooray!

    I am rurally located, at the end of a long and old copper line, and I have a seriously flaky connection, so corrupted downloads happen a lot. Many MP3 downloads are totally messed up.

    Now that this is working, I can look at N++ as a serious contender to replace UE, which was becoming very slow at startup.

    Thanks to everyone for the help.

    I don’t think you can complain about that not being user-friendly. Well, you can, but no one will listen

    All I’m asking is that the documentation explains how it works. Then it becomes ‘user friendly’.

  • All codes deletes automatically, plz helpl me to recover it

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Randhir KumarR

    @Scott-Sumner
    yes, the file is totally empty with a length of zero size. how it happens and why i don know. Even the file have size of 0 byte.

  • 0 Votes
    5 Posts
    2k Views
    Brent BeachB

    Yes! Windows key and cursor left popped up the notepad window! Now why didn’t I think of that?

    Thank you, NP community.

    I have been using NP exclusively for years. Love it.

  • Can't seem to get functionList.xml to recognize my UDL

    3
    0 Votes
    3 Posts
    1k Views
    AzannahA

    Thanks, @MAPJe71 - that worked! You’r comment style for RegEx is also helpful.

    Best regards

  • Linus, used with Crossover (the people who assist Wine) - text problem

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Meta ChuhM

    @Andrew-Ampers-Taylor

    maybe this is of help

    open the desired file in notepad++
    in the menu bar, click on view > show symbol > show all characters
    (this will show you all line endings like [CR][LF])

    then, if you select edit > eol (end of line) conversion > windows (CR LF) from the menu bar, it will convert all paragraphs (line endings) to the windows format (or mac or linux if you choose so)

  • Search and Replace Failed

    23
    0 Votes
    23 Posts
    14k Views
    Matthew CarvenM

    Ok ok, last post. Thanks @Claudia-Frank @Scott-Sumner
    8 bit not byte f’‘’‘’’ edit 3 mins

  • changing the config.xml doesn't work

    Locked
    1
    0 Votes
    1 Posts
    804 Views
    No one has replied
  • Error 503

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    674 Views
    No one has replied
  • Forward and reverse search buttons in the Find dialog box?

    7
    1 Votes
    7 Posts
    3k Views
    Per IsaksonP

    I use Notepad++ daily and I think that <<Find and Find>> is an improvement!

  • 0 Votes
    3 Posts
    3k Views
    Frank OvermanF

    Hi - Thanks for the reply.

    @cipher-1024 said:

    Hi Frank. I would uninstall/reinstall and see …

    I did that just now. We’ll see.

    Earlier this morning I right clicked on an html file in MyDocuments, and it happened again. (The PC was on all night, locked, with File Explorer windows open. First time I right-clicked on a file it happened. Wonder if it’s a once a day thing?)

    Again, I let the config run to conclusion to see what it was doing. This time it threw a different error at the end:
    “Error 1316. The specified account already exists.”

    Again, this was *before *the uninstall/reinstall, so we’ll see what happens. Thanks!

  • Recover unsaved new tabs

    Locked
    2
    0 Votes
    2 Posts
    11k Views
    Phil sissonP

    So, I should have googled before posting. I’m sorry - :( So if you are wondering you can go to — C:\Users\USER PROFILE HERE\AppData\Roaming\Notepad++\backup —this works provided you didnt change the default setting (not too sure how didnt look for it)

    If you did change it you can try to see the path --in notpad ++
    *click on settings
    *preferences
    *backup
    *should see the backup path
    **this is where you can make adjustments to backups (how and where)

    Hope this helps others

  • text selection and cursor

    Locked
    1
    0 Votes
    1 Posts
    867 Views
    No one has replied
  • Putting numbers in parentheses

    3
    0 Votes
    3 Posts
    2k Views
    Viktoria OntapadoV

    Thank you so much for the solution and explanation Scott, I really appreciate it.

  • Trying to add a C compiler to the "run" options

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    Scott SumnerS

    @guy038

    Of course, one could take less of a “brute force” method than I initially did…and check the source code to arrive at the same 259 character limit:

    RunDlg.cpp: INT_PTR CALLBACK RunDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { //...snip... case WM_COMMAND : { switch (wParam) { //...snip... case IDOK : { TCHAR cmd[MAX_PATH]; ::GetDlgItemText(_hSelf, IDC_COMBO_RUN_PATH, cmd, MAX_PATH); WinDef.h: #define MAX_PATH 260

    The GetDlgItemText function docs discuss the one-byte null terminator for C-style strings (thus 259+1=260) and the truncation that occurs when the limit is exceeded, so all is explained. :-D

  • No widerange Unicode characters to see

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Sybell LirwacoS

    solved. please delete my post.

    Error
    You are only allowed to edit posts for 180 second(s) after posting

  • color settings bug? - brace missing Current Line background colour

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