• Letter l and 1 is the same in default N++ new page / text

    Locked
    9
    0 Votes
    9 Posts
    9k Views
    Mikhail VM

    @Scott-Sumner said:

    @Mikhail-V said:

    your best bet will be Microsoft fonts like Arial, Times new Roman, Segoe UI

    Well, none of those 3 are fixed-pitch (monospaced) fonts, which goes against the grain of the advice given above. The reason for the advice to use a fixed-pitch font is so that columns of text line up.

    Yes, I know :-) But I am not sure if the OP knows yet those things.
    So just to the possible readers, a short tale about fonts:

    It is true that many e-documents especially before 00’s contained
    so called “space-aligned” columns, i.e. a user simply tapped space bar
    to align columns of text. It was totally ok since anyway computer software
    that day used text mode only - so there were no normal fonts anyway.
    Only single-width characters, like on a mechanical type-writer were possible.
    (That is where Courier font originates by the way - Courier-like fonts were used
    in type-writers, and it is probably best that you can get with a monospaced)

    For example “i” and “m” are looking really weird in a monospaced font,
    because “m” must be actually trice as wide as “i”.
    Not to tell about the lack of any kerning and discrete spacings.
    That is why if you change a text document from Courier to Arial for example,
    you will see a dramatic improvement of the picture.

    BTW, the history of legible type design dates back to the BC, and a good font
    was never monospaced. In other words, type writers and early computing
    fonts made such a “time jump” to the BC, simply due to some technical limitations.
    Nowadays, thanks heaven, PC users can use normal fonts, like in a printed book,
    Such fonts are well designed, and industrial fonts are also optimized
    for readability (well, at a minimum, do not ignore this point completely).

    This conversion created a lot of funny memes, like for example: ‘accidental’ features that people of 70’s so much got used to, e.g. pressing space to align columns,
    does not work with normal fonts well. Users felt pretty bad about that, and
    stood with the monospaced fonts, despite their poor geometry.
    Learning to press “tab” instead of space bar was easy, but still
    some users could not deal well with it, because at the time there
    were no advanced features like tabulations width setup in code-editing
    software (and up till now actually, btw, how it is with NPP? ;-).
    And that is probably the reason why Courier is the default font
    in many code-editors.
    Further this issue even evolved in a holy-war “spaces vs tabs”.

    That’s all shortly.

    resume:
    Well, with all respect to 70’s culture, I would strongly recommend to
    stick to normal fonts, and for special tasks like multiple selections, learn to use special tools like multi-cursors, or learn scripting.
    That will pay-off itself really good.
    Furthermore, creating space-filled contents is really bad for exchanging
    documents, since you should not assume that on the other side
    somebody really lives in a monospaced tradition.
    So unless the OP will work on encryption algorithms or memory
    viewing, use of monospaced will just make it harder to read in general.
    But granted, there are pair of funny issues inherited from 70’s, still
    they are solvable.

  • Automatically changing the color of a phone number.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    David BaileyD

    Remember that NP++ is a raw text editor, so the information it will put back into a file will not retain any colour information.

    This is different from DOC files (for example) which store colours and font sizes etc.

  • I wish Notepad++ had a spell checker.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Rob RobertsR

    @guy038 Thank you so much, Guy; I was trying all kinds of things with spell check plugins before. Your instructions were perfect :-)

  • npp crashes after left open for some hours

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    @patrickdrd
    i had a similar issue at a client’s place, it wasn’t a bug in np++ but a faulty network drive conection that comes and goes.

    do you have any files open on a network drive opened ?
    if yes what happens if you close all remote files, only leaving open files on the local hard drive.

    also in that case make sure that none of the np++ settings, backup, or sessions are stored on a remote drive, only locally on an internal drive.

  • Scrolling in response to Find

    Locked
    1
    0 Votes
    1 Posts
    937 Views
    No one has replied
  • Replacement in vertical block

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Set line length for word wrap?

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    decodermanD

    Using the forum built in search function I found this:
    https://notepad-plus-plus.org/community/topic/14543/set-word-wrap-column

  • View refreshes after dismissing file changed dialog

    Locked
    2
    0 Votes
    2 Posts
    993 Views
    decodermanD

    Does it help when “File status autodetection” is disabled in Settings/Preferences/MISC.?

  • I have txt file with [CR CR\LF] how do I remove CR\LF but leave first CR?

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Vic PaineV

    @Scott-Sumner
    Thanks, worked a treat. Also found that if I opened it in Libre Office Writer and saved as *.csv it cleared unwanted blank lines as well.

  • App scaling in 4K Resolution

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Stephanus-Schoeman

    you can enable big icon or use the plugin Customize Toolbar, although I’m not sure how it does handle 4K resolution, and you can use your own set of icons by following this way.

    Cheers
    Claudia

  • Option to Add X number of spaces after a parenthesis or square bracket

    2
    0 Votes
    2 Posts
    3k Views
    Gogo NeatzaG

    Yes, there is such an option.
    The option is called ‘Macro’. You can find it in the Notepad++ main menu
    between ‘Tools’ and ‘Run’.
    Macro - Start Recording would be a good starting point.
    Have fun !

  • How to disable all popup messages for another files?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    User NameU

    I can’t work in notepad++! Always popup messages for another files, but i don’t want see this! I want to see this messages only for selected(current opened) file!

    Need disable ‘RELOAD’ and ‘KEEP’ messages for another files! (For updated files: Silent update. For deleted: keep opened)

    Show this messages only for editing file(currently opened)

  • How to turn off auto-highlight on single click?

    Locked
    4
    0 Votes
    4 Posts
    6k Views
    Claudia FrankC

    @Mark-Bratcher

    I assume smart highlighting is what you are looking for

    Cheers
    Claudia

  • Backwards slash doesn't escape backtick in javascript

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Dallas-Fischer

    npp uses scintilla as its highlighting engine. If you think this is an bug you might open
    a request here.
    Be sure to check if it hasn’t been already opened.

    Cheers
    Claudia

  • Page layout definitions

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Charles BillowC

    OK, thanks.

  • Can't initialize plugins directory

    5
    0 Votes
    5 Posts
    6k Views
    PeterJonesP

    If you use the portable (zip-file) version, it doesn’t register itself with Windows, so Windows doesn’t automatically list it for choosing with “Open With…” or similar. However, under most versions of Windows, you can select “browse” in the “Open With” dialog, and go find notepad++.exe yourself.

    Or, if you are an advanced user, you can edit your association(s) in your registry. (For example, in mine, HKCR\.txt\ uses the (Default) string value with data txtfile, and HKCR\txtfile\Shell\open\command\ uses the (Default) string value of my full path for notepad++.exe. If you don’t understand any of those terms in these parentheses, you probably should be wary of editing your registry yourself.)

  • is "find in files" way too slow?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    gstaviG

    I don’t know abot the “way too” but it is “slow”.
    Was discussed many times. For example here.

  • Searchin with wildcards

    Locked
    2
    0 Votes
    2 Posts
    11k Views
    guy038G

    Hi, @fernando-conti,

    Very easy with regular expressions, indeed !

    Open your file, in Notepad++

    Move back at the very beginning ( CTRL + Origin )

    Open the Find / Replace dialog ( Ctrl + H )

    Check the Regular expression search mode

    Check, if necessary, the Match case option

    In the Find what: zone, type the regex \[.+?\]

    In the Replace with: zone, simply type the text that must replace all the [......] zones or leave it empty if you prefer to delete the [......] zones

    Click on the Replace All button

    Et voilà,

    Notes :

    As the symbols [ and ] have special meaning in regular expressions, they have to be escaped, both, to be considered as literal characters

    The part .+? stands for the smallest range of characters, between the symbols [ and ]

    For instance, given the example text, below :

    This is a [123] test for searching [abc] all the [.......] zones !

    The regex :

    SEARCH \[.+?\]

    REPLACE Leave EMPTY

    modifies the text as below :

    This is a test for searching all the zones !

    If the regex was \[.+\], it would have select the largest zone between the symbols [ and ], that it to say, the string “[123] test for searching [abc] all the [.......]”, in our example. Certainly not what you’re looking for !

    Best Regards,

    guy038

  • Comparing Files

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Robert DerivanR

    Thanks Claudia. I’ll give it a try.

  • any way (plugin etc) to encrypt a file?

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Meta ChuhM

    @patrickdrd
    yes
    you just need to install the nppcrypt plugin
    this will allow you to select your desired algorithm and passphrase to encrypt or decrypt any file or any selected text within a file

    you can install it by downloading it here: https://github.com/jeanpaulrichter/nppcrypt
    or via the plugin manager if you have installed it