A scrollable editable text area. An CONTENT_CHANGED_EVENT is generated whenever the contents are changed by the user, a CURSOR_MOVED_EVENT when the cursor moves, and a SELECTION_CHANGED_EVENT whenver the selection changes.
Class summary |
Methods inherited from gui::LineBasedScrollArea |
ensure_row_visible(row) get_curr_lines() get_first_line() get_last_line() get_left_pos() get_line_under_pointer() get_max_lines() get_subject_height() get_subject_horizontal_increment() get_subject_vertical_increment() goto_pos(line, horiz) init() |
Variables inherited from gui::LineBasedScrollArea |
line_height |
Methods inherited from gui::DrawScrollArea |
create_view() |
Variables inherited from gui::ScrollArea |
hsb last_refresh_x last_refresh_y view vsb |
Variables inherited from gui::Component |
accel accepts_focus_flag allow_drag_flag allow_drop_flag attribs cbwin children cwin draw_border_flag h h_spec has_focus is_shaded_flag parent parent_dialog ticker tooltip valid w w_spec x x_align x_spec y y_align y_spec |
Methods inherited from lang::Object |
clone(seen) equals(other, seen) get_class() get_class_name() get_id() hash_code(depth, seen) is_instance(name) to_string(depth, seen) |
Methods inherited from util::Connectable |
connect(obj, meth, type) disconnect(l) fire(type, param) fire_event(e) |
Variables inherited from util::Connectable |
listeners |
Variables defined in this class |
changed contents cursor_x cursor_y direction is_held long_line mark_x mark_y old_contents_size old_cursor_x old_cursor_y old_has_region old_mw printable undo_manager |
Method detail |
Variable detail |