• What exactly is the "Backup on save" in settings?

    2
    0 Votes
    2 Posts
    3k Views
    Michael SimcichM

    In my experiments today (np++ backup feature is new to me), it seems that the simple backup keeps a copy of the most recent save, and that it, per file. The verbose backup seems to make multiple copes of the same file, but as far as I can see, not a new file at every file save.

  • Need help on making command

    Locked
    2
    -1 Votes
    2 Posts
    769 Views
  • Function List shows function and macro calls

    Locked
    6
    1 Votes
    6 Posts
    2k Views
    Username0815U

    Notepad++ v7.5.8 (64-bit)
    Build time : Jul 23 2018 - 02:06:36
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll

    Hope that helps.

  • Can't minimize to system tray

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    sinyeS

    I do run npp as adminsitrator. But it worked before.
    Thanks god I kept an old version of npp v6.6.9, and I tried, and it really worked on that version.
    Hope it could be fixed, or maybe just don’t update npp.

  • 0 Votes
    2 Posts
    660 Views
    Scott SumnerS

    @Ed-Kolis

    Works for me (I think, based upon your limited description). Can you explain what you are doing more exactly, and what you expect to happen?

  • i have to paste each five lines into five columns into excel

    Locked
    2
    0 Votes
    2 Posts
    696 Views
  • Is the wiki abandoned?

    Locked
    2
    0 Votes
    2 Posts
    953 Views
    cipher-1024C

    I think it is, which is too bad. I don’t know who has the ability to unlock registration or who can even make edits. There’s some good information there, but also some cruft and it’s hard to tell which is which.

    If anyone reading this can edit the wiki, this page says the "no plugins’ switch is -noPlugins when it’s -noPlugin

  • Notepad++ has stopped doing periodic file backups

    Locked
    2
    0 Votes
    2 Posts
    769 Views
    Scott SumnerS

    @C-Legge

    It seems to work for me, even though I don’t use this feature normally. What exactly is your setup? Saying that:

    set up my preferences exactly the same as on the older version of Notepad++ running on my other PC…

    doesn’t help anyone trying to assist, as we don’t know what those settings are…

  • Copy/paste from WinSCP only pastes15-20 lines

    3
    0 Votes
    3 Posts
    2k Views
    Scott SumnerS

    Hmmm…standard ways of pasting into Notepad++ shouldn’t propagate mismatched line-endings… But I suppose if we never hear back from the OP on this it is pointless to ponder it…

  • 0 Votes
    3 Posts
    952 Views
    Scott SumnerS

    @C-Legge

    Solution to your problem: Use Notepad++ to move the files instead of doing it an external way. Then Notepad++ won’t lose track of your file tabs. Easiest way: Right-click a file’s tab and choose Rename. Then navigate to the desired place in the directory tree and click Save.

  • Excel formula sintax highlighting

    Locked
    3
    0 Votes
    3 Posts
    21k Views
    PeterJonesP

    @Terry-R, yes and no. Yes, doing SaveAs CSV from inside Excel will save the CSV with the values. But if you hand-craft a CSV file like

    "=5+6","=1+cos(.1)"

    and open it in Excel, Excel will recognize and treat those as formulas when you open the CSV.

    And there are ways to grab the formulas out of Excel and paste them into Notepad++, so it’s not unreasonable to want to be able to do syntax highlighting.

    @Денис-Ревин , Unfortunately, I do not know of an Excel-forumla syntax highlighter available for download. If you wanted to spend the effort, you could use Notepad++'s Language > Define your language… to bring up the UDL (User Defined Language) dialog, and set up your own keywords, styles, etc.

    Oh, I guess I was wrong. A quick search showed that the NPP Wiki’s UDL Files page has a link to xlf_udl.zip as described at “Daily Dose of Excel”

    If you unzip that, then you can use Language > Define your language… > Import … to import the XML from that zipfile. Then, when you have Excel formulas in a given Notepad++ editor, you can select Language > XLF (where the “XLF” will be below the “Define your language…” option; if you don’t see it, you may have to exit Notepad++ and re-run it; I had to when I imported the XLF UDL). Once you manually select that Language (or if you save the file as .xlf, then it should automatically apply that Language when the file is opened).

    Hmm… I think they actually did it the hard way. They listed every function individually as the opening string for a “Folding in code 1 style”, with the “)” to close any of them. But that means that the individual functions aren’t syntax highlighted, which seems to defeat the purpose to me.

    I tried the experiment of cutting out all of those from the “open” tab (and temporarily pasting them in a blank NPP window); I then replaced the “Folding in code 1 style: Open:” with just the open parenthesis “(”. Then, in the NPP window, I deleted all the “(”, then copied all the function keywords into the UDL > Keywords Lists > 1st group, and applied a style. I think that would work better for you.

    Anyway, good luck.

  • [CR]: "Replace All" only for selected text.

    Locked
    2
    0 Votes
    2 Posts
    815 Views
    Claudia FrankC

    @coolalexhuang

    do you think it is necessary to change the behavior of “Replace All” function to only replace selected text?

    No, as there is a chekbox next to the replace all button which is called In selection
    and does exactly what you are asking for.

    Cheers
    Claudia

  • Why can't we allow rename a temp file ?!

    Locked
    2
    2 Votes
    2 Posts
    781 Views
    Claudia FrankC

    @Subbarao-Manapragada

    there is already an enhancement request open which addresses this feature.
    Maybe you wanna update this with your suggestions and upvote the initial one.
    But as long as no dev is interested in such a feature it might take some time,
    before this get implemented.

    I like that idea.

    Cheers
    Claudia

  • Project add Folder Reference

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @wei-zhang

    ??? - if you right click on your project you can add folder, files or files from dictionary.
    What else are you expecting?
    Or do you refer to the folder as workspace functionality which is also available?
    Might it be that you do have an really outdated npp version?

    Cheers
    Claudia

  • Add space at left of text?

    Locked
    4
    2 Votes
    4 Posts
    4k Views
    guy038G

    @anderwriter, @mikhail-v, @dail and All,

    Just tried, Dail and it’s working nice !, But you just forgot your own excellent Lua plugin ;-))

    So, once the Lua plugin installed, just use these commands to change left and/or right margins :

    editor.MarginLeft = WidthInPixels

    editor.MarginRight = WidthInPixels

    And to know the current value of margins, simply type :

    editor.MarginLeft

    editor.MarginRight

    and hit the Enter key or click on the Run button

    Remark : The default Scintilla value, for the two margins, is 1 pixel wide, but value 0 is allowed, too !

    Best Regards

    guy038

  • Hi I am new

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    AnderwriterA

    As I’m sure everyone else will agree, the important thing isn’t how long you’ve been here, but that you use and appreciate NP++, and text in general. :?)

  • RUN File path error 2

    Locked
    2
    0 Votes
    2 Posts
    786 Views
    PeterJonesP

    Are there spaces in the path and/or file name? If so, make sure you put quotes around it, like cmd /c "$(FULL_CURRENT_PATH)"

  • StaticControl.h

    Locked
    1
    0 Votes
    1 Posts
    505 Views
    No one has replied
  • extract email address

    Locked
    7
    2 Votes
    7 Posts
    5k Views
    PeterJonesP

    @Ralph-Ratz ,

    I’m glad it’s working for you.

    If you are going to be doing more regular expression manipulation of your text files (including if you ever just want to tweak this regex in order to make some change, like only doing ones that have semicolon’s after the > or something), you are going to want to study regex yourself.

    We have a FAQ entry which explains where to find regex docs, which is a good starting point for learning about them. I’d recommend searching through some of those, and seeing if you can understand everything in the regex I gave. After reading the docs, if you’re having trouble understanding a portion of it, feel free to ask, and we can help clarify.

    If you come back for future requests for regex help: please craft your own expression… and if it doesn’t work, then you can ask us, including: show what you tried, explain why you tried that (ie, what you think the regex should do, and what you think each piece of the regex is doing), and show what results you get that doesn’t match your expectations. This will help us to help you better.

    (And the post “How to Markdown code on this Forum” will help you format posts, so the data exactly represents your actual data.)

  • Bullet list (special Characters)

    Locked
    4
    0 Votes
    4 Posts
    15k Views
    Scott SumnerS

    @guy038 said:

    Or I miss something obvious ?

    I wasn’t talking about the forum.

    All you missed was my (bad/slight) attempt at humor. As you know we get a lot of questions about Notepad++ and word-processing functions. As hopefully most everyone knows by now, Notepad++ is a text editor and as such does not possess many w.p. functions like bulleting or auto-numbering of bullet points.

    Given that, I really do what I said, in text files…but I don’t think that was what the OP was after. But hopefully if the OP does read this s/he will understand the situation with bulleting.