I have a problem with Edit-> Format-> Send Selection to ->Set Custom Command
I am trying to sort some lines of text in Geany. So I did Edit->Format->Send Selection to->Set Custom Command and then ->Add
I got [1.][Tick, or √ sign] I typed 'sort' and then ->OK
The word 'sort' disappeared
And Edit->Format->Send Selection to says "no custom commands defined"
Same thing happens if I run Geany under sudo and whether or not I have selected some text before starting
What am I doing wrong? I am running Geany 0.21 under Ubuntu 12.04
Richard H
Le 29/10/2013 15:54, Richard Hardwick a écrit :
[...]
I got [1.][Tick, or √ sign] I typed 'sort' and then ->OK The word 'sort' disappeared
You need to first validate the addition by hitting Enter. This is a unfortunately limitation of the widget we use, so we can't really fix this I'm afraid.
Regards, Colomban
Magic! Many thanks Richard H.
P.S. Sorting lines is such a useful addition to Geany suggest to spell it out step-by-step in the manual as an added example under the subhead "Sending text through custom commands"
Suggest also to adjust the text of the widget itself so that it reads something like "To prepare a command that you can then invoke on your current selection Type the name of the command (e.g. sort) and hit Enter"
I think this would be clearer than what it says at present ("You can send the current selection to any of these commands and the output of the command replaces the current selection")
On 10/29/2013 04:29 PM, Colomban Wendling wrote:
Le 29/10/2013 15:54, Richard Hardwick a écrit :
[...]
I got [1.][Tick, or √ sign] I typed 'sort' and then ->OK The word 'sort' disappeared
You need to first validate the addition by hitting Enter. This is a unfortunately limitation of the widget we use, so we can't really fix this I'm afraid.
Regards, Colomban _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users