C# Class lw_common.ui.smart_readonly_textbox

Inheritance: System.Windows.Forms.RichTextBox
显示文件 Open project: jtorjo/logwizard

Public Properties

Property Type Description
on_search_ahead search_func
on_sel_changed void_func

Private Properties

Property Type Description
add_cur_text_to_positions void
after_click void
char_at_mouse int
char_at_mouse int
check_empty_sel void
check_if_user_hasnt_moved void
force_refresh void
go_to_backspace_text void
move_sel_one_char_left void
move_sel_one_char_right void
raw_sel_text string
readd_all_text void
set_text void
should_be_visible bool
smart_readonly_textbox_KeyPress void
smart_readonly_textbox_MouseClick void
smart_readonly_textbox_MouseDown void
smart_readonly_textbox_MouseMove void
smart_readonly_textbox_MouseUp void
smart_readonly_textbox_SelectionChanged void
stealFocus_Tick void
update_cached_sel_text void
update_selected_text void
wheel void

Public Methods

Method Description
backspace ( ) : void
clear_sel ( ) : void
escape ( ) : void
force_sel_text ( string txt ) : void
force_update_sel ( ) : void
go_to_char ( int char_idx ) : void
go_to_text ( string text_to_select ) : void
init ( log_view parent ) : void
on_mouse_click ( Point mouse_screen ) : void
on_mouse_up ( ) : void
sel_to_left ( ) : void
sel_to_right ( ) : void
sel_to_word_left ( ) : void
sel_to_word_right ( ) : void
smart_readonly_textbox ( ) : System
update_sel ( ) : void
update_ui ( ) : void

Private Methods

Method Description
add_cur_text_to_positions ( ) : void
after_click ( int row_idx ) : void
char_at_mouse ( ) : int
char_at_mouse ( Point mouse_screen ) : int
check_empty_sel ( ) : void
check_if_user_hasnt_moved ( ) : void
force_refresh ( ) : void
go_to_backspace_text ( string txt ) : void
move_sel_one_char_left ( bool &moved, bool &needs_readd ) : void
move_sel_one_char_right ( bool &moved, bool &needs_readd ) : void
raw_sel_text ( ) : string
readd_all_text ( ) : void
set_text ( bool force ) : void
should_be_visible ( ) : bool
smart_readonly_textbox_KeyPress ( object sender, KeyPressEventArgs e ) : void
smart_readonly_textbox_MouseClick ( object sender, MouseEventArgs e ) : void
smart_readonly_textbox_MouseDown ( object sender, MouseEventArgs e ) : void
smart_readonly_textbox_MouseMove ( object sender, MouseEventArgs e ) : void
smart_readonly_textbox_MouseUp ( object sender, MouseEventArgs e ) : void
smart_readonly_textbox_SelectionChanged ( object sender, EventArgs e ) : void
stealFocus_Tick ( object sender, EventArgs e ) : void
update_cached_sel_text ( ) : void
update_selected_text ( ) : void
wheel ( Message m ) : void

Method Details

backspace() public method

public backspace ( ) : void
return void

clear_sel() public method

public clear_sel ( ) : void
return void

escape() public method

public escape ( ) : void
return void

force_sel_text() public method

public force_sel_text ( string txt ) : void
txt string
return void

force_update_sel() public method

public force_update_sel ( ) : void
return void

go_to_char() public method

public go_to_char ( int char_idx ) : void
char_idx int
return void

go_to_text() public method

public go_to_text ( string text_to_select ) : void
text_to_select string
return void

init() public method

public init ( log_view parent ) : void
parent log_view
return void

on_mouse_click() public method

public on_mouse_click ( Point mouse_screen ) : void
mouse_screen Point
return void

on_mouse_up() public method

public on_mouse_up ( ) : void
return void

sel_to_left() public method

public sel_to_left ( ) : void
return void

sel_to_right() public method

public sel_to_right ( ) : void
return void

sel_to_word_left() public method

public sel_to_word_left ( ) : void
return void

sel_to_word_right() public method

public sel_to_word_right ( ) : void
return void

smart_readonly_textbox() public method

public smart_readonly_textbox ( ) : System
return System

update_sel() public method

public update_sel ( ) : void
return void

update_ui() public method

public update_ui ( ) : void
return void

Property Details

on_search_ahead public_oe property

public search_func on_search_ahead
return search_func

on_sel_changed public_oe property

public void_func on_sel_changed
return void_func