[Github-comments] [geany/geany] Add "Comment Blank Line(s)" option (#2452)

Jonathan Bradley Whited notifications at xxxxx
Tue Mar 17 11:06:07 UTC 2020


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.

![features](https://user-images.githubusercontent.com/16524392/76850364-3310d600-6882-11ea-94de-b3f4e38585f9.png)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200317/85438b9e/attachment.htm>


More information about the Github-comments mailing list