Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't crash Notepad++ when running plugin commands with multiple selections #198

Commits on Sep 12, 2024

  1. Remove unused header

    SinghRajenM committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0f7cbe2 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Plugin cmds with multi selections don't crash NPP

    FIX:
    Previously, running any plugin command other than Settings or About
        would cause Notepad++ to crash if the user had multiple selections.
        This commit would fix this issue by, whenever they use a single-selection-only command,
        informing the user and bailing out early if they have multiple selections.
    FEAT:
    Add a new after-build to NPPJSONViewer.vcxproj
        that creates an NPPJSONViewer plugin directory (if one doesn't already exist)
        in the appropriate Notepad++ installation (%ProgramFiles%\Notepad++ for an x64 build or %ProgramFiles(x86)%\Notepad++ for a Win32 build)
        and then copies the NPPJSONViewer.dll that you just built into that plugin folder.
    I also tried to add another action that would run that Notepad++ installation afterwards,
        but I couldn't figure out how to do that.
    molsonkiko committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    0f4ff21 View commit details
    Browse the repository at this point in the history