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

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Bill ShermanB

    Okay, I’ll compare the versions tonight.

  • good sugestion user experience

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

    49
    0 Votes
    49 Posts
    54k 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!

  • Size of the white space symbol in version 7.4

    3
    0 Votes
    3 Posts
    2k Views
    rddimR

    Also see here topic 13775

  • 0 Votes
    3 Posts
    3k Views
    rddimR

    Take a look at https://ivan-radic.github.io/udl-documentation/, it may be help you

  • Updates for N++ reverts plug-in manager to previous version

    4
    0 Votes
    4 Posts
    2k Views
    TaomynT

    Apologies, I never got alerts for this being replied to for some reason, but as I saw that N++ v7.4 and now v7.4.1 both still revert the plug-manager back v1.3.5 I would come and check.

    The NppFTP seems to be fine though so not sure what happened.

  • How can I use CS-Script to compile and run C#?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • improments about Notepad++' font

    3
    0 Votes
    3 Posts
    2k Views
    Ion SaliuI

    @Claudia Frank:

    You do that in Photoshop, right? That’s exactly what the OP wanted!!!

    So, you select the text where you want to change the font… voilà! Photoshop does it!

    What are the procedures in Notepad++ for changing the font in the same document… going back and forth in ‘Style configurator’ (if that would ever work)?

    Ion Saliu
    “A good man is an axiomatic man; an axiomatic man is a happy man. Be axiomatic!”

  • Bug with Context menu

    3
    0 Votes
    3 Posts
    2k Views
    Виктор БукреевВ

    DSpellCheck - bad plugin found.

    Thanks Claudia!

  • Request: "Yes to all" when open files are changed

    5
    1 Votes
    5 Posts
    3k Views
    Scott SumnerS

    @Navin-Agarwal

    Report an issue or make a feature request here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/

    …to do it officially

    Best to see if it already exists first!

  • Vertical scroll bar disappears in some documents

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    nic arbN

    Thanks Claudia, I found the solution straight away but was prevented by the system to post it, since I am a newbie.

  • Hide/Show Folder Margin version 7.4

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Matej-Trnovec

    I assume it isn’t there because it is normally handled by the current lexer in use.
    A plugin which exposes the scintilla api like python script, lua script, nppexec…
    can be used to hack into this. Let me know if you want to go this way
    and whether you use one of the mentioned plugins already.

    Cheers
    Claudia

  • 64bit notepad++ fails to save a new document

    3