Re: [Geany-Users] How to Set Custom Commands in Geany

2013-06-27 Thread Kostas Dimakis

On 06/27/2013 01:42 PM, Lex Trotman wrote:

[...]

I am sorry if i am being a pain guys. Matthew's adivce was great I
was able to add any commands i wished. The thing is doesn't work
properly, meaning the selection never gets send to the command.
eg: I select Documents and I send it to ls. Instead of listing the
Documents directory, it lists the current directory, ~ in this
case. I even tried full path. It doesn't work for grep command
either. What am I doing wrong this time?


The selection is not made part of the command, it is sent to the 
standard input of the selection, and the standard output is pasted in 
the buffer in place of the selection. See 
http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands


Cheers
Lex

I appreciate your time
Kostas Dimakis
___
Users mailing list
Users@lists.geany.org 
https://lists.geany.org/cgi-bin/mailman/listinfo/users




___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users
I see.. Actually I just tried lsDocuments written in it) and I got the same results as with Geany. Thank 
you for your help and your quick reply.


Kostas Dimakis
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users


Re: [Geany-Users] How to Set Custom Commands in Geany

2013-06-27 Thread Lex Trotman
[...]

> I am sorry if i am being a pain guys. Matthew's adivce was great I was
> able to add any commands i wished. The thing is doesn't work properly,
> meaning the selection never gets send to the command. eg: I select
> Documents and I send it to ls. Instead of listing the Documents directory,
> it lists the current directory, ~ in this case. I even tried full path. It
> doesn't work for grep command either. What am I doing wrong this time?
>

The selection is not made part of the command, it is sent to the standard
input of the selection, and the standard output is pasted in the buffer in
place of the selection. See
http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands

Cheers
Lex


> I appreciate your time
> Kostas Dimakis
> __**_
> Users mailing list
> Users@lists.geany.org
> https://lists.geany.org/cgi-**bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users