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

Initial & current command line parameters query API & Debug Info text refresh #11577

Closed

Conversation

shriprem
Copy link
Contributor

Fixes: #11576 (Re-invoking a mono-instance NPP using new command line parameters issue with plugin query & Debug Info display)

Additionally, this PR may also allow closing of issue #10602. With the additions to NPP messaging & notification API in this PR, GotoLineCol plugin will be able to meet the user's requirement. See here.

Screenshots with this PR implementation:

  1. When a fresh command line param string is not an empty string, Debug Info... will display both the initial and current command lines.
    image

  2. When a fresh command line param string is either not available or empty, Debug Info... will display just a command line (keeping current behavior for this use case).
    image

@shriprem shriprem changed the title Implementing initial & current command line parameters in NPP Implementing initial & current command line parameters query API & Debug Info refresh Apr 25, 2022
@shriprem shriprem changed the title Implementing initial & current command line parameters query API & Debug Info refresh Initial & current command line parameters query API & Debug Info refresh Apr 25, 2022
@shriprem shriprem changed the title Initial & current command line parameters query API & Debug Info refresh Initial & current command line parameters query API & Debug Info text refresh Apr 25, 2022
1. Manually adding NPPM_ISDARKMODEENABLED, NPPM_GETDARKMODECOLORS & NPPN_DARKMODECHANGED definitions from PR #notepad-plus-plus#11547 since my second commit failed due to this reason.
@shriprem shriprem closed this Apr 27, 2022
@shriprem shriprem deleted the 11576-current_cmd_line_query branch April 27, 2022 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-invoking a mono-instance NPP using new command line parameters issue with plugin query & Debug Info display
1 participant