It is reproducible, here's how I do it :

1) Create a document and write something like this :
foo
bar
some
thing

2) Than add a new external tool with a name and those settings :

Save: nothing
Input: Current selection
Output: Replace current selection
Applicability: All documents

With this code :

#!/usr/bin/perl
use strict;

while (<>) {
        chomp;
        print $item." ";
}

And save the new tool

3) Select the text in the document
4) Use your new tool from the Tools menu.

At that point in Karmic, the text was replaced with the right output
that would be the highlighted text on a single line separated with
spaces. In Lucid, it outputs the results in a console on the bottom tab.

If it helps, this is an upgrade from Karmic.

-- 
gedit external tools replace selection goes into a shell output tab
https://bugs.launchpad.net/bugs/551743
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to