• A Plug-In that adds "persistent" line numbers to text?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Kent HartlandK

    Indeed, it is a nice editor! I like it!

    Thanks, Cipher-1024, that solved my Line Numbering and Commenting Out Code questions.

  • To save as XML file

    Locked
    4
    0 Votes
    4 Posts
    23k Views
    Scott SumnerS

    @Jan-Kolthof

    Why don’t you tell us exactly what you are doing, then maybe someone will see something in that which will aid in solving your problem?

    SCENARIO:
    If I create a new file (File -> New), then I make some changes to the document tab that gets created from that, then I do File -> Save and Notepad++ prompts me with a “Save As” dialog box, I type “test.xml” for the File name box, click OK and Notepad++ saves my XML as I specified. When I go look at where I saved it with Explorer, it is there. If I then open the test.xml file in standard Windows notepad.exe, the data that I put in the file with Notepad++ was there.

    So not only have I showed that the problem you seem to be experiencing isn’t a problem for me, I’ve also educated you about how to describe what you are doing, how to explain what you expect, and then how to verify (with an independent tool) that you got (or in some cases, didn’t get) what was desired.

  • 0 Votes
    5 Posts
    2k Views
    iverson4664I

    @Claudia-Frank said:

    automatic document spell check

    Sorry to hear about that, npp minimalist version was slower on my computer, and the npp without DSpellCheck was stll slow. And I have tried some older npp version, the problem was there yet.
    I guess the problem or compatiblity issue was from my OS, what should I do…

  • List of most recent files when clicking on File is very old

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Claudia FrankC

    @Abraham-Bruck

    tried with different, 7.5.1, 7.5.4 (x32 and x64).

    So, is the issue that you cannot see a file in the list when you close it?
    You can check this immediately.

    Cheers
    Claudia

  • 0 Votes
    2 Posts
    895 Views
    Claudia FrankC

    @John-Birkenstamm

    could you post the debug-info, available under ? menu?
    Does this also happen if you start npp without plugins? (temporarily rename plugins directory)

    Cheers
    Claudia

  • 0 Votes
    3 Posts
    1k Views
    David BainesD

    Thanks Claudia, that’s a great idea! I’d thought about using a macro but I wasn’t sure how to get a macro to ‘know’ the line number to jump back to. This works well.

    In case it is useful to anyone else I couldn’t record a macro using CTRL + Z and CTRL + Y and then save it. When I tried that the ‘Save Current Recorded Macro’ option was greyed out. However when I recorded a macro using the Edit Menu options Undo and Redo I was able to save it.

    So now I have Alt + Space as a shortcut to Jump to last edit which is useful.
    Many Thanks.

  • functions in c++

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Claudia FrankC

    @Nidhi-Devi

    Ok, so not related to Npp at all I guess.

    The error message is quite clear in your case,

    g++: error: Num.cpp: No such file or directory

    g++ tries to find the file Num.cpp but failed because
    it doesn’t exists, it isn’t in the same directory as your main.cpp,
    isn’t in a directory where PATH variable points to and
    isn’t in a directory where your include statements point to.

    But in general I would think that if you post c/c++ programming questions
    to a dedicated c/c++ programming forum, you might get faster and better answers.
    This forum is mainly about using/working with notepad++

    Cheers
    Claudia

  • Add XML Tools item to Context Menu

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    Manuel ColladoM

    It works now!!
    Thank you Claudia

  • 0 Votes
    17 Posts
    6k Views
    Jason ClarkJ

    @Chip-Cooper Thank you, this finally answered my question about autocomplete! I wish it were documented better. Thanks!

  • Regular Expression: Duplicate String to the first ';' on every line

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Cuerda

    It might give some insight into where you are going wrong by explaining what you’ve tried already…knowing this maybe we could offer hints about why it didn’t work…with this maybe you could maximize your learning. :-)

    However, this seems to meet the spec provided:

    Find-what zone: ^"[^"]+";
    Replace-with zone: $0$0

    Explanation of the Regular Expression (brought to you by RegexBuddy)

    FIND:

    Assert position at the beginning of a line (at beginning of the string or after a line break character) (carriage return and line feed, form feed) «^» Match the character “"” literally «"» Match any character that is NOT a “"” «[^"]+» Between one and unlimited times, as many times as possible, giving back as needed (greedy) «+» Match the character string “";” literally «";»

    REPLACE:

    Insert the whole regular expression match «$0» Insert the whole regular expression match «$0»

    …And here’s some subliminal messages for ya:
    IF YOU USE REGEX, BUY A RegexBuddy LICENSE
    IF YOU USE REGEX, BUY A RegexBuddy LICENSE
    IF YOU USE REGEX, BUY A RegexBuddy LICENSE
    …OK, enough of that…

  • Regular expression to delete specified text between html Tags

    Locked
    6
    1 Votes
    6 Posts
    3k Views
    Scott SumnerS

    @Lonnie-Hailey said:

    Is there anything I can do for you in this forum to show my appreciation?

    HAHA, well I really don’t care about this, but about the only thing you could do is “upvote”…see where it says ^ 0 v on the right? Click on the ^ !

    :-D
  • UNICODE restitution

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Lonnie HaileyL

    A similar thing happened to me but in my case I would get a bunch of “NUL” characters whenever I copied and pasted. Here is the fix for my problem:

    Select Replace (Ctrl/H)
    Find what: \x00
    Replace with:
    Click on radio button Regular expression
    Click on Replace All

    I hope this helps!

  • wrong formatting issue - saving css file as asp.

    Locked
    1
    0 Votes
    1 Posts
    442 Views
    No one has replied
  • Send to COM PORT

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Marko-Cvetko

    in general yes but I assume you ask if this is a builtin feature, if so, no there isn’t
    such a function.
    What you normally do in such cases is to use the run menu with an external tool that can be
    executed as program directly or via cmd shell and providing the file as a parameter, like

    python "$(FULL_CURRENT_PATH)"

    or

    cmd /K python "$(FULL_CURRENT_PATH)"

    npp replaces automatically $(FULL_CURRENT_PATH) with the full path of the
    currently opened (and saved) document.

    In your case it COULD be that this way still works but it either needs to be wrapped
    in a bat file, when using run menu or copy and paste when using NppExec plugin

    mode COM8 BAUD=115200 PARITY=... DATA=... copy $(FULL_CURRENT_PATH) \\.\COM8

    Note, when using a batch file you cannot use $(FULL_CURRENT_PATH) inside the batch
    but something like $1 as far as I remember.

    Cheers
    Claudia

  • Sort troubleshoting

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Scott SumnerS

    @Gianluca-Pierri

    Suggestion: Use the Edit (menu) -> Begin / End Select feature rather than holding Shift+Alt+DownArrow (or Shift+Alt+UpArrow) to scroll through A LOT of lines. In between the first Begin/End-Select (the “begin”) and the second (the “end”) you can use any of the document navigation functions (suggest move-to-end-of-doc (or start), or maybe the Search (menu) -> Goto…) to quickly move through a range of lines.

    One NOTE for Begin/End Select for column mode is that before invoking the End-Select you have to get your caret into column mode, or you will end up with a stream and not a column block.

    Doing it an alternate way is no excuse for a crash, though, if the crash turns out to not be the fault of a plug-in…

  • Replace with breakline

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    chcgC

    Is it really like written above with land and CGXML have no closing tag?

  • NppFTP plug-in doesn't show in plugin menu.

    Locked
    2
    0 Votes
    2 Posts
    11k Views
    chcgC

    Do you have the pluginmanager? Current version is https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9. It would appear under plugins and you get a list of available plugins to install.
    You could also get the nppftp plugin directly at:
    https://github.com/ashkulz/NppFTP/releases/tag/v0.27.3 (get the one matching you n++ version 32bit or 64 bit)
    Extract the zip and place the nppftp.dll under n++ “install dir”/plugins, see also http://docs.notepad-plus-plus.org/index.php?title=Plugin_Development#How_to_install_a_plugin

  • 0 Votes
    4 Posts
    3k Views
    chcgC

    I do not observe the descript behaviour. Maybe one of the plugins is causing it. You may want to test this be starting N++ without plugins. See http://docs.notepad-plus-plus.org/index.php/Command_Line_Switches, so notepad++ -noPlugins should show you the plain n++ behaviour.

  • Help for my programme

    Locked
    2
    0 Votes
    2 Posts
    843 Views
    chcgC

    What means “run a program on N++” ? Did you load the program executable itself or source code for it? What special chars do you see. A screenshot might be helpful.

  • Left Margin

    Locked
    9
    1 Votes
    9 Posts
    2k Views
    Claudia FrankC

    @chcg

    Du hast natürlich Recht, das jeder Font seine eigene Breit hat, aber ein Font darf doch nicht einfach zwei Whitespace schlucken.

    @The NiceKype
    bist Du sicher das dem so ist, sprich Du hast Dir die Whitespaces anzeigen lassen und wenn
    Du eine Schriftart benutzt siehst Du 2 Leezeichen und bei einer anderen 4?

    Cheers
    Claudia