亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? textedit.h

?? 功能較全面的反匯編器:反匯編器ht-2.0.15.tar.gz
?? H
字號:
/*  *	HT Editor *	textedit.h * *	Copyright (C) 1999-2002 Sebastian Biallas (sb@biallas.net) *	Copyright (C) 1999-2002 Stefan Weyergraf * *	This program is free software; you can redistribute it and/or modify *	it under the terms of the GNU General Public License version 2 as *	published by the Free Software Foundation. * *	This program is distributed in the hope that it will be useful, *	but WITHOUT ANY WARRANTY; without even the implied warranty of *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *	GNU General Public License for more details. * *	You should have received a copy of the GNU General Public License *	along with this program; if not, write to the Free Software *	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef __TEXTEDIT_H__#define __TEXTEDIT_H__#include "htobj.h"#include "textfile.h"#include "htformat.h"#define TEXTEDITOPT_NULL			0#define TEXTEDITOPT_INPUTTABS		1#define TEXTEDITOPT_UNDO			2struct text_viewer_pos {	uint line;	uint pofs;};union text_search_pos {	FileOfs offset;};class ht_text_editor;#define ATOM_HT_UNDO_DATA_INSERT	MAGIC32("UND\x01")#define ATOM_HT_UNDO_DATA_OVERWRITE	MAGIC32("UND\x02")#define ATOM_HT_UNDO_DATA_DELETE	MAGIC32("UND\x03")#define ATOM_HT_UNDO_DATA_DELETE2	MAGIC32("UND\x04")#define ATOM_HT_UNDO_DATA_SPLIT_LINE	MAGIC32("UND\x05")#define ATOM_HT_UNDO_DATA_JOIN_LINE	MAGIC32("UND\x06")#define ATOM_HT_UNDO_DATA_INSERT_BLOCK	MAGIC32("UND\x07")#define ATOM_HT_UNDO_DATA_DELETE_BLOCK	MAGIC32("UND\x08")/* *	CLASS ht_undo_data */class ht_undo_data: public Object {public:	virtual bool combine(ht_undo_data *ud);	virtual uint getsize() = 0;	virtual void gettext(char *text, uint maxlen) = 0;	virtual void apply(ht_text_editor *te) = 0;	virtual void unapply(ht_text_editor *te, bool *goto_only) = 0;};/* *	CLASS ht_undo_data_delete_string */class ht_undo_data_delete_string: public ht_undo_data {	text_viewer_pos apos;           /* cursor before */	text_viewer_pos bpos;           /* cursor after */	void *string;	uint len;public:	ht_undo_data_delete_string(text_viewer_pos *apos, text_viewer_pos *bpos, void *string, uint len);	~ht_undo_data_delete_string();	virtual bool combine(ht_undo_data *ud);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_delete_string2 */class ht_undo_data_delete_string2: public ht_undo_data {	text_viewer_pos apos;           /* cursor before */	text_viewer_pos bpos;           /* cursor after */	void *string;	uint len;public:	ht_undo_data_delete_string2(text_viewer_pos *apos, text_viewer_pos *bpos, void *string, uint len);	~ht_undo_data_delete_string2();	virtual bool combine(ht_undo_data *ud);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_insert_string */class ht_undo_data_insert_string: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;	text_viewer_pos cpos;	void *string;	uint len;public:	ht_undo_data_insert_string(text_viewer_pos *apos, text_viewer_pos *bpos, void *string, uint len);	~ht_undo_data_insert_string();	virtual bool combine(ht_undo_data *ud);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_overwrite_string */class ht_undo_data_overwrite_string: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;	text_viewer_pos cpos;	void *string;	uint len;	void *string2;	uint len2;public:	ht_undo_data_overwrite_string(text_viewer_pos *apos, text_viewer_pos *bpos, void *string, uint len, void *string2, uint len2);	~ht_undo_data_overwrite_string();	virtual bool combine(ht_undo_data *ud);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_split_line */class ht_undo_data_split_line: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;	uint indent;public:	ht_undo_data_split_line(text_viewer_pos *apos, text_viewer_pos *bpos, uint Indent);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_join_line */class ht_undo_data_join_line: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;     	text_viewer_pos cpos;public:	ht_undo_data_join_line(text_viewer_pos *apos, text_viewer_pos *bpos);	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_insert_block */class ht_undo_data_insert_block: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;     	text_viewer_pos cpos;	text_viewer_pos sel_start;	text_viewer_pos sel_end;	void *block;	uint size;public:	ht_undo_data_insert_block(text_viewer_pos *apos, text_viewer_pos *bpos, void *block, uint size);	~ht_undo_data_insert_block();	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_undo_data_delete_block */class ht_undo_data_delete_block: public ht_undo_data {	text_viewer_pos apos;	text_viewer_pos bpos;     	text_viewer_pos cpos;	text_viewer_pos sel_start;	text_viewer_pos sel_end;	void *block;	uint size;public:	ht_undo_data_delete_block(text_viewer_pos *apos, text_viewer_pos *bpos, text_viewer_pos *Sel_start, text_viewer_pos *Sel_end);	~ht_undo_data_delete_block();	virtual uint getsize();	virtual void gettext(char *text, uint maxlen);	virtual ObjectID getObjectID() const;	virtual void apply(ht_text_editor *te);	virtual void unapply(ht_text_editor *te, bool *goto_only);};/* *	CLASS ht_text_editor_undo */ class ht_text_editor_undo: public Array {public:	uint size, max_size;	int clean_state;	int current_position;	bool goto_state;public:	ht_text_editor_undo(uint max_undo_size);	void insert_undo(ht_text_editor *te, ht_undo_data *undo);	bool is_clean();	bool is_clean(int i);	int get_current_position();	void mark_clean();	void undo(ht_text_editor *te, bool place_cursor_first);	void redo(ht_text_editor *te);};/* *	CLASS ht_text_viewer */#define cmd_text_viewer_goto				HT_COMMAND(601)#define cmd_text_viewer_change_highlight     HT_COMMAND(602)#define cmd_text_editor_undo			HT_COMMAND(620)#define cmd_text_editor_redo			HT_COMMAND(621)#define cmd_text_editor_protocol		HT_COMMAND(622)#define cmd_text_editor_delete_line		HT_COMMAND(623)class ht_text_viewer: public ht_view {friend class ht_undo_data;friend class ht_undo_data_delete_string;friend class ht_undo_data_delete_string2;friend class ht_undo_data_insert_string;friend class ht_undo_data_overwrite_string;friend class ht_undo_data_split_line;friend class ht_undo_data_join_line;friend class ht_undo_data_insert_block;friend class ht_undo_data_delete_block;protected:	ht_textfile *textfile;	bool own_textfile;	Container *lexers;		ht_syntax_lexer *lexer;	bool own_lexer;	uint cursorx, cursory;	text_viewer_pos sel_start, sel_end;	uint top_line;	uint xofs;	bool selectcursor;	bool selectmode;	text_viewer_pos selectstart;	char *EOL_string;	char *EOF_string;	bool show_EOL;	bool show_EOF;	bool highlight_wrap;	uint	tab_size;	ht_search_request *last_search_request;	FileOfs last_search_end_ofs;/* new */			int buf_lprint0(int x, int y, int c, int l, char *text);			uint char_vsize(char c, uint x);			void clipboard_copy_cmd();			bool continue_search();	virtual	vcp  get_bgcolor();			void make_pos_physical(text_viewer_pos *p);			void normalize_selection();			uint physical_cursorx();			void popup_change_highlight();			void render_meta(uint x, uint y, text_viewer_pos *pos, vcp color);			void render_str(int x, int y, vcp color, text_viewer_pos *pos, uint len, char *str, bool multi);			void render_str_color(vcp *color, text_viewer_pos *pos);			ht_search_result *search(ht_search_request *request, text_search_pos *start, text_search_pos *end);			bool show_search_result(ht_search_result *result);public:			void init(Bounds *b, bool own_textfile, ht_textfile *textfile, Container *lexers);	virtual	void done();/* overwritten */	virtual	void config_changed();	virtual	void draw();	virtual	void handlemsg(htmsg *msg);	virtual	void resize(int rw, int rh);/* new */	virtual	const char *func(uint i, bool execute);			uint get_line_length(uint line);			uint get_line_vlength(uint line);			uint get_line_indent(uint line);			void get_selection(text_viewer_pos *start, text_viewer_pos *end);			bool goto_line(uint line);	/* position indicator string */	virtual	int get_pindicator_str(char *buf, int max_len);	/* scrollbar pos */	virtual	bool get_hscrollbar_pos(int *pstart, int *psize);	virtual	bool get_vscrollbar_pos(int *pstart, int *psize);	/* cursor */	virtual	CursorMode get_cursor_mode();	virtual	void get_cursor_pos(text_viewer_pos *cursor);	/* conversions */	virtual	bool pos_to_offset(text_viewer_pos *pos, FileOfs *ofs);	/**/			ht_syntax_lexer *get_lexer();			int ppos_str(char *buf, uint bufsize, text_viewer_pos *ppos);			void set_lexer(ht_syntax_lexer *l, bool own_l);			void set_textfile(ht_textfile *t, bool own_t);			ht_textfile *get_textfile();/**/			uint cursor_up(uint n);			uint cursor_down(uint n);			uint cursor_left(uint n);			uint cursor_right(uint n);			void cursor_home();			void cursor_end();			void cursor_vput(uint vx);			void cursor_pput(uint px);			void cursor_set(text_viewer_pos *pos);			uint scroll_up(uint n);			uint scroll_down(uint n);			uint scroll_left(uint n);			uint scroll_right(uint n);			void select_add(text_viewer_pos *from, text_viewer_pos *to);			void select_clear();			void select_end();			void select_set(text_viewer_pos *from, text_viewer_pos *to);			void select_start();};/* *	CLASS ht_text_editor */class ht_text_editor: public ht_text_viewer {protected:	uint edit_options;	ht_text_editor_undo *undo_list;	bool	auto_indent;	bool overwrite_mode;	/* new */			void clipboard_cut_cmd();			void clipboard_delete_cmd();			void clipboard_paste_cmd();	virtual	vcp  get_bgcolor();			bool save();public:			void init(Bounds *b, bool own_textfile, ht_textfile *textfile, Container *lexers, uint edit_options);	virtual	void done();/* overwritten */	virtual	void config_changed();	virtual	const char *func(uint i, bool execute);	virtual	void handlemsg(htmsg *msg);	/* position indicator string */	virtual	int get_pindicator_str(char *buf, int max_len);	/* cursor mode */	virtual	CursorMode get_cursor_mode();/* new */			bool concat_lines(uint a);			void delete_chars(uint line, uint ofs, uint count);			void delete_lines(uint line, uint count);			void indent(uint line, uint start, uint size);			void insert_chars(uint line, uint ofs, void *chars, uint len);			void insert_lines(uint line, uint count);			void split_line(uint a, uint pos);			void unindent(uint line, uint start, uint size);	/* undo/redo */			void textoperation_apply(ht_undo_data *ud);			void redo();			void show_protocol();			void undo(bool place_cursor_first);};extern int text_viewer_pos_compare(text_viewer_pos *a, text_viewer_pos *b);#endif /* __TEXTEDIT_H__ */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品色眯眯| 不卡在线视频中文字幕| 风间由美性色一区二区三区| 色偷偷88欧美精品久久久| 日韩三级伦理片妻子的秘密按摩| 欧美国产日本韩| 奇米影视在线99精品| av不卡一区二区三区| 欧美精品一区二区在线观看| 日韩av在线免费观看不卡| 91麻豆文化传媒在线观看| 久久亚洲欧美国产精品乐播| 日韩高清不卡一区二区三区| 91免费版在线看| 中文字幕第一区二区| 久久国产精品一区二区| 欧美精品xxxxbbbb| 亚洲综合激情小说| 色婷婷av久久久久久久| 1000精品久久久久久久久| 国产在线精品免费| 精品国产成人系列| 久久se这里有精品| 6080午夜不卡| 热久久免费视频| 91精品国产欧美一区二区成人| 午夜伊人狠狠久久| 欧美日产在线观看| 日韩高清不卡一区二区三区| 91精品国产欧美一区二区| 日韩中文字幕亚洲一区二区va在线 | 国产乱人伦偷精品视频不卡 | 欧美三级蜜桃2在线观看| 夜色激情一区二区| 欧美丝袜丝交足nylons| 亚洲一区二区三区激情| 在线观看一区不卡| 亚洲综合免费观看高清在线观看| 在线免费av一区| 亚洲黄色片在线观看| 欧美做爰猛烈大尺度电影无法无天| 亚洲免费av网站| 欧美丝袜自拍制服另类| 日本欧美韩国一区三区| 久久青草国产手机看片福利盒子 | 久久精品久久精品| 欧美va在线播放| 国产成人精品免费视频网站| 欧美韩国一区二区| 色综合天天狠狠| 亚洲综合一区二区精品导航| 欧美精品在线视频| 久久99国产精品麻豆| 中文字幕精品在线不卡| 91高清在线观看| 日韩1区2区3区| 国产亚洲精久久久久久| 99久久精品久久久久久清纯| 亚洲自拍偷拍图区| 日韩精品资源二区在线| 播五月开心婷婷综合| 一区二区三区日韩欧美| 日韩欧美国产三级电影视频| 成人午夜在线视频| 午夜精品久久久久久久99樱桃| 欧美电影免费观看高清完整版| 99久久婷婷国产| 精品一区二区三区不卡 | 久久精品亚洲麻豆av一区二区| 99在线视频精品| 日韩精品国产精品| 中文字幕不卡三区| 欧美一区二区三区在线观看 | 国产精品影视在线观看| 一区二区三区美女视频| 久久久99久久精品欧美| 欧美在线影院一区二区| 东方欧美亚洲色图在线| 日韩精品视频网站| 亚洲精品五月天| 国产亚洲精品中文字幕| 欧美男男青年gay1069videost | 成人免费毛片片v| 亚洲成av人片在线观看| 国产精品国产三级国产有无不卡| 69久久夜色精品国产69蝌蚪网| 成人激情视频网站| 裸体一区二区三区| 亚洲综合色区另类av| 国产性色一区二区| 精品少妇一区二区三区在线播放| 色天使色偷偷av一区二区| 国产a精品视频| 精品一区二区三区视频在线观看| 亚洲一区二区三区影院| 最新热久久免费视频| 精品国产一区二区三区久久久蜜月 | 天天做天天摸天天爽国产一区| 欧美国产激情一区二区三区蜜月| 欧美一区二区三区在| 欧美精品三级日韩久久| 欧洲在线/亚洲| 在线亚洲欧美专区二区| 99热在这里有精品免费| 成人一区二区三区在线观看| 国产成人精品综合在线观看| 国产麻豆精品久久一二三| 国内精品国产三级国产a久久| 蜜桃视频一区二区三区| 麻豆中文一区二区| 麻豆成人免费电影| 久久不见久久见免费视频7| 蜜桃视频在线观看一区二区| 美女免费视频一区| 久久精品国产999大香线蕉| 韩国一区二区三区| 高清在线观看日韩| 国产激情视频一区二区在线观看| 国产盗摄女厕一区二区三区| 成人综合在线视频| 91在线看国产| 欧美军同video69gay| 欧美一卡二卡在线| 欧美mv和日韩mv的网站| 国产日本亚洲高清| 日韩一区欧美一区| 亚洲成a人片在线不卡一二三区| 日本视频在线一区| 国产一区欧美二区| caoporn国产精品| 欧美怡红院视频| 日韩久久精品一区| 国产精品大尺度| 天天做天天摸天天爽国产一区 | 国产精品欧美极品| 亚洲特级片在线| 亚洲电影一级片| 国产一区在线看| 一本大道久久a久久综合| 91精品麻豆日日躁夜夜躁| 国产午夜精品久久久久久久| 日韩理论片一区二区| 天堂在线亚洲视频| 国产suv一区二区三区88区| 在线观看网站黄不卡| 日韩免费观看高清完整版在线观看| 欧美极品少妇xxxxⅹ高跟鞋 | 中文字幕制服丝袜一区二区三区| 一区二区激情视频| 国产一区二区调教| 在线视频欧美精品| 亚洲精品在线免费播放| 中文字幕亚洲欧美在线不卡| 日韩精品国产精品| 91麻豆免费观看| 欧美videos大乳护士334| 亚洲精品日韩综合观看成人91| 欧美aaa在线| 欧美影片第一页| 中文字幕精品—区二区四季| 蜜臀91精品一区二区三区 | av在线不卡电影| 日韩欧美色综合网站| 亚洲精品日韩专区silk| 国产传媒欧美日韩成人| 欧美美女bb生活片| 亚洲日穴在线视频| 国产·精品毛片| 日韩免费视频一区| 偷拍日韩校园综合在线| 99久久久精品| 国产精品伦理一区二区| 国产一区二区三区综合| 91精品国产综合久久蜜臀| 悠悠色在线精品| 99久久精品国产一区二区三区| 久久蜜臀精品av| 九九视频精品免费| 欧美精品日韩精品| 亚洲欧美一区二区三区国产精品| 国产一区二区精品在线观看| 91精品国产综合久久久久久漫画 | 精品日韩成人av| 日韩黄色片在线观看| 精品视频1区2区| 亚洲乱码国产乱码精品精可以看| 成人午夜av电影| 国产精品少妇自拍| 大胆欧美人体老妇| 国产精品视频yy9299一区| 国产精品18久久久久久久久久久久| 欧美一区二区人人喊爽| 日本在线不卡视频一二三区| 欧美亚洲综合一区| 亚洲一区二区欧美激情| 欧美色综合网站| 亚洲永久免费av| 欧美精品自拍偷拍动漫精品| 日韩精品三区四区| 精品国内片67194|