[geany/geany-plugins] 465ffe: lineoperations: added selection to documentation

Sylvan Mostert git-noreply at xxxxx
Tue Jan 3 21:46:06 UTC 2017


Branch:      refs/heads/master
Author:      Sylvan Mostert <smostert.dev at gmail.com>
Committer:   Sylvan Mostert <smostert.dev at gmail.com>
Date:        Fri, 09 Sep 2016 05:47:12 UTC
Commit:      465ffebc589ee33caf50462b22a2d0bac92c1004
             https://github.com/geany/geany-plugins/commit/465ffebc589ee33caf50462b22a2d0bac92c1004

Log Message:
-----------
lineoperations: added selection to documentation

Bumped version number to 0.2.

Added information to ChangeLog.


Modified Paths:
--------------
    lineoperations/ChangeLog
    lineoperations/README
    lineoperations/src/lineoperations.c

Modified: lineoperations/ChangeLog
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,6 @@
+2016-02-27  Sylvan Mostert  <smostert.dev at gmail.com>
+
+ * added selection support
+
+
+


Modified: lineoperations/README
14 lines changed, 11 insertions(+), 3 deletions(-)
===================================================================
@@ -8,7 +8,7 @@ About
 =====
 
 Line Operations is an assortment of simple line functions that can be 
-applied to an open file.
+applied to an open file, or selection.
 
 Features
 ========
@@ -26,8 +26,16 @@ Usage
 
 After the plugins has been installed successfully, load the plugin via 
 Geany's plugin manager and a new menu item in the Tools menu will 
-appear. Click on each menu item to apply the operation on whole file. 
-See descriptions below to see operations for each menu item.
+appear. Click on each menu item to apply the operation on whole file, or 
+selection. See descriptions below to see operations for each menu item.
+
+Selection
+---------
+
+If a selection is made in the file, the line operation will be applied to the 
+lines within the selection. The beginning of the selection will expand to the 
+beginning of its line, and the end of the selection will expand to the end of 
+its line. If the end of the selection is on col 0, that line will be included.
 
 Notes
 -----


Modified: lineoperations/src/lineoperations.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -271,8 +271,8 @@ void geany_load_module(GeanyPlugin *plugin)
 	main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
 
 	plugin->info->name        = _("Line Operations");
-	plugin->info->description = _("Line Operations provides a handful of functions that can be applied to a document such as, removing duplicate lines, removing empty lines, removing lines with only whitespace, and sorting lines.");
-	plugin->info->version     = "0.1";
+	plugin->info->description = _("Line Operations provides a handful of functions that can be applied to a document or selection such as, removing duplicate lines, removing empty lines, removing lines with only whitespace, and sorting lines.");
+	plugin->info->version     = "0.2";
 	plugin->info->author      = "Sylvan Mostert <smostert.dev at gmail.com>";
 
 	plugin->funcs->init       = lo_init;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list