On 6 November 2015 at 05:14, VIVEK SHAH viveklucky1848@gmail.com wrote:
Well is there any general global variable (like GEDIT_CURRENT_SELECTION for Gedit) which stores the currently selected word so I can send it to browser like "firefox http://php.net/%s" or "chrome http://php.net/%s" in Windows/Ubuntu linux geany ?
The manual gives an example of using the context action for this.
How many variables are there like (%s) in geany and where can I get list of them and their usage possibilities ?
Substitutions applicable vary depending on the context, they are documented in the manual under the relevant context.
Cheers Lex
On 5 November 2015 at 04:21, Lex Trotman elextr@gmail.com wrote:
On 5 November 2015 at 06:03, Vivek viveklucky1848@gmail.com wrote:
I am using Geany version 1.25 on Windows 7 x64.
I tried to send current selected text by setting `Context Menu >> Format
Send selection to` but it isn't working.
I can't figure out how to send current open file's selected text to any of the below options:
- Windows Terminal
- Self-executable Batch file
- Browser(firefox or chrome, running as command)
What exactly is the command you are using?
Do these programs read text from their standard input and send the result to their standard output? Note the output from the commands replaces the selection, see
http://www.geany.org/manual/current/index.html#sending-text-through-custom-c....
%s is not displaying anything at all, just blank.
This does not relate to custom commands, its used in the context action command, see http://www.geany.org/manual/current/index.html#context-actions
Cheers Lex
Need solution for all above issues.
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
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users