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

Added a -quitOnEmpty command line flag that causes Notepad++ to quit when the last tab is closed. #1923

Closed
wants to merge 2 commits into from

Conversation

bavis-m
Copy link
Contributor

@bavis-m bavis-m commented Jun 2, 2016

Useful for people who use Notead++ for things like editing Git commit messages (using -multiInst -notabbar -nosession), and want to signal they are done editing by closing the tab with Ctrl-W instead of Alt-F4.

Fixes #1006

…when the last tab is closed. Useful for people who use Notead++ for things like editing Git commit messages (using -multiInst -notabbar -nosession), and want to signal they are done editing by closing the tab with Ctrl-W instead of Alt-F4.
@dogancelik
Copy link

dogancelik commented Jun 13, 2016

Can we enable this in Preferences dialog?, would be nice.

@donho donho added the accepted label Aug 1, 2016
@donho donho added this to the 6.x milestone Aug 1, 2016
@donho donho self-assigned this Aug 1, 2016
@donho donho closed this in 8b0f516 Aug 2, 2016
SinghRajenM pushed a commit to SinghRajenM/notepad-plus-plus that referenced this pull request Nov 13, 2016
closes notepad-plus-plus#1923, Fixes notepad-plus-plus#1006

-quitOnEmpty command line flag makes Notepad++ to quit when the last tab is closed. Useful for people who use Notead++ for things like editing Git commit messages (using -multiInst -notabbar -nosession), and want to signal they are done editing by closing the tab with Ctrl-W instead of Alt-F4.
chcg added a commit to chcg/notepad-plus-plus that referenced this pull request May 31, 2023
…a535.zip)

    Released 31 May 2023.
    On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature notepad-plus-plus#1310.
    On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug notepad-plus-plus#1923.
    On Qt, stop movement of IME candidate box.
    On Qt, report correct caret position within paragraph for IME retrieve surrounding text.
    On Qt for Cocoa, fix crash in entry of multi-character strings with IME.

and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip)

    Released 31 May 2023.
    Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray.
    Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue notepad-plus-plus#154, Issue notepad-plus-plus#153, Feature notepad-plus-plus#1033.
    Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue notepad-plus-plus#153.
    Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue notepad-plus-plus#154.
    Bash: fix single character special parameters like $? by limiting style. Issue notepad-plus-plus#154.
    Bash: treat "$$" as special parameter and end scalars before "$". Issue notepad-plus-plus#154.
    Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue notepad-plus-plus#137.
    Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue notepad-plus-plus#148.
    F#: Lex interpolated verbatim strings as verbatim. Issue notepad-plus-plus#156.
    VB: allow multiline strings when lexer.vb.strings.multiline set. Issue notepad-plus-plus#151.
donho pushed a commit that referenced this pull request Jun 2, 2023
update to Scinitlla Release 5.3.5 (https://www.scintilla.org/scintilla535.zip)

    Released 31 May 2023.
    On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature #1310.
    On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug #1923.
    On Qt, stop movement of IME candidate box.
    On Qt, report correct caret position within paragraph for IME retrieve surrounding text.
    On Qt for Cocoa, fix crash in entry of multi-character strings with IME.

and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip)

    Released 31 May 2023.
    Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray.
    Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue #154, Issue #153, Feature #1033.
    Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue #153.
    Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue #154.
    Bash: fix single character special parameters like $? by limiting style. Issue #154.
    Bash: treat "$$" as special parameter and end scalars before "$". Issue #154.
    Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue #137.
    Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue #148.
    F#: Lex interpolated verbatim strings as verbatim. Issue #156.
    VB: allow multiline strings when lexer.vb.strings.multiline set. Issue #151.

Close #13729
molsonkiko pushed a commit to molsonkiko/notepad-plus-plus that referenced this pull request Jun 13, 2023
update to Scinitlla Release 5.3.5 (https://www.scintilla.org/scintilla535.zip)

    Released 31 May 2023.
    On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature notepad-plus-plus#1310.
    On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug notepad-plus-plus#1923.
    On Qt, stop movement of IME candidate box.
    On Qt, report correct caret position within paragraph for IME retrieve surrounding text.
    On Qt for Cocoa, fix crash in entry of multi-character strings with IME.

and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip)

    Released 31 May 2023.
    Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray.
    Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue notepad-plus-plus#154, Issue notepad-plus-plus#153, Feature notepad-plus-plus#1033.
    Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue notepad-plus-plus#153.
    Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue notepad-plus-plus#154.
    Bash: fix single character special parameters like $? by limiting style. Issue notepad-plus-plus#154.
    Bash: treat "$$" as special parameter and end scalars before "$". Issue notepad-plus-plus#154.
    Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue notepad-plus-plus#137.
    Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue notepad-plus-plus#148.
    F#: Lex interpolated verbatim strings as verbatim. Issue notepad-plus-plus#156.
    VB: allow multiline strings when lexer.vb.strings.multiline set. Issue notepad-plus-plus#151.

Close notepad-plus-plus#13729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants