Page 1 of 1

plugin Sum Lines

Posted: 26.07.2017 22:16
by qwerky
Sum Lines plugin. Each time try to download, gives error. Click 'Try Again' and it installed.

Make selection in text, then from Plugin menu, select Sum Lines. It opens new tab, but tab is completely empty.
Ah... it only works with lines that contain nothing at all but numbers? And, it only works with normal selection, not column selection.

This:
1
2
49
83
279

Normal selection gives proper results. Column selection results show just one line.

This would be a really handy plugin, if lines could contain anything, say 'description/cost', and then user could column select just the 'cost' column and apply plugin.

Posted: 27.07.2017 15:37
by Alexey
Hm. I dont fully understand: give me example of such file to test. seems you want to sum Column selection.

Posted: 27.07.2017 16:22
by qwerky
Alexey wrote:Hm. I dont fully understand: give me example of such file to test.
So, if the file is this:
1 hi
2 bye
49 good morning
83 good evening
279 good night
and normal-select the whole thing, then SUM gives just an empty tab.

But if the file is just numbers:
1
2
49
83
279
and normal-select the whole thing, then SUM works well. If column-select, then SUM shows results for just one line (instead of five).
seems you want to sum Column selection.
Exactly! If the file is this:

Code: Select all

ITEM            PRICE
------------    ------
Chair           100.00
Sofa            150.00
End Table        70.00
Coffee Table     80.00
Lamp             50.00
============    ======
                     ?
Then what would be great is to column-select the numbers and do SUM.

Posted: 27.07.2017 16:47
by Alexey
OK-Done! Updated:
+ plugin rewritten, to support normal/column selections
+ report text shows: type of selection, indexes of selected lines/cols
+ set report tab title to "Sum Lines"

Posted: 27.07.2017 17:41
by qwerky
Alexey wrote:OK-Done! Updated:
+ plugin rewritten, to support normal/column selections
+ report text shows: type of selection, indexes of selected lines/cols
+ set report tab title to "Sum Lines"
Excellent (and fast), thanks! Works as advertised :D . This will be very helpful.

Posted: 07.11.2018 14:31
by unsichtbar
Hi, is there an update also for the synwrite-version of the Sum Lines plugin ?
The cuda version of this plugin is not working with synwrite.
Thanks

Posted: 08.11.2018 04:46
by Alexey
SynWrite is frozen, I can update SW version but only for donation, e.g. 50$