Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move "Send Selection to" from Edit/Format to Edit #2899

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
36 changes: 15 additions & 21 deletions data/geany.glade
Expand Up @@ -6925,30 +6925,24 @@
<signal name="activate" handler="on_smart_line_indent1_activate" swapped="no"/>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkMenuItem" id="send_selection_to2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Send Selecti_on</property>
<property name="use_underline">True</property>
<child type="submenu">
<object class="GtkMenu" id="send_selection_to2_menu">
<property name="can_focus">False</property>
<child>
<object class="GtkSeparatorMenuItem" id="separator37">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="send_selection_to2">
<property name="visible">True</property>
<object class="GtkMenuItem" id="invisible13">
<property name="can_focus">False</property>
<property name="label" translatable="yes">_Send Selection to</property>
<property name="label" translatable="yes">invisible</property>
<property name="use_underline">True</property>
<child type="submenu">
<object class="GtkMenu" id="send_selection_to2_menu">
<property name="can_focus">False</property>
<child>
<object class="GtkMenuItem" id="invisible13">
<property name="can_focus">False</property>
<property name="label" translatable="yes">invisible</property>
<property name="use_underline">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
Expand Down
10 changes: 5 additions & 5 deletions doc/geany.txt
Expand Up @@ -835,10 +835,10 @@ Sending text through custom commands
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You can define several custom commands in Geany and send the current
selection to one of these commands using the *Edit->Format->Send
Selection to* menu or keybindings. The output of the command will be
used to replace the current selection. This makes it possible to use
text formatting tools with Geany in a general way.
selection to one of these commands using the *Edit->Send Selection*
menu or keybindings. The output of the command will be used to replace
the current selection. This makes it possible to use text formatting
tools with Geany in a general way.

The selected text will be sent to the standard input of the executed
command, so the command should be able to read from it and it should
Expand All @@ -849,7 +849,7 @@ output.

If there is no selection, the whole current line is used instead.

To add a custom command, use the *Send Selection to->Set Custom
To add a custom command, use the *Send Selection->Set Custom
Commands* menu item. Click on *Add* to get a new item and type the
command. You can also specify some command line options. Empty
commands are not saved.
Expand Down