• 0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @pwnotepaduser said:

    +Add chrome tab carousel like chrome ctrl+tab and ctrl+shift+tab without showing tab-list

    This already exists; I believe you just have to remap the key shortcuts. See my second posting at this link:
    https://notepad-plus-plus.org/community/topic/13013/feature-request-option-for-fast-document-switcher

  • Playlist highlighting in Npp

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • plugin update prompts for missing gpup.exe file

    4
    0 Votes
    4 Posts
    7k Views
    BrettB

    I got the same error…

  • Session Lost in Admin Reload

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Cifra ExtremaC

    I saw now the newest version 7.3 had correct it. Thanks!

    But my oldest version didn’t warn me about the 7.3 version, although my settings were defining this feature.

    Thanks!

  • Feature Request: option for fast document switcher

    5
    0 Votes
    5 Posts
    2k Views
    Elijah GagneE

    Thank you both. Scott, yes, you’re right that View > Tab > Next Tab does exactly what I’m looking for. I re-mapped those commands to the keys I liked and disabled the document switcher.

  • Shortcut to Reload Document

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Sandeep-Nidadavolu

    Settings->Shortcut Mapper

    Cheers
    Claudia

  • Printing

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    Claudia FrankC

    @Keith-Rosenfeld

    your welcome.

    Guess I’m getting too blind and lazy in my old age … and doing too many projects with too many tools in too short a time. :-)

    I’m afraid, happens not only to you ;-)

    Just to be clear - I mean it happens to me as well :-D

    Cheers
    Claudia

  • NPP Crashing

    21
    0 Votes
    21 Posts
    14k Views
    Michael DiGregorioM

    @Claudia-Frank

    Interesting. I guess there is no issue with NPP then. Though I swear that the program would never crash when connection was lost prior to v7.2. But perhaps something else changed at the same time–maybe an update to Windows itself, or something like that.

    In any event, thank you very much for the time you took to troubleshoot my issue.

  • 0 Votes
    2 Posts
    1k Views
    PeterJonesP

    Notepad++ View menu > Show Symbol ▶ > Show All Characters

  • My C++ code is not running the way it should

    5
    0 Votes
    5 Posts
    5k Views
    PeterJonesP

    The lack of the waiting is not the fault of NPP nor NppExec: it’s the way the cmd.exe works. If you were to compile your same program (whether or not thru the NppExec interface) then use Windows Start Menu > Run > "G:\C++ Projects\GettingInput.exe" or …Run > cmd.exe /C "G:\C++ Projects\GettingInput.exe", the cmd.exe window would disappear just after, unless you have something (either a second c fscanf or c++ cin or whatever they call that input stream – sorry, I’m not a c++ expert – or a system("pause") requesting the user HIT ENTER before terminating the GettingInput.exe) – unless you have that pause, the cmd.exe window will disappear.

    In case you don’t know, there’s a cmd /K option that runs any arguments passed to it in a separate cmd.exe processes, and then stays at that cmd.exe’s prompt rather than exiting, which is probably what you want. (See below.)

    Further debugging for you: Looking at your output, the source didn’t compile, hence the g++ fatal error. (Presumably, after the fatal error, it was running a previously-compiled version of your executable, rather than the most recent update.) Based on the error message, my guess is that it’s the smart quotes shown in your output for “GettingInput.cpp” instead of standard quotes in "GettingInput.cpp"; with proper quotes, and my source code, it works for me (see below).

    For the c example I gave, to use system("pause") you also need to include stdlib.h (sorry, I hadn’t tested the system("pause")). But once I have that, it works for me as I’ve described.

    The c source code I am using:

    #include <stdio.h> #include <stdlib.h> main() { int d; printf("hello, world\n"); fflush(stdout); fscanf(stdin, "%d", &d); printf("goodbye(%d)\n", d); fflush(stdout); system("pause"); }

    Note that I flush stdout, like I mentioned yesterday, to make sure that “some of the output letters” don’t get “cut off”. When I don’t flush, some of the letters do get cut off. (That’s a “feature” of the gnu compiler; it changes auto-flush behavior when it’s going to a terminal/console vs output being piped (and it considers the NppExec framework to be a pipe).)

    I used this exact NppExec script (copy/pasted from my NppExec “Execute…” dialog):

    npp_save cd "$(CURRENT_DIRECTORY)" g++ "$(FILE_NAME)" -o "$(NAME_PART)" cmd /c "$(NAME_PART)"

    (I even used g++ instead of gcc as my compiler, even for my plain-c source; it still works, since c is valid c++ as well)

    As shown, I removed the smart quotes from the NppExec script, which had somehow made it into our earlier posts, and made sure they were normal quotes.

    But after that, it worked just fine in the console:

    NPP_SAVE: C:\Temp\Data\npp.c CD: C:\Temp\Data Current directory: C:\Temp\Data g++ "npp.c" -o "npp" Process started >>> <<< Process finished. (Exit code 0) cmd /c "npp" Process started >>> hello, world 5 goodbye(5) Press any key to continue . . . <<< Process finished. (Exit code 0) ================ READY ================

    However, if you would really prefer it in the separate cmd.exe window:

    npp_save cd "$(CURRENT_DIRECTORY)" g++ "$(FILE_NAME)" -o "$(NAME_PART)" npp_run cmd.exe /k "$(NAME_PART)"

    Running using this, my NppExec Console window shows:

    NPP_SAVE: C:\Temp\Data\npp.c CD: C:\Temp\Data Current directory: C:\Temp\Data g++ "npp.c" -o "npp" Process started >>> <<< Process finished. (Exit code 0) NPP_RUN: cmd.exe /k "npp" ================ READY ================

    And my cmd.exe window shows

    hello, world 5 goodbye(5) Press any key to continue . . . C:\Temp\Data>
  • New file tab not being created

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Mark Wilson76M

    Claudia,

    That fixed it - Set Multi-Instance to “Always in Multi-Instance Mode”

    Many Thanks

    Mark W

  • PHP Function List

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Mike-Sadowski

    if your intention is to inform about this then thank you.
    If you want to have it changed, then open an issue at github.
    If it is about to find a way to get the newer functions into npp, then goto
    Settings->Style Configurator->Language(php)->Style(word) and add it to the user defined keyowrds box.

    Cheers
    Claudia

  • Bug? Too small tab header font

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    gstaviG

    Already here:
    https://notepad-plus-plus.org/community/topic/12873/can-t-read-the-filenames-in-the-tabs

    I toyed with modification within TabBarPlus::init. The following helped but it requires some more work on resizing tab rectangles.

    Changing
    _hFont = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);
    To
    NONCLIENTMETRICS ncmat;
    ncmat.cbSize = sizeof(ncmat);
    ::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, sizeof(NONCLIENTMETRICS), &ncmat, 0);
    _hFont = ::CreateFontIndirect(&ncmat.lfMenuFont);

  • Bug: Recent Files History

    Locked
    2
  • utf8mb4 encoding of csv files on Windows Platform

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @ml48603

    I don’t see why it shouldn’t?
    But is this utf8mb4 a real standard? Or just something MySQL invented?
    First look - I’m guessing the latter, just a fixed 4 byte utf-8 encoding.

    What makes me nervous is this 0xE9 value which basically would mean
    11101001 binary and this wouldn’t comply to utf8 encoding.

    Did you try to save the file with utf-8 encoding and upload it to MySQL?

    Cheers
    Claudia

  • Notepad ++ slow at opening new post

    19
    0 Votes
    19 Posts
    11k Views
    Claudia FrankC

    @Guido-DC

    let’s summarize to see if we have the same understanding.

    You use the latest npp version without any additional plugins, correct?

    You do have open the windows explorer and double click on a file with a txt extension.
    Notepad++ starts instantly but does not show the content of the file instantly,
    instead it takes 5 seconds before the content is shown.
    This does not happen if you open files with other extensions like rtf and doc
    (side note, can you actually read these documents clearly, because normally they are formatted?)
    but using the the same method to open ( by using double click in windows explorer), correct?

    In addition, (the point I don’t understand at all)
    if you create a new txt file it takes 10 seconds before you even see the empty document and, again, this does not happen if it is a rtf or doc document.
    How does this work? You cannot open a new txt file you only can open a new
    file and only after saving it for the first time it becomes a txt, or whatever you choose, file. What do you exactly mean by this?

    I’ve posted the image about the debug-info, can you post the info, please.

    As said, when you disable the mentioned settings you need to choose a name
    for the file to save to when you close npp otherwise the file is gone. This is the
    normal way when saving files. So what did you do in the meantime - did you reset
    the settings or do you still use npps automatic saving feature?

    Cheers
    Claudia

  • Happy New Year!

    Locked
    1
    1 Votes
    1 Posts
    952 Views
    No one has replied
  • CTRIL-A In File Association Setting?!?!

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Feature Request: type bracket to surround selected text

    4
    0 Votes
    4 Posts
    2k Views
    linpengchengL

    This feature is a built-in feature of the sublime & vscode

  • 0 Votes
    1 Posts
    2k Views
    No one has replied