In `Edit=>Preferences=>Editor.Features`, I added a checkbox "Comment Blank Line(s)" for issue #2239.
When this option is turned on and when commenting (`Edit=>Format=>Comment Line(s)`) or toggling comments (`Ctrl+E`), blank (empty) line(s) will also be commented. For example, if you comment this code... ```Ruby puts <<EOD EOD ``` ..., it will do this: ```Ruby # puts <<EOD # # EOD ``` It should work for Comment, Uncomment, and Toggle. By default, it is off/false. If this merge is accepted, `doc/geany.html` and the screenshot in this HTML file will need to be updated.  You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/2452 -- Commit Summary -- * Add "Comment Blank Line(s)" option -- File Changes -- M data/geany.glade (20) M doc/geany.txt (11) M src/callbacks.c (2) M src/editor.c (2) M src/editor.h (1) M src/keyfile.c (2) M src/prefs.c (6) -- Patch Links -- https://github.com/geany/geany/pull/2452.patch https://github.com/geany/geany/pull/2452.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/2452