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

Block Uncomment not working for Windows .cmd files either #2854

Closed
jimshilliday opened this issue Jan 31, 2017 · 2 comments
Closed

Block Uncomment not working for Windows .cmd files either #2854

jimshilliday opened this issue Jan 31, 2017 · 2 comments

Comments

@jimshilliday
Copy link

Description of the Issue

"Block uncomment" function not working in Windows .cmd files.

Steps to Reproduce the Issue

  1. In a Windows .cmd file, select a block, right-click, select "block comment," and "REM " appears at the beginning of each line.
  2. Select the same block, right-click, select "block uncomment," nothing happens.

Expected Behavior

"REM " added to the benginning of each line.

Actual Behavior

Nothing

Debug Information

Notepad++ v7.1 (32-bit)
Build time : Oct 15 2016 - 23:30:30
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll SpellChecker.dll

@jimshilliday
Copy link
Author

Expected Behavior should have been "REM " removed from, not added to, beginning of line.

@redmanmale
Copy link
Contributor

Only Block Uncomment doesn't work, all other (un)comment operations work just fine.

redmanmale added a commit to redmanmale/notepad-plus-plus that referenced this issue Feb 6, 2017
…-plus-plus#2125 and notepad-plus-plus#2854

Fixed block uncomment in undoStreamComment func, new argument
tryBlockComment is to avoid loop call.
Fixed typo in doStreamComment func.
@donho donho closed this as completed in 73ee442 Feb 11, 2017
kspalaiologos pushed a commit to kspalaiologos/notepad-plus-plus that referenced this issue Jan 17, 2021
Fixed block uncomment in undoStreamComment func, new argument.
tryBlockComment is to avoid loop call.
Fixed typo in doStreamComment func.

Fixes notepad-plus-plus#1200, fixes notepad-plus-plus#1714, fixes notepad-plus-plus#2125, fixes notepad-plus-plus#2854, closes notepad-plus-plus#2875
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

No branches or pull requests

2 participants