I have fixed the problem. It turned out to be caused by wrapping a comment line that was followed by a blank line, which was not covered by my test cases. New versions of the plugin have been uploaded to the downloads page. Also I was apparently logged into the wrong account before. I didn't even realize I had two accounts...
Ignore closing brace in comments when splitting braces in DereksAutoindent.
Remove unnecessary SCI_ENDUNDOACTION in PythonIndent.
-Fix bugs in DereksAutoindent and PythonIndent where setCurrentPos was used instead of gotoPos.
-Add ability to split braces on the same line to DereksAutoindent.
Actually null stripping was still needed, but I found a better way to do it.
Remove stripNull, it is not needed for appending paths.
-Use Scintilla class in PythonIndent.
-Added getTabWidth, setTabWidth, getCurrentLineNumber, getLineIndentSize, and setLineIndentSize methods to IScintilla.
-Move common config function to NppMenu.
-Implement NppPlugin, a common base class for plugins.
Use std::vector<std::string> for clause headers in PythonIndent.
-Update Notepad_plus_msgs.h
Use a vector instead of a map to store callbacks in NppMenu.
-Use more NppMenu functions in DereksAutoindent.
Initial Commit.
Update Scintilla.h. This fixes potential issues with x64 build.
Remove references to NppPluginTemplate and delete unused files.
Replace int types to LRESULT to fix warnings in 64-bit build.
Remove comment continuation logic. Comment Wrap now contains this logic.
Reorganize files and adjust project properties in preparation for merging into NPP Plugins.
Updated to VS 2019.
Add new file to VS.
Fix DereksAutoindent builds.
More project property tweaks.
Clean up some code to use more modern C++ styles.
Add DereksAutoindent project.
Normalize one more project property.
-Normalize project properties.
Fixed indentation in LanguageCommentStyle.h
Updated to VS 2019.
Actually commit changes to projects.
-Move project release scripts to solution directory.
-Fix a crash when inserting a new comment line in an unrecognized language.
Add version.
Update PlatformToolset to Visual Studio 2017, this fixes compilation.
Removed unused code. Clean up project.
-Add release script.
Add new file to VS.
-Added loading and using framedata.
Close branch based on old method of detecting cancels.
Add frame numbers to old method.
-Added frame number to cancel table.
Fix bug in get_attack_end_type that caused approximately half of cancels to be missed.
Initial commit. Code compiles but not compelte or tested.
Use std::vector<char> instead of std::unique_ptr<char[]>.
Fixed various issues found while testing line comment wrapping.
Use std::string and std::string_view.
Changed the algorithm for calculating wrap point to correctly account for tabs.
Fixed bug where words longer than wrap column would cause an infinite loop.
Move Notepad++ and Scintilla includes into a separate folder.
Create IScintilla and Scintilla wrapper class around Scintilla HWND to support later faking. Migrate all SendMessage calls to use IScintilla. Create type aliases for position, line number, and column.
Fix inconsistent newlines that Visual Studio keeps introducing for some reason.
Create ScopedUndoAction to handle undo actions in an RAII manner.
Fake implementation of IScintilla.
Reorganize test project.
Added tesets for IScintilla.
Add tests for getUndoAction.
Added CommentStyleTest. Fixed a test in FakeScintillaTest.
Change how CommentStyle getNewlinePrefix to return whitespace after prefix and update tests.
Implemented selection wrapping.
Add supported for many new languages.
Add autowrapping and updated position and anchor correctly while wrapping. There may still be bugs at this point.
Fix a bug when wrapping near closing marks.
Fix some menu issues and create framework for autocommenting newlines.
Add support for autocommenting multi-line comment blocks.
Allow single line comments to auto comment when the next line is also a comment.
Refactor CommentStyle into LanguageCommentStyle. Create new CommentStyle defining behavior of a single style with SingleLine and MultiLine subclasses.
Added more units tests for LanguageCommentStyle.
Add WrapAtColumn support.
Create NppMenu to handle managing of the plugin menu.
Refactor common code for reading and writing settings.
-Use correct (modern) ini path.
-Use correct (modern) ini path.
NppMenu::getFuncItems() cannot be const.
Open ini file after displaying WrapAtColumn help message.
-Add release script.
Ignore .aps and .vcsproj.user.
Change filters.
Added "Insert New Comment Line" command.
Update ignore file.
Delete NPP utilities, they have been moved to a separate project. This new project is imported and referenced by the Comment Wrap projects.
Add deleted files to commit.
Update version to 1.0.0.2.
Add x64 post-build event to create release .zip.
Remove Comment Wrap solution in preparation for merge.
Created Paste Indented project.
Updated Scintilla.h. This fixes potential problems with x64 builds.
Add new file to VS.
Remove Paste Indented solution in preparation for merge.
Initial commit.
Added x64 platform.
Remove a file that does not exist from Visual Studio tracking.
Convert NULL to nullptr.
Clean up some code to use more modern C++ styles.
Clean up changes:
Tweaking project configuration.
Ignore .aps and .vcxproj.user
Generalize release script.
Add version number.