Here are some changes to lineoperations; adding selection support.
If a selection is made in the file, the line operation will be applied to the lines within the selection, rather than the whole file.
Like usual, I'm open to hear any suggestions/improvements.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/378
-- Commit Summary --
* lineoperations: combined similar code * lineoperations: added selection support * lineoperations: removed unnecessary parameters * lineoperations: added selection to documentation * lineoperations: added some ui changes * lineoperations: minor formatting
-- File Changes --
M lineoperations/ChangeLog (6) M lineoperations/README (14) M lineoperations/src/linefunctions.c (340) M lineoperations/src/linefunctions.h (28) M lineoperations/src/lineoperations.c (237)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/378.patch https://github.com/geany/geany-plugins/pull/378.diff
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/378