#include <textedit.h>
Inheritance diagram for ht_text_viewer:
|
Definition at line 1848 of file textedit.cc. References ht_view::buf_printchar(). Referenced by render_str(). |
|
Definition at line 1014 of file textedit.cc. References tab_size, and UINT. Referenced by cursor_pput(), draw(), get_line_indent(), get_line_vlength(), and physical_cursorx(). |
|
Definition at line 1020 of file textedit.cc. References clipboard_copy(), ht_textfile::convert_line2ofs(), FILEOFS, ht_layer_streamfile::get_desc(), ht_snprintf(), text_viewer_pos::line, text_viewer_pos::pofs, sel_end, sel_start, text_viewer_pos_compare(), and textfile. Referenced by ht_text_editor::clipboard_cut_cmd(), and handlemsg(). |
|
Reimplemented from ht_view. Reimplemented in ht_text_editor. Definition at line 1033 of file textedit.cc. References ht_view::config_changed(), ht_syntax_lexer::config_changed(), EOF_string, EOL_string, get_config_dword(), get_config_string(), lexer, MAX, MIN, and tab_size. Referenced by ht_text_editor::config_changed(), and init(). |
|
Definition at line 1046 of file textedit.cc. References errorbox, FILEOFS, get_cursor_pos(), last_search_end_ofs, last_search_request, NULL, text_search_pos::offset, pos_to_offset(), SC_PHYSICAL, search(), ht_search_request::search_class, and show_search_result(). Referenced by handlemsg(). |
|
Definition at line 1081 of file textedit.cc. References cursory, ht_textfile::linecount(), scroll_down(), textfile, top_line, and UINT. Referenced by goto_line(), and handlemsg(). |
|
Definition at line 1114 of file textedit.cc. References cursor_vput(), cursory, get_line_vlength(), and top_line. Referenced by handlemsg(). |
|
Definition at line 1109 of file textedit.cc. References cursor_vput(). Referenced by handlemsg(). |
|
Definition at line 1095 of file textedit.cc. References cursor_vput(), cursorx, UINT, and xofs. Referenced by handlemsg(). |
|
|
Definition at line 1103 of file textedit.cc. References cursor_vput(), cursorx, UINT, and xofs. Referenced by handlemsg(). |
|
Definition at line 1147 of file textedit.cc. References cursor_pput(), goto_line(), text_viewer_pos::line, and text_viewer_pos::pofs. Referenced by show_search_result(). |
|
Definition at line 1072 of file textedit.cc. References cursory, scroll_up(), and UINT. Referenced by goto_line(), and handlemsg(). |
|
Definition at line 1153 of file textedit.cc. References cursorx, UINT, and xofs. Referenced by cursor_end(), cursor_home(), cursor_left(), and cursor_right(). |
|
Reimplemented from ht_view. Reimplemented in ht_info_viewer, TerminalViewer, and ht_text_editor. Definition at line 994 of file textedit.cc. References ht_view::done(), Object::done(), ht_layer_streamfile::done(), EOF_string, EOL_string, last_search_request, lexer, own_lexer, own_textfile, and textfile. Referenced by ht_text_editor::done(), TerminalViewer::done(), and ht_info_viewer::done(). |
|
Reimplemented from ht_view. Reimplemented in ht_info_viewer. Definition at line 1169 of file textedit.cc. References ht_view::buf_lprint(), ht_view::buf_printchar(), ht_view::buf_printf(), char_vsize(), ht_view::clear(), cursorx, cursory, delete_timer(), EOL_string, ht_view::fill(), get_bgcolor(), get_cursor_mode(), get_timer_tick(), ht_syntax_lexer::getcolor_syntax(), ht_textfile::getline(), ht_syntax_lexer::gettoken(), ht_syntax_lexer::gettoken_color(), highlight_wrap, lexer, lexer_state, lexer_token, text_pos::line, text_viewer_pos::line, new_timer(), NULL, palidx_generic_input_selected, palidx_syntax_meta, text_pos::pofs, text_viewer_pos::pofs, render_meta(), render_str(), render_str_color(), sel_end, sel_start, ht_view::setcursor(), show_EOL, start_timer(), stop_timer(), tab_size, textfile, timer_handle, top_line, UINT, VCP, vcp, VCP_BACKGROUND, and xofs. Referenced by ht_info_viewer::draw(). |
|
Reimplemented in ht_text_editor. Definition at line 1294 of file textedit.cc. References cmd_text_viewer_goto, get_cursor_pos(), infobox, NULL, text_search_pos::offset, pos_to_offset(), search(), SEARCHMODE_BIN, ht_view::sendmsg(), show_search_result(), text_search_dialog(), and UINT. Referenced by ht_text_editor::func(), and handlemsg(). |
|
Reimplemented in ht_text_editor. Definition at line 1331 of file textedit.cc. References ht_view::getcolor(), palidx_generic_body, and vcp. Referenced by draw(). |
|
Reimplemented in ht_text_editor. Definition at line 1342 of file textedit.cc. References cm_normal, and cursor_mode. Referenced by draw(). |
|
Definition at line 1336 of file textedit.cc. References cursory, text_viewer_pos::line, physical_cursorx(), text_viewer_pos::pofs, and top_line. Referenced by continue_search(), func(), and text_search_dialog(). |
|
Definition at line 1417 of file textedit.cc. Referenced by handlemsg(). |
|
Definition at line 1347 of file textedit.cc. References lexer. Referenced by ht_text_editor::get_pindicator_str(), and get_pindicator_str(). |
|
Definition at line 1355 of file textedit.cc. References char_vsize(), ht_textfile::getline(), NULL, textfile, and UINT. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 1373 of file textedit.cc. References ht_textfile::getlinelength(), textfile, and UINT. Referenced by ht_undo_data_join_line::apply(), ht_undo_data_overwrite_string::apply(), ht_undo_data_insert_string::apply(), ht_text_editor::handlemsg(), and insert_text_block(). |
|
Definition at line 1378 of file textedit.cc. References char_vsize(), ht_textfile::getline(), NULL, textfile, and UINT. Referenced by cursor_end(). |
|
Reimplemented in ht_info_viewer, and ht_text_editor. Definition at line 1392 of file textedit.cc. References buf, cursorx, cursory, get_lexer(), ht_syntax_lexer::getname(), NULL, top_line, and xofs. Referenced by handlemsg(). |
|
Definition at line 1406 of file textedit.cc. References sel_end, and sel_start. Referenced by ht_undo_data_insert_block::apply(). |
|
Definition at line 1412 of file textedit.cc. References textfile. Referenced by delete_text_block(), and insert_text_block(). |
|
Definition at line 1401 of file textedit.cc. References ht_textfile::linecount(), scrollbar_pos(), textfile, and top_line. Referenced by handlemsg(). |
|
|
|
Definition at line 958 of file textedit.cc. References config_changed(), cursorx, cursory, EOF_string, EOL_string, GMH_FIT, GMV_FIT, highlight_wrap, Object::init(), last_search_request, lexer, lexers, MK_GM, NULL, own_lexer, own_textfile, select_clear(), selectcursor, set_textfile(), show_EOF, show_EOL, textfile, top_line, VIEW_DEBUG_NAME, VO_OWNBUFFER, VO_RESIZE, VO_SELECTABLE, and xofs. |
|
Definition at line 1702 of file textedit.cc. References ht_textfile::getlinelength(), text_viewer_pos::line, text_viewer_pos::pofs, textfile, and UINT. Referenced by select_add(). |
|
Definition at line 1708 of file textedit.cc. References text_viewer_pos::line, text_viewer_pos::pofs, sel_end, sel_start, and text_viewer_pos_compare(). Referenced by ht_text_editor::concat_lines(), ht_text_editor::delete_lines(), ht_text_editor::insert_lines(), select_add(), select_set(), and ht_text_editor::split_line(). |
|
|
Definition at line 1739 of file textedit.cc. References app, ht_list::count(), ht_view::databuf_get(), ht_dialog::done(), FS_KILLER, FS_MOVE, FS_RESIZE, FS_TITLE, ht_list::get(), ht_view::getbounds(), ht_text_listbox::getID(), ht_syntax_lexer::getname(), ht_listbox::gotoItemByPosition(), ht_label::init(), ht_itext_listbox::init(), ht_dialog::init(), ht_window::insert(), ht_text_listbox::insert_str(), lexer, lexers, ht_dialog::run(), set_lexer(), UINT, and ht_text_listbox::update(). Referenced by handlemsg(). |
|
Definition at line 1808 of file textedit.cc. References ht_textfile::convert_line2ofs(), FILEOFS, text_viewer_pos::line, text_viewer_pos::pofs, and textfile. Referenced by continue_search(), func(), and text_search_dialog(). |
|
Definition at line 1813 of file textedit.cc. References buf, ht_snprintf(), and UINT. |
|
Definition at line 1818 of file textedit.cc. References ht_view::buf_print(), EOF_string, EOL_string, text_viewer_pos::line, ht_textfile::linecount(), render_str_color(), show_EOF, show_EOL, textfile, UINT, and vcp. Referenced by draw(). |
|
Definition at line 1829 of file textedit.cc. References buf_lprint0(), len, text_viewer_pos::line, text_viewer_pos::pofs, render_str_color(), sel_end, sel_start, text_viewer_pos_compare(), UINT, and vcp. Referenced by draw(). |
|
Definition at line 1859 of file textedit.cc. References ht_view::getcolor(), palidx_generic_input_selected, sel_end, sel_start, text_viewer_pos_compare(), vcp, and vcp_mix(). Referenced by draw(), render_meta(), and render_str(). |
|
Reimplemented from ht_view. Definition at line 1868 of file textedit.cc. References cursorx, cursory, ht_view::resize(), top_line, and xofs. |
|
Definition at line 1892 of file textedit.cc. References cursory, ht_textfile::linecount(), textfile, top_line, and UINT. Referenced by cursor_down(), and handlemsg(). |
|
Definition at line 1908 of file textedit.cc. |
|
Definition at line 1914 of file textedit.cc. |
|
Definition at line 1881 of file textedit.cc. References cursory, top_line, and UINT. Referenced by cursor_up(), and handlemsg(). |
|
Definition at line 1920 of file textedit.cc. References Object::duplicate(), FILEOFS, last_search_end_ofs, last_search_request, linear_bin_search(), NULL, text_search_pos::offset, SC_PHYSICAL, ht_search_request::search_class, and textfile. Referenced by continue_search(), and func(). |
|
Definition at line 1937 of file textedit.cc. References make_pos_physical(), normalize_selection(), sel_end, sel_start, and text_viewer_pos_compare(). Referenced by select_end(). |
|
Definition at line 1970 of file textedit.cc. References text_viewer_pos::line, text_viewer_pos::pofs, sel_end, and sel_start. Referenced by delete_text_block(), ht_info_viewer::igotonode(), and init(). |
|
Definition at line 1992 of file textedit.cc. References cursory, text_viewer_pos::line, physical_cursorx(), text_viewer_pos::pofs, select_add(), selectmode, selectstart, and top_line. Referenced by handlemsg(). |
|
Definition at line 1978 of file textedit.cc. References normalize_selection(), sel_end, and sel_start. Referenced by insert_text_block(), and show_search_result(). |
|
Definition at line 1985 of file textedit.cc. References cursory, text_viewer_pos::line, physical_cursorx(), text_viewer_pos::pofs, selectmode, selectstart, and top_line. Referenced by handlemsg(). |
|
Definition at line 2001 of file textedit.cc. References ht_syntax_lexer::config_changed(), Object::done(), lexer, own_lexer, ht_textfile::set_lexer(), and textfile. Referenced by ht_app::create_window_file_text(), ht_info_viewer::igotonode(), and popup_change_highlight(). |
|
Definition at line 2014 of file textedit.cc. References ht_layer_streamfile::done(), own_textfile, and textfile. Referenced by ht_info_viewer::igotonode(), and init(). |
|
Definition at line 2024 of file textedit.cc. References ht_textfile::convert_ofs2line(), cursor_set(), text_viewer_pos::line, ht_physical_search_result::offset, text_viewer_pos::pofs, SC_PHYSICAL, ht_search_result::search_class, select_set(), ht_physical_search_result::size, and textfile. Referenced by continue_search(), and func(). |
|
Definition at line 260 of file textedit.h. |
|
Definition at line 268 of file textedit.h. Referenced by ht_text_editor::clipboard_delete_cmd(), and ht_text_editor::handlemsg(). |
|
Definition at line 261 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 262 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 267 of file textedit.h. Referenced by ht_text_editor::clipboard_paste_cmd(). |
|
Definition at line 263 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 266 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 264 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 265 of file textedit.h. Referenced by ht_text_editor::handlemsg(). |
|
Definition at line 278 of file textedit.h. Referenced by cursor_left(), cursor_pput(), cursor_right(), cursor_vput(), draw(), get_pindicator_str(), handlemsg(), init(), physical_cursorx(), and resize(). |
|
|
Definition at line 289 of file textedit.h. Referenced by config_changed(), done(), init(), and render_meta(). |
|
Definition at line 288 of file textedit.h. Referenced by config_changed(), done(), draw(), init(), and render_meta(). |
|
Definition at line 292 of file textedit.h. |
|
Definition at line 296 of file textedit.h. Referenced by continue_search(), and search(). |
|
Definition at line 295 of file textedit.h. Referenced by continue_search(), done(), init(), and search(). |
|
Definition at line 275 of file textedit.h. Referenced by config_changed(), done(), draw(), get_lexer(), init(), popup_change_highlight(), and set_lexer(). |
|
Definition at line 273 of file textedit.h. Referenced by init(), and popup_change_highlight(). |
|
Definition at line 276 of file textedit.h. Referenced by done(), init(), and set_lexer(). |
|
Definition at line 271 of file textedit.h. Referenced by done(), init(), and set_textfile(). |
|
Definition at line 279 of file textedit.h. Referenced by clipboard_copy_cmd(), draw(), get_selection(), normalize_selection(), render_str(), render_str_color(), select_add(), select_clear(), and select_set(). |
|
Definition at line 279 of file textedit.h. Referenced by clipboard_copy_cmd(), draw(), get_selection(), normalize_selection(), render_str(), render_str_color(), select_add(), select_clear(), and select_set(). |
|
Definition at line 284 of file textedit.h. Referenced by handlemsg(), and init(). |
|
Definition at line 285 of file textedit.h. Referenced by select_end(), and select_start(). |
|
Definition at line 286 of file textedit.h. Referenced by select_end(), and select_start(). |
|
Definition at line 291 of file textedit.h. Referenced by init(), and render_meta(). |
|
Definition at line 290 of file textedit.h. Referenced by draw(), init(), and render_meta(). |
|
Definition at line 293 of file textedit.h. Referenced by char_vsize(), config_changed(), and draw(). |
|
Definition at line 270 of file textedit.h. Referenced by clipboard_copy_cmd(), cursor_down(), cursor_pput(), done(), draw(), get_line_indent(), get_line_length(), get_line_vlength(), get_textfile(), get_vscrollbar_pos(), goto_line(), handlemsg(), init(), make_pos_physical(), physical_cursorx(), pos_to_offset(), render_meta(), scroll_down(), search(), set_lexer(), set_textfile(), and show_search_result(). |
|
|
Definition at line 282 of file textedit.h. Referenced by cursor_left(), cursor_pput(), cursor_right(), cursor_vput(), draw(), get_pindicator_str(), init(), physical_cursorx(), resize(), scroll_left(), and scroll_right(). |