⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.h

📁 elinks下lynx是最重要的二个文本浏览器, 在linux下非常实用, elinks也是gentoo安装过程中默认使用的浏览器, 这是elinks源代码
💻 H
字号:
#ifndef EL__VIEWER_TEXT_SEARCH_H#define EL__VIEWER_TEXT_SEARCH_H#include "config/kbdbind.h"#include "document/view.h"#include "viewer/action.h"struct module;struct session;struct terminal;extern struct module search_history_module;void draw_searched(struct terminal *term, struct document_view *doc_view);enum frame_event_status find_next(struct session *ses, struct document_view *doc_view, int direction);enum frame_event_status search_dlg(struct session *ses, struct document_view *doc_view, int direction);enum frame_event_status search_typeahead(struct session *ses, struct document_view *doc_view, action_id_T action_id);static inline int has_search_word(struct document_view *doc_view){	return (doc_view->search_word		&& *doc_view->search_word		&& (*doc_view->search_word)[0]);}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -