summaryrefslogtreecommitdiff
path: root/src/gui/gui-focus.c
AgeCommit message (Collapse)Author
2023-06-26core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in ↵Sébastien Helleu
focus data (closes #1955) These variables are the same as "_chat_bol" and "_chat_eol" except that they stop at the beginning of the focused line (not the whole message displayed, in case message has multiple lines separated by "\n").
2023-04-25core: add _chat_focused_line variable to get the focused lineTrygve Aaberge
This contains the single line that you focused on, like _chat_word contains the word that you focused on. This will be equal to _chat_line_message if the chat line only contains a single line, but if the chat line has multiple lines, _chat_line_message will contain all of them, but _chat_focused_line will only contain the single line that was focused. Fixes part of #1913
2023-01-01core: update copyright datesSébastien Helleu
2022-07-20api: add arguments "index_start" and "index_end" in function ↵Sébastien Helleu
string_rebuild_split_string
2022-07-20api: rename function string_build_with_split_string to ↵Sébastien Helleu
string_rebuild_split_string
2022-01-17core: update copyright datesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-06-30api: add pointer "_bar_window" in hashtable sent to hook focus callback ↵Sébastien Helleu
(closes #1450)
2020-05-16core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c ↵Sébastien Helleu
(issue #1257)
2020-05-16gui: make key optional in gui_focus_to_hashtableSimmo Saan
2020-05-16gui: add gui_focus_info hashtable info (#1245)Simmo Saan
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-08-14core: fix type of variables "buffer_name" and "buffer_type" sent to the ↵Sébastien Helleu
hook_line callback
2018-08-12api: add function hook_lineSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-01-01core: update copyright datesSébastien Helleu
2015-04-19api: add "_chat_line" (line pointer) in hashtable of hook_focusSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-20core: fix buffer returned in focus info for bar items with a forced bufferSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-11-21core: add "full_name" in buffer structureSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-08-18core: fix compilation warning under FreeBSDSebastien Helleu
2011-08-16core: add local variables of buffer in focus hashtable, remove ↵Sebastien Helleu
irc_server/irc_channel from focus hashtable for nicklist
2011-08-15core: add "_chat_line_x" in focus hashtable (for buffers with free content)Sebastien Helleu
2011-08-14core: return empty string for window and buffer pointers in focus hashtable ↵Sebastien Helleu
when value is N/A
2011-08-14core: add key "_chat_line_nick" in focus hashtableSebastien Helleu
2011-08-14core: return info about line/word for chat area in focus hashtable, add keys ↵Sebastien Helleu
m/q/Q to quote line in cursor mode, sort mouse keys by priority
2011-08-01core: add info about position where mouse button is released in hook_focus ↵Sebastien Helleu
(for mouse gestures)