Add menu item. Don't require line breaking or line marker to be set. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3402
-- Commit Summary --
* Add Format->Join Lines menu item * Don't require reflow column width for Join Lines
-- File Changes --
M data/geany.glade (9) M src/callbacks.c (6) M src/keybindings.c (12)
-- Patch Links --
https://github.com/geany/geany/pull/3402.patch https://github.com/geany/geany/pull/3402.diff
LGBI
@ntrel pushed 1 commit.
55dc1c8c6fd43ddbab6c3402801abdf193b92643 Document Join Lines
Added docs.
@b4n approved this pull request.
Apart perhaps finding better wording for the documentation, works well and does what it promises.
@@ -3624,6 +3624,12 @@ Reflow lines/block Reformat selected line
breaking lines at the long line marker or the line breaking column if line breaking is enabled for the current document. + +Join Lines If no selection, remove line endings and indentation + after the current line until the end of the current + (indented) text block.
I'm not sure if this is entirely clear that it means "the block of lines at the current indentation level, separated by blank lines (indented or not)".
@ntrel pushed 1 commit.
f906bd11c2dfd2a5197f32fe7daf1caece7a08e1 Document Join Lines
@ntrel commented on this pull request.
@@ -3624,6 +3624,12 @@ Reflow lines/block Reformat selected line
breaking lines at the long line marker or the line breaking column if line breaking is enabled for the current document. + +Join Lines If no selection, remove line endings and indentation + after the current line until the end of the current + (indented) text block.
Thanks, updated.
Merged #3402 into master.
github-comments@lists.geany.org