• Problems with Plugin Manager

    3
    0 Votes
    3 Posts
    4k Views
    JDarthenayJ

    Sorry, I am watching my topics but I don’t see where I get any notification or mail… Thanks for trying to help me. (I don’t know what, I believe I already told you this somewhere…)

    I updated PM as you suggested, this solved my problem but I have another one. I try to install the TextFX plugin, but I get an error after clicking “Install”. Actually I get the same error when trying to add many plugins I tried to add: “Installation of xxxx failed.”

  • Macro for ANSI encoding

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Claudia FrankC

    @Nicole-Sigaud

    if you edit shorcuts.xml you need to restart npp to make it happen.
    In regards to the different action types you might want to take a look
    here
    .

    Cheers
    Claudia

  • Issue #3316 can anyone else reproduce.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    RHscitechR

    Thanks for confirming.

  • Notepad++ no longer saves temp files

    5
    0 Votes
    5 Posts
    9k Views
    glennfromiowaG

    I’ve noticed that if you have Multi-Instance turned on, the Backup feature only works on the first instance opened. For additional instances, you need to save/backup the files manually. Is this the issue?

  • Remove language highlighting

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Jim DaileyJ

    @shravan2x
    Under the Language menu, look under “N” for “Normal Text”.

  • Is the Community search feature broken?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    cipher-1024C

    I’d also add that the NodeBB site has a lot of reports about broken searches, but since we don’t know what search plugin this site uses, it’s hard to tell what’s going on. But I would agree with Jim, the site search is very broken. Searching “langs” in the title only, you get things like “links” or “long”. I’ll take a page from Claudia’s book and use a search engine, but that won’t help with random people coming here to search for issues and then promptly giving up and putting in duplicate posts.

  • First occurrence of series of words in file

    7
    0 Votes
    7 Posts
    5k Views
    guy038G

    Hi, @zeff-wheelock and @scott-sumner,

    Scott, your regexes are exact, of course ! In addition, searching for the last occurrence makes sense, as we want to know the final state of all these servers.

    However, I must miss something ! To my mind, we should search for the last line, with the word connected, for each server, ONLY IF a previous line, with the word disconnected, for the according server, has not been found !

    For instance, if we consider the part of the Zeff’s log, below :

    05/23/2017 05:04:09 AM SMTP Server: qwerty321f.domain.com (xxx.xxx.xxx.xxx) connected 05/23/2017 05:04:10 AM Router: Transferred 1 messages to SERVER004/DOMAIN via Notes 05/23/2017 05:04:10 AM SMTP Server: Message 0031D206 (…) received 05/23/2017 05:04:10 AM SMTP Server: qwerty321f.domain.com (xxx.xxx.xxx.xxx) disconnected. 1 message[s] received

    To my mind, it looks like, on 05/23/2017 05:04:10 AM, the server “qwerty321f” is disconnected. No ? Of course, I suppose that the string xxx.xxx.xxx.xxx, in the first and last line, just above, represents the same IPV4 address !

    Cheers,

    guy038

  • Convert to ANSI

    8
    0 Votes
    8 Posts
    73k Views
    Jim DaileyJ

    @Rafael-Lopes-Vivian

    I think part of what is in play here is that UTF-8 is the default encoding for an HTML-5 file.

    The characters that make up a “text” file are code points. A character encoding scheme maps the code points it understands into numbers that are stored in the file.

    UTF-8 and ISO-8859-1 are two different character encoding schemes. A file can technically be encoded in one or the other (or some other scheme entirely) but not in both.

    However, when a file contains only code points that are encoded identically by 2 or more encoding schemes, then, unless there is some special meta-data in the file to indicate which encoding scheme is being used, the “proper” scheme is not knowable from the file’s contents.

    UTF-8 is a variable-length encoding (the size of the number each code point is mapped to varies); ISO-8859-1 is a fixed length encoding (the size of the number each code point is mapped to is 1 byte).

    Since ISO-8859-1 represents each code point in a byte, it can only encode 256 code points, the first 256 code points of the Unicode character set. UTF-8 can be used to encode most (if not all) code points of the UNICODE character set.

    Code points 0 - 127 are encoded identically by the UTF-8 and ISO-8859-1 schemes. Code points 128 - 255 differ by becoming a 2-byte sequence with UTF-8 whereas they are single bytes with ISO-8859-1.

    So, if an ISO-8859-1 encoded file contains any code point from 128-255, then it will be a different size than a UTF-8 encoded file that contains the same code points.

  • Dot as separator

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Aleksei-Samov

    not sure if this is a possible solution but
    what if you define a delimiter with

    open=c4d.
    close=,

    and allow nesting with keywords and numbers and additional delimiters if needed?

    Cheers
    Claudia

  • Search results won't highlight hits

    10
    0 Votes
    10 Posts
    5k Views
    Claudia FrankC

    @Harry-Binswanger

    glad you solved it.

    Cheers
    Claudia

  • File > Open dialog doesn't autocomplete on one of my computers

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Bill ShermanB

    Okay, I’ll compare the versions tonight.

  • good sugestion user experience

    Locked
    1
    0 Votes
    1 Posts
    900 Views
    No one has replied
  • replace function

    49
    0 Votes
    49 Posts
    53k Views
    go2toG

    @go2to said:
    Several other editors accept direct copy and paste in the replace-with box, be it CR+LF, LF or combination of both. They are probably written in C++. But I think it can be done in any language since CR and LF have the same codes.\r\n\r\nDon is busy now with other issues in 7.4.1. I saw there are problems with replacing again in several open files.\r\n

    It is now one line after deleting CR+LF and adding \r\n. Everything is pasted in the replace box.
    It works flawlessly in the current file, or all open files, or in find in files.

  • Prevent N++ from erasing comments in shortcuts.xml

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Scott SumnerS

    @Stefan-Travis

    When Notepad++ reads in shortcuts.xml, it parses it for content, not its textual makeup, and keeps the content in memory. When it is time to write out shortcuts.xml, it writes out what it has, which no longer has the comments. It makes sense, but I agree it would be better if it would keep the comments.

    However, I sort of like your “cheat”. Previously, I would use the sParam string of a command that doesn’t use it for anything to store some comments I wanted to leave. But obviously this cannot be done if a line USES its sParam data for something. Since the NULL operation never uses sParam for anything, it is an excellent place for comment text, following lines that already employ the sParam for something useful. Here’s an example of how “the cheat” could be used:

    <Macro name="Mark DUPLICATE LINES (except last occurrence)" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?-s)^(.*)(?:\R)(?s)(?=.*^\1\R)" /> <Action type="0" message="2172" wParam="0" lParam="0" sParam="2172=NULL(comment): for 1601: here's what the regex does..." /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1702" wParam="0" lParam="276" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1615" sParam="" /> <Action type="0" message="2316" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="43006" lParam="0" sParam="" /> </Macro>
  • What about command line for comparing files ?

    Locked
    3
    0 Votes
    3 Posts
    5k Views
    Vol BakV

    Hi, Glenn.
    It was just my suggestion for the Notepad++. Especially since one of the authors of Notepad++ already wrote a utility (https://sourceforge.net/projects/bincmp), corresponding to my request (command line comparator of binary files >4Gb).
    Thanks for the informative answer.
    Vol

  • Edit some style feature

    4
    0 Votes
    4 Posts
    2k Views
    glennfromiowaG

    @Kixot14 said:

    1. How can i change color of this little dots (spaces value), which i marked in red circle, here – https://prnt.sc/f9kdlz
    …or even edit width of this dots… ??

    You can change the color of the little dots (and arrows for Tab chars) by going to the Settings menu, Style Configurator, then under Language: Global Styles, set the White space symbol Foreground colour to a different colour. You can also change the Font Style to Bold, but that doesn’t seem to make a visible difference.

    2. I can enable displaying of tabs and spaces https://prnt.sc/f9kcyp
    But what, if i want enable only tab or only spaces?? How can i do this ??

    The fact that the setting is labeled White space symbol, and the fact that under the View menu, the option to Show Symbol has only one combined item to Show White Space and Tab, indicates to me that there is only one setting for any type of white space. Also note that there is an open issue that seems to indicate that not all characters that could be considered white space are identified by Notepad++.

    P.S. Why all words after tab mark as ERROR?? https://prnt.sc/f9kdb8

    The highlighting of a particular syntax is affected by which Language is selected. Not all languages have an element style of ERROR, but it appears YAML does, and it happens to default to red as the Foreground colour. However, I’m not proficient with YAML, and so to find out how the ERROR style element is determined, You’d have to go into the YAML lexer to see how it is defined. I’m not sure I can help you terribly much with this part, but this page may help:
    Built-in_Languages

    I hope this helps you at least know what is possible in the current release of Notepad++.

  • How to avoid that new installation overwrites the customized run items

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Stefan TravisS

    Find the file “shortcuts.xml” in the folder where you’ve installed N++. Copy the file to somewhere else. After installing the new version of N++, copy it back, overwriting the new “shortcuts.xml” if there is one.

    The next time you run N++, your old shortcuts should be back.

  • Removing Blank Lines From All Pages

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @gregory-heffner and @claudia-frank,

    Claudia, your regex may be simplified : Your don’t need to store the four line-breaks in group 1 with parentheses, as your replacement part is empty !

    So your regex becomes :

    (?-m)^\R{4}(?=\R{8})

    However, there’s a bug with that regex, when a second block of 12 blank lines exist, further in the current file and that you set the Wrap around option. Indeed, if you, manually, place the caret at beginning of that second block, it also selects the first fourth lines of that second block, before going back to the first four lines, at the very beginning of the file :-((

    I also tried with the regex, below, with the \A zero-length assertion, standing for the beginning of file, too, without more success ! As said in previous posts, these backward assertions are really not very well managed by our BOOST regex engine !!

    \A\R{4}(?=\R{8})

    Of course, as Gregory will certainly use the Find in Files dialog, with a search way, starting at the very beginning of each scanned file, this, normally, doesn’t matter :-))

    But, in conclusion, Gregory, if you’re quite sure that these 12 consecutive blank lines occur, only once, in each file, simply use the following regex :

    SEARCH ^\R{4}(?=\R{8})

    REPLACE : Leave EMPTY

    Notes :

    The \R syntax represents any single line break ( \r\n in Windows files, \n in Unix files and \r in Mac files )

    So this regex looks for 4 complete blank lines, included the first one, due to the ^ symbol, which, usually, stands for a beginning of line.

    With the condition ( because of the look-ahead feature (?=\R{8}) ) that it followed by a range of 8 complete blank lines !

    Remark : During tests, just check the Wrap around option !

    Best regards,

    guy038

  • All open files are gone

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Failed to save file. Not enough space on disk to save file?

    Locked
    2
    0 Votes
    2 Posts
    9k Views
    Sonny de WitS

    Looks like it’s already been fixed in 7.4.1!