now xchat automatically puts the selected text into clipboard upon selection. color codes are copied if the ctrl key is pressed. timestamps are copied if shift is pressed.
this patch modifies this in the following way:
- a new set variable, text_auto_copy_text. when it's 1 (by default, the current behaviour). the xtext selection is automatically put in the clipboard. when it's 0, you have to press alt (remember, ctrl and shift are already used) during selection to put it into the clipboard, otherwise the clipboard remans untouched.
- a new set variable, text_auto_copy_color. if it's 0 (default), color codes are only copied if you press ctrl during selection. if it's 1, color codes are always copied regardless of ctrl.
- a new set variable, text_auto_copy_stamp. when it's 0 (default), timestamps are only copied when shift is pressed during selection. if it's 1, timestamps are always selected and copied regardless of shift.
patch made for r1479.