• Large file support

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    chcgC

    What are large files in you case? At least the 64 bit version of N++ should do better on that compared to the 32bit one.

    See also https://github.com/notepad-plus-plus/notepad-plus-plus/issues/681

  • 0 Votes
    5 Posts
    2k Views
    Scott SumnerS

    @Devin-Rusty

    I replace all the > with $ because > kinda screw things up in Regular Expression

    I think you mean to say:

    I replace all the $ with > because $ kinda screw things up in Regular Expression

    If that’s truly what you meant, then yes, $ is a special character to regular expressions. You can still use it literally, but you have to do it as a combination of two characters (\$) instead of the single character $.

  • Error message "Invalid PO file contents" in Zanata

    Locked
    2
    0 Votes
    2 Posts
    670 Views
    Scott SumnerS

    @Bill-L

    I think you are asking in the wrong place, but a wild-guess might be the type of line-ending characters you are using…

  • Pressing "Ctrl -" (not numpad) results x1f US character

    2
    0 Votes
    2 Posts
    1k Views
    László BotkaL

    I tried with an unmodified simple unzipped npp, but “Ctrl -” produces the same x1f US character.
    I tried assigning it in shortcut mapper to “invert case”, worked fine, no shortcut conflict exists.

  • 0 Votes
    2 Posts
    1k Views
    dinkumoilD

    I guess you use Notepad++ with a russian locale. This locale has the known problem that the menu entries regarding UTF-8 in the Encoding menu are not in sync with the encoding indicator in the status bar of Notepad++.

    UTF-8 without BOM:

    In the Encoding menu (translated): Encode in UTF-8 without BOM In the status bar: UTF-8

    UTF-8 with BOM:

    In the Encoding menu (translated): Encode in UTF-8 In the status bar: UTF-8-BOM

    A fix is on its way and will be part of the next release, see here.

    As a temporary workaround you could integrate the patch above manually into your russian.xml file. You can find this file in <Installation-Path-of-Notepad++>\localization.

    After you did that there are 2 possible ways to activate the changed language file:

    Start Notepad++, switch to an arbitrary language and then back to russian again. Copy the changed russian.xml file to C:\Users\<Username>\AppData\Roaming\Notepad++ and rename it to nativeLang.xml.

    Please note: You have to follow only one of the two steps above!

  • Printing files based on line numbers

    Locked
    2
    0 Votes
    2 Posts
    849 Views
    Terry RT

    @Shanmuga-Velu
    This is a possible method to help you overcome the issue of requiring line numbers in the selected print jobs.

    Notepad++ provides the ability to insert numbers in any column of the file that is opened. So if you were to select the first row and the first column and click the mouse so it shows a flashing cursor there. Then use the Column Editor (Alt and C keys). Use “number to insert”, start with 1 (if you want line 1 to show as 1), increase by 1 and may I also suggest tick the “leading zeros” (so all lines align). Have “Dec” selected and click OK.

    So now every line in the file with have the line number inserted into the start of every row.

    Now you can easily remove the lines you don’t wish to print. The result will be lines with the line number at the start. If you need to pretty the lines a bit, perhaps a space between the number and the text use the column editor to insert a space first, then do the number insert afterwards.

    Terry

  • Changelog opens every time I start NPP

    25
    1 Votes
    25 Posts
    32k Views
    Nuno ChavesN

    This will happen if you pin any application to the taskbar while a document/file is open, the shortcut will re-open the file open at the time of pinning it.

  • Move certain texts line

    Locked
    3
    0 Votes
    3 Posts
    892 Views
    guy038G

    Hi @terry-r, @devin-rusty, and All,

    If we assume that there is always, at least ONE pure blank line, between the CONTEXT: block of lines and the statement > END STRING, an other formulation of your regex S/R could be :

    SEARCH (?s-i)^(> BEGIN STRING\R)(.+?)(> CONTEXT:.+?\R)(\R)+

    REPLACE \1\4\3\2

    Cheers,

    guy038

    P.S. :

    Actually, the syntax (> CONTEXT:.+?\R)(\R)+ is equivalent to (> CONTEXT:.+?)(\R){2,}. In other words, it searches for the string > CONTEXT: followed with the shortest range of any character till, at least, two consecutive line-breaks. But, with the later syntax, the range of characters (> CONTENT:........) does not include its final line-break !

  • Is there a way to hide commands?

    21
    0 Votes
    21 Posts
    6k Views
    guy038G

    Hi, @jim-dailey,

    To be honest, the Google translation, of the American/English text, of my previous post, in French, wasn’t so bad, either !

    But I suppose that neuronal networks are, definitively, a + for translation matters and I was, also, a bit impressed by the press comments about DeepL translator performances ;-))

    Cheers,

    guy038

  • Folder in Workspace

    12
    0 Votes
    12 Posts
    8k Views
    Ingo MalchowI

    The prime problem seems to be solved. But in my opinion, there are some details left to do, to convenient create a dir or/and file within the workspace pane.

    Over the context menu I can open the selected directory to open it in the file explorer. There I can create directories and files.

    But the new directory will not sortet in the directories list, but will be append to the list (1. old dirs in alphabetical order, 2. files in alphabetical order, 3. new dir). Fatal: New files in this new directory will not be shown, if I create directory and file, one after another!

    With repeatly open the new directory in the explorer and create a second new file, this second new file will be shown. The file, that I create along with the directory, is still no displayed!

    Finally: It is not possible to make a popup to create new director(y/ies) and files? Nice to have: create a empty file in a new directory by typing: “newdir/newfile.php”.

    Do you agree with me?

  • Unable to replace spaces, newlines, tabs, etc.

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    PeterJonesP

    As Scott said, it’s hard to tell, because the forum ate your whitespace (and we cannot see your EOL characters in a paste).

    I did an example: turn on View > Show Symbol > Show all characters to show the different results and make sure spaces, tabs, and EOL were all visible:
    Imgur

    On the left, I marked \n (LF SPACE SPACE) {top left}, and then replaced it with tab {bot left}. As you can see, it found two LF that were followed by two spaces – one in the WINDOWS EOL (CRLF) section, and one in the LINUX EOL (LF) section. But when it does the replace, it leaves the CR in the WINDOWS EOL section, which Notepad++ properly renders as a newline sequence for line purposes.

    On the right, I marked \r\n (CR LF SPACE SPACE) { top right }, and then replaced it with tab {bot right}. As you can see, it only found the one in the WINDOWS EOL section, but properly replaced the full EOL sequence, rather than just the LF portion of the CR LF.

    So, if your file has linux line endings, then your regex should have worked for your described data. If you file has windows line endings, then your regex only replaces part of the EOL, and you should use \r\n (CR LF SPACE SPACE) instead.

    If you switch to regular expression mode, then the magical \R is enabled: this magical regex sequence matches CR, LF, or CR LF. So search = \R (backslash big-R space space) and replace with \t would work for either style of line ending.

  • Create config file with variable

    Locked
    2
    0 Votes
    2 Posts
    741 Views
    Scott SumnerS

    @Bas-van-Roosmalen

    You’d probably have luck writing some Excel VBA to do this, turning this into not-a-Notepad++ -question…

  • Notepad++ cannot display unicode U+2237

    Locked
    3
    0 Votes
    3 Posts
    891 Views
    Sjaak SmetsersS

    Worked. Thanx!

  • Trying to get all files opened to be in the same instance

    Locked
    2
    0 Votes
    2 Posts
    624 Views
    PeterJonesP

    settings > preferences > multi-instance ☑ Default (mono-instance)

    Also, if that isn’t sufficient, make sure that your shortcuts and registry entries don’t add the -multiInst command line option.

  • 0 Votes
    2 Posts
    675 Views
    Ahu LeeA

    Disabling html/xml close tag auto-insert in Preferences > Auto-Competition seems to be the only option that “solves” it.

    Thanks everyone for your help!

  • Wrong keymap under Windows 7 (x64)

    Locked
    1
    1 Votes
    1 Posts
    579 Views
    No one has replied
  • File creation differes (Notepad++ & Winscp) vs Nano under SSH ??

    Locked
    2
    0 Votes
    2 Posts
    607 Views
    PeterJonesP

    My immediate guess would be line endings (assuming you are creating your file in Notepad++ and then transferring to a linux box via WinSCP). You can solve this either by setting WinSCP to transfer in ASCII mode, or you can change the line ending in Notepad++ before you save the file in Notepad++: Edit > EOL Conversion > Unix (LF).

  • Another weird EOL question from me.

    Locked
    12
    2 Votes
    12 Posts
    2k Views
    SalviaSageS

    @dinkumoil oh wow lol. you already made a plugin that can set the EOL of a file based on its file extension.

    Special thanks!

  • How to change all invalid characters to spaces

    Locked
    11
    0 Votes
    11 Posts
    6k Views
    guy038G

    Hello, @skevich21, @peterjones, @scott-sumner, @terry-r and All,

    Peter, before posting I had tested the Fileformat.Info site, which does provide a great amount of information ;-))

    However, I realized that it you try to paste a character, which has an Unicode code-point over \x{FFFF}, it does not find any character :-(( So, I preferred not to mention it, in my last post !

    For instance, using the character, given as an example, at the end, your can type in the value 12345, at http://www.cogsci.ed.ac.uk/~richard/utf-8.cgi? and click on the Go button

    => The white square 𒍅 should be displayed, in the Character line

    Now, simply, select and copy this 𒍅 character

    And paste it at http://www.fileformat.info/info/unicode/char/search.htm

    After clicking on the Search button, you’ll notice that it answers : Search 𒍅 => O hits

    Now move back to the http://www.cogsci.ed.ac.uk/~richard/utf-8.cgi? site

    Choose the first radio button Character

    Enter any single character, for instance, the letter A and valid

    Finally, delete the A char and paste the character 𒍅, instead

    => After validation, it does find the expected character :-))

    Of course, I’m pretty sure that there must be other websites, which properly manage these characters, either !

    Cheers,

    guy038

  • xml looks not as expected

    Locked
    9
    1 Votes
    9 Posts
    8k Views
    Daniel WehrliD

    Hello

    I tried to install XML Tools. But I was not able to do it.
    (Windows 7, 32 bit) I tried it also as Administrator.

    https://www.bilder-upload.eu/bild-29636d-1539075881.png.html

    ???