wxruby3 0.9.1-x64-mingw-ucrt → 0.9.3-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/INSTALL.md +35 -29
- data/README.md +24 -15
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/bitmap_combobox.rb +17 -21
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/combobox.rb +13 -3
- data/lib/wx/core/controlwithitems.rb +40 -128
- data/lib/wx/core/enum.rb +17 -1
- data/lib/wx/core/event.rb +6 -1
- data/lib/wx/core/events/evt_list.rb +5 -4
- data/lib/wx/core/evthandler.rb +8 -2
- data/lib/wx/core/generic_validator.rb +312 -0
- data/lib/wx/core/listbox.rb +2 -2
- data/lib/wx/core/log.rb +1 -1
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/owner_drawn_combobox.rb +45 -0
- data/lib/wx/core/size.rb +4 -0
- data/lib/wx/core/sizer.rb +12 -2
- data/lib/wx/core/standard_paths.rb +22 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/text_entry.rb +4 -1
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/validator.rb +70 -5
- data/lib/wx/core/window.rb +13 -7
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +48 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/comboctrl.rb +18 -0
- data/lib/wx/doc/controlwithitems.rb +34 -8
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/date_picker_ctrl.rb +23 -0
- data/lib/wx/doc/editable_listbox.rb +44 -0
- data/lib/wx/doc/enum.rb +15 -0
- data/lib/wx/doc/event.rb +12 -0
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/extra/12_client_data.md +89 -0
- data/lib/wx/doc/extra/13_validators.md +139 -0
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gdi_common.rb +4 -0
- data/lib/wx/doc/gen/about_dialog_info.rb +26 -2
- data/lib/wx/doc/gen/accelerator.rb +19 -4
- data/lib/wx/doc/gen/accessible.rb +48 -47
- data/lib/wx/doc/gen/activity_indicator.rb +10 -4
- data/lib/wx/doc/gen/animation.rb +19 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +16 -7
- data/lib/wx/doc/gen/any_button.rb +22 -1
- data/lib/wx/doc/gen/app.rb +41 -5
- data/lib/wx/doc/gen/app_traits.rb +65 -15
- data/lib/wx/doc/gen/art_provider.rb +33 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +18 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +2 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +35 -8
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +11 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +4 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +3 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +31 -7
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +5 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +38 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +9 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -1
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +20 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +4 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -7
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +5 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +8 -1
- data/lib/wx/doc/gen/bitmap.rb +94 -16
- data/lib/wx/doc/gen/bitmap_button.rb +16 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +20 -10
- data/lib/wx/doc/gen/book_ctrl_base.rb +31 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +9 -3
- data/lib/wx/doc/gen/box_sizer.rb +5 -1
- data/lib/wx/doc/gen/brush.rb +20 -2
- data/lib/wx/doc/gen/busy_info.rb +10 -2
- data/lib/wx/doc/gen/button.rb +31 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +5 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +38 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +2 -1
- data/lib/wx/doc/gen/calendar_event.rb +5 -2
- data/lib/wx/doc/gen/caret.rb +3 -1
- data/lib/wx/doc/gen/check_box.rb +17 -7
- data/lib/wx/doc/gen/check_list_box.rb +8 -6
- data/lib/wx/doc/gen/choice.rb +28 -9
- data/lib/wx/doc/gen/choicebook.rb +7 -7
- data/lib/wx/doc/gen/client_dc.rb +6 -2
- data/lib/wx/doc/gen/clipboard.rb +16 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +9 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +3 -3
- data/lib/wx/doc/gen/colour.rb +28 -4
- data/lib/wx/doc/gen/colour_dialog.rb +15 -7
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +13 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +5 -5
- data/lib/wx/doc/gen/combo_box.rb +36 -14
- data/lib/wx/doc/gen/combo_ctrl.rb +117 -295
- data/lib/wx/doc/gen/command_link_button.rb +12 -5
- data/lib/wx/doc/gen/context_help_button.rb +13 -3
- data/lib/wx/doc/gen/control.rb +22 -8
- data/lib/wx/doc/gen/control_with_items.rb +45 -10
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +10 -8
- data/lib/wx/doc/gen/data_format.rb +7 -1
- data/lib/wx/doc/gen/data_object.rb +42 -18
- data/lib/wx/doc/gen/date_event.rb +3 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +18 -8
- data/lib/wx/doc/gen/dc.rb +238 -36
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +2 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +25 -5
- data/lib/wx/doc/gen/dialog.rb +72 -13
- data/lib/wx/doc/gen/dir_dialog.rb +22 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/drag_drop.rb +28 -7
- data/lib/wx/doc/gen/drag_image.rb +13 -2
- data/lib/wx/doc/gen/editable_list_box.rb +7 -5
- data/lib/wx/doc/gen/event.rb +57 -26
- data/lib/wx/doc/gen/event_blocker.rb +2 -3
- data/lib/wx/doc/gen/event_filter.rb +3 -0
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +305 -173
- data/lib/wx/doc/gen/evt_handler.rb +49 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +10 -1
- data/lib/wx/doc/gen/file_ctrl.rb +28 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +7 -4
- data/lib/wx/doc/gen/file_dialog.rb +44 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +19 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +11 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +4 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +12 -9
- data/lib/wx/doc/gen/file_system.rb +54 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +6 -4
- data/lib/wx/doc/gen/find_replace_data.rb +2 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +4 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +13 -1
- data/lib/wx/doc/gen/font.rb +103 -20
- data/lib/wx/doc/gen/font_data.rb +16 -3
- data/lib/wx/doc/gen/font_dialog.rb +6 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +14 -7
- data/lib/wx/doc/gen/font_picker_event.rb +3 -3
- data/lib/wx/doc/gen/frame.rb +73 -15
- data/lib/wx/doc/gen/fs_file.rb +39 -10
- data/lib/wx/doc/gen/gauge.rb +19 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +5 -1
- data/lib/wx/doc/gen/gcdc.rb +3 -2
- data/lib/wx/doc/gen/gdi_common.rb +80 -11
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
- data/lib/wx/doc/gen/graphics_context.rb +86 -10
- data/lib/wx/doc/gen/graphics_object.rb +35 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +3 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +16 -3
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +10 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +7 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +256 -12
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +6 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +6 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +4 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +4 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +8 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +28 -3
- data/lib/wx/doc/gen/grid/grid_table_message.rb +2 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +21 -7
- data/lib/wx/doc/gen/grid_sizer.rb +11 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +13 -3
- data/lib/wx/doc/gen/header_ctrl.rb +110 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +4 -2
- data/lib/wx/doc/gen/help_controller.rb +14 -3
- data/lib/wx/doc/gen/help_provider.rb +22 -4
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +48 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +5 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +20 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +26 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +8 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +9 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +3 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +54 -16
- data/lib/wx/doc/gen/html/html_printout.rb +7 -1
- data/lib/wx/doc/gen/html/html_window.rb +43 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -8
- data/lib/wx/doc/gen/hyperlink_event.rb +3 -3
- data/lib/wx/doc/gen/icon.rb +23 -29
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +143 -20
- data/lib/wx/doc/gen/image_list.rb +25 -6
- data/lib/wx/doc/gen/info_bar.rb +14 -2
- data/lib/wx/doc/gen/keyboard_state.rb +11 -1
- data/lib/wx/doc/gen/list_box.rb +46 -17
- data/lib/wx/doc/gen/list_ctrl.rb +165 -29
- data/lib/wx/doc/gen/list_event.rb +13 -4
- data/lib/wx/doc/gen/listbook.rb +7 -7
- data/lib/wx/doc/gen/locale.rb +68 -4
- data/lib/wx/doc/gen/log.rb +58 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +11 -2
- data/lib/wx/doc/gen/mdi_frame.rb +51 -7
- data/lib/wx/doc/gen/media_ctrl.rb +43 -18
- data/lib/wx/doc/gen/media_event.rb +6 -4
- data/lib/wx/doc/gen/memory_dc.rb +16 -6
- data/lib/wx/doc/gen/menu.rb +81 -26
- data/lib/wx/doc/gen/menu_bar.rb +74 -15
- data/lib/wx/doc/gen/menu_item.rb +67 -19
- data/lib/wx/doc/gen/message_dialog.rb +17 -8
- data/lib/wx/doc/gen/mini_frame.rb +14 -5
- data/lib/wx/doc/gen/mirror_dc.rb +1 -2
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +9 -4
- data/lib/wx/doc/gen/non_owned_window.rb +4 -1
- data/lib/wx/doc/gen/notebook.rb +27 -9
- data/lib/wx/doc/gen/num_validator.rb +37 -0
- data/lib/wx/doc/gen/number_entry_dialog.rb +5 -1
- data/lib/wx/doc/gen/object.rb +3 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +340 -0
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +5 -1
- data/lib/wx/doc/gen/panel.rb +25 -8
- data/lib/wx/doc/gen/pen.rb +46 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +4 -1
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +12 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +11 -3
- data/lib/wx/doc/gen/pg/pg_editor.rb +161 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +632 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +381 -77
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +11 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +123 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +41 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +273 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +62 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +33 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +18 -4
- data/lib/wx/doc/gen/picker_base.rb +22 -5
- data/lib/wx/doc/gen/platform_info.rb +35 -9
- data/lib/wx/doc/gen/popup_window.rb +7 -5
- data/lib/wx/doc/gen/progress_dialog.rb +5 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +20 -4
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +3 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +3 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +5 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -0
- data/lib/wx/doc/gen/prt/print_data.rb +31 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +5 -1
- data/lib/wx/doc/gen/prt/printer.rb +87 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +3 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +10 -3
- data/lib/wx/doc/gen/radio_box.rb +28 -10
- data/lib/wx/doc/gen/radio_button.rb +22 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +82 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +26 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +3 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +50 -12
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +3 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +11 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +21 -11
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +12 -1
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +16 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +3 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +27 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +3 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +5 -2
- data/lib/wx/doc/gen/rearrange_list.rb +12 -4
- data/lib/wx/doc/gen/region.rb +104 -17
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +27 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +45 -11
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +23 -14
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +84 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +8 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +8 -2
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +8 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +4 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +7 -2
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +82 -17
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +54 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +15 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -9
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +4 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +4 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +13 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +21 -4
- data/lib/wx/doc/gen/sash_window.rb +6 -4
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +28 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +48 -10
- data/lib/wx/doc/gen/scrolled_control.rb +48 -10
- data/lib/wx/doc/gen/scrolled_window.rb +48 -10
- data/lib/wx/doc/gen/search_ctrl.rb +14 -9
- data/lib/wx/doc/gen/simplebook.rb +8 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +9 -4
- data/lib/wx/doc/gen/sizer.rb +91 -16
- data/lib/wx/doc/gen/sizer_item.rb +21 -4
- data/lib/wx/doc/gen/slider.rb +50 -17
- data/lib/wx/doc/gen/spin_button.rb +24 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +35 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +13 -7
- data/lib/wx/doc/gen/spin_double_event.rb +6 -4
- data/lib/wx/doc/gen/spin_event.rb +4 -3
- data/lib/wx/doc/gen/splash_screen.rb +3 -2
- data/lib/wx/doc/gen/splitter_event.rb +12 -4
- data/lib/wx/doc/gen/splitter_window.rb +100 -18
- data/lib/wx/doc/gen/static_bitmap.rb +109 -7
- data/lib/wx/doc/gen/static_box.rb +15 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +3 -2
- data/lib/wx/doc/gen/static_line.rb +7 -4
- data/lib/wx/doc/gen/static_text.rb +10 -6
- data/lib/wx/doc/gen/status_bar.rb +32 -8
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +207 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +31 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +7 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +15 -7
- data/lib/wx/doc/gen/system_options.rb +14 -6
- data/lib/wx/doc/gen/system_settings.rb +9 -3
- data/lib/wx/doc/gen/task_bar_button.rb +324 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +26 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +5 -3
- data/lib/wx/doc/gen/text_attr.rb +47 -5
- data/lib/wx/doc/gen/text_ctrl.rb +114 -25
- data/lib/wx/doc/gen/text_entry.rb +69 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +14 -2
- data/lib/wx/doc/gen/text_validator.rb +58 -9
- data/lib/wx/doc/gen/time_picker_ctrl.rb +11 -6
- data/lib/wx/doc/gen/timer.rb +14 -2
- data/lib/wx/doc/gen/timer_event.rb +2 -2
- data/lib/wx/doc/gen/tip_provider.rb +6 -1
- data/lib/wx/doc/gen/toggle_button.rb +73 -6
- data/lib/wx/doc/gen/tool_bar.rb +141 -25
- data/lib/wx/doc/gen/tool_tip.rb +41 -5
- data/lib/wx/doc/gen/toolbook.rb +6 -4
- data/lib/wx/doc/gen/top_level_window.rb +100 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +89 -16
- data/lib/wx/doc/gen/tree_event.rb +9 -4
- data/lib/wx/doc/gen/treebook.rb +16 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +10 -2
- data/lib/wx/doc/gen/utils.rb +94 -7
- data/lib/wx/doc/gen/v_list_box.rb +27 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +21 -4
- data/lib/wx/doc/gen/validator.rb +10 -14
- data/lib/wx/doc/gen/variant.rb +7 -0
- data/lib/wx/doc/gen/window.rb +415 -57
- data/lib/wx/doc/gen/window_dc.rb +2 -1
- data/lib/wx/doc/gen/window_disabler.rb +6 -2
- data/lib/wx/doc/gen/with_images.rb +13 -2
- data/lib/wx/doc/gen/wizard.rb +22 -4
- data/lib/wx/doc/gen/wizard_event.rb +5 -4
- data/lib/wx/doc/gen/wizard_page.rb +7 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +5 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +5 -1
- data/lib/wx/doc/gen/xml_node.rb +33 -4
- data/lib/wx/doc/gen/xml_resource.rb +40 -5
- data/lib/wx/doc/generic_validator.rb +95 -0
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/html/simple_html_listbox.rb +22 -0
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/num_validator.rb +387 -0
- data/lib/wx/doc/owner_drawn_combobox.rb +96 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/numeric_property_validator.rb +33 -0
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/static_bitmap.rb +25 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +23 -9
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/validator.rb +113 -0
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +87 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/html/events/evt_list.rb +0 -10
- data/lib/wx/html/simple_html_listbox.rb +24 -91
- data/lib/wx/keyword_defs.rb +34 -2
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rbn/ribbon_gallery.rb +0 -21
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +2 -2
- data/rakelib/lib/config/mingw.rb +13 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/aui/aui.rb +1237 -1233
- data/samples/calendar/calendar.rb +293 -289
- data/samples/controls/get_item_sample.rb +83 -79
- data/samples/controls/htlbox.rb +331 -327
- data/samples/dialogs/dialogs.rb +682 -694
- data/samples/dialogs/wizard.rb +52 -55
- data/samples/dragdrop/dragdrop.rb +146 -142
- data/samples/drawing/bitmap.rb +29 -26
- data/samples/drawing/bitmap_image.rb +84 -80
- data/samples/drawing/graphics_drawing.rb +209 -205
- data/samples/drawing/image_prt.rb +344 -340
- data/samples/drawing/maths_images.rb +18 -1
- data/samples/drawing/rmagic_bitmap_image.rb +88 -84
- data/samples/etc/caret.rb +306 -0
- data/samples/etc/miniframe.rb +65 -60
- data/samples/etc/sash.rb +109 -105
- data/samples/etc/scrollwin.rb +86 -80
- data/samples/etc/system_settings.rb +216 -209
- data/samples/event/activation.rb +72 -67
- data/samples/event/event.rb +160 -153
- data/samples/event/threaded.rb +8 -1
- data/samples/event/update_ui_event.rb +67 -60
- data/samples/grid/grid.rb +188 -181
- data/samples/grid/gridtablebase.rb +136 -129
- data/samples/html/html.rb +208 -204
- data/samples/mdi/mdi.rb +59 -54
- data/samples/minimal/minimal.rb +54 -51
- data/samples/minimal/nothing.rb +1 -0
- data/samples/printing/printing.rb +367 -377
- data/samples/printing/printing2.rb +203 -198
- data/samples/propgrid/propgrid.rb +2312 -2308
- data/samples/propgrid/propgrid_minimal.rb +57 -50
- data/samples/ribbon/ribbon.rb +780 -774
- data/samples/sampler/ext.rb +0 -33
- data/samples/sampler/sample.rb +4 -9
- data/samples/sampler.rb +1 -1
- data/samples/splash/splash.rb +118 -116
- data/samples/text/rich_textctrl.rb +207 -201
- data/samples/text/richtext.rb +1409 -1405
- data/samples/text/scintilla.rb +137 -128
- data/samples/text/textctrl.rb +89 -83
- data/samples/text/unicode.rb +175 -168
- data/samples/treectrl/treectrl.rb +1430 -1426
- data/samples/widgets/activityindicator.rb +95 -0
- data/samples/widgets/art/widgets/activityindicator.xpm +278 -0
- data/samples/widgets/art/widgets/bmpbtn.xpm +37 -0
- data/samples/widgets/art/widgets/bmpcombobox.xpm +54 -0
- data/samples/widgets/art/widgets/button.xpm +54 -0
- data/samples/widgets/art/widgets/checkbox.xpm +54 -0
- data/samples/{bigdemo/icons → widgets/art/widgets}/choice.xpm +1 -1
- data/samples/widgets/art/widgets/choicebk.xpm +54 -0
- data/samples/widgets/art/widgets/clrpicker.xpm +193 -0
- data/samples/widgets/art/widgets/combobox.xpm +54 -0
- data/samples/widgets/art/widgets/datepick.xpm +200 -0
- data/samples/widgets/art/widgets/dirctrl.xpm +54 -0
- data/samples/widgets/art/widgets/dirpicker.xpm +213 -0
- data/samples/widgets/art/widgets/filepicker.xpm +214 -0
- data/samples/widgets/art/widgets/fontpicker.xpm +185 -0
- data/samples/widgets/art/widgets/gauge.xpm +54 -0
- data/samples/widgets/art/widgets/header.xpm +54 -0
- data/samples/widgets/art/widgets/hyperlnk.xpm +54 -0
- data/samples/widgets/art/widgets/listbook.xpm +54 -0
- data/samples/widgets/art/widgets/listbox.xpm +54 -0
- data/samples/widgets/art/widgets/native.xpm +81 -0
- data/samples/widgets/art/widgets/notebook.xpm +54 -0
- data/samples/widgets/art/widgets/odcombobox.xpm +54 -0
- data/samples/widgets/art/widgets/radiobox.xpm +54 -0
- data/samples/widgets/art/widgets/scrolbar.xpm +54 -0
- data/samples/widgets/art/widgets/slider.xpm +54 -0
- data/samples/widgets/art/widgets/spinbtn.xpm +40 -0
- data/samples/widgets/art/widgets/statbmp.xpm +40 -0
- data/samples/widgets/art/widgets/statbox.xpm +54 -0
- data/samples/widgets/art/widgets/stattext.xpm +54 -0
- data/samples/widgets/art/widgets/text.xpm +54 -0
- data/samples/widgets/art/widgets/timepick.xpm +207 -0
- data/samples/widgets/art/widgets/toggle.xpm +54 -0
- data/samples/widgets/art/widgets/toucan.png +0 -0
- data/samples/widgets/bmpcombobox.rb +651 -0
- data/samples/widgets/button.rb +462 -0
- data/samples/widgets/checkbox.rb +211 -0
- data/samples/widgets/choice.rb +287 -0
- data/samples/widgets/clrpicker.rb +156 -0
- data/samples/widgets/combobox.rb +516 -0
- data/samples/widgets/datepick.rb +215 -0
- data/samples/widgets/dirctrl.rb +265 -0
- data/samples/widgets/dirpicker.rb +158 -0
- data/samples/widgets/editlbox.rb +122 -0
- data/samples/widgets/filectrl.rb +216 -0
- data/samples/widgets/filepicker.rb +214 -0
- data/samples/widgets/fontpicker.rb +135 -0
- data/samples/widgets/gauge.rb +311 -0
- data/samples/widgets/headerctrl.rb +236 -0
- data/samples/widgets/hyperlink.rb +203 -0
- data/samples/widgets/itemcontainer.rb +185 -0
- data/samples/widgets/listbox.rb +473 -0
- data/samples/widgets/notebook.rb +488 -0
- data/samples/widgets/odcombobox.rb +608 -0
- data/samples/widgets/radiobox.rb +328 -0
- data/samples/widgets/searchctrl.rb +159 -0
- data/samples/widgets/slider.rb +594 -0
- data/samples/widgets/spinbtn.rb +443 -0
- data/samples/widgets/statbmp.rb +130 -0
- data/samples/widgets/static.rb +436 -0
- data/samples/widgets/textctrl.rb +700 -0
- data/samples/widgets/timepick.rb +148 -0
- data/samples/widgets/tn_widgets.png +0 -0
- data/samples/widgets/toggle.rb +385 -0
- data/samples/widgets/widgets.rb +1233 -0
- data/samples/xrc/custom_xrc_sample.rb +47 -41
- data/samples/xrc/xrc_sample.rb +53 -47
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_event_handling.rb +52 -34
- data/tests/test_events.rb +7 -0
- data/tests/test_item_data.rb +24 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +59 -0
- data/tests/test_std_controls.rb +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_validators.rb +805 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +113 -138
- data/lib/wx/core/choice.rb +0 -14
- data/lib/wx/core/combo_ctrl.rb +0 -110
- data/samples/bigdemo/About.rbw +0 -39
- data/samples/bigdemo/ColorPanel.rbw +0 -23
- data/samples/bigdemo/GridSimple.rbw +0 -78
- data/samples/bigdemo/MDIDemo.rbw +0 -57
- data/samples/bigdemo/PopupMenu.rbw +0 -146
- data/samples/bigdemo/ShapedWindow.rbw +0 -128
- data/samples/bigdemo/Sizers.rbw +0 -541
- data/samples/bigdemo/bigdemo.rb +0 -817
- data/samples/bigdemo/demoTemplate.rbw +0 -33
- data/samples/bigdemo/helpfile.htb +0 -0
- data/samples/bigdemo/icons/Test 015.jpg +0 -0
- data/samples/bigdemo/icons/Test 015.png +0 -0
- data/samples/bigdemo/icons/choice.bmp +0 -0
- data/samples/bigdemo/icons/combo.bmp +0 -0
- data/samples/bigdemo/icons/combo.xpm +0 -27
- data/samples/bigdemo/icons/copy.xpm +0 -25
- data/samples/bigdemo/icons/cut.xpm +0 -24
- data/samples/bigdemo/icons/gauge.bmp +0 -0
- data/samples/bigdemo/icons/gauge.xpm +0 -27
- data/samples/bigdemo/icons/help.xpm +0 -25
- data/samples/bigdemo/icons/list.bmp +0 -0
- data/samples/bigdemo/icons/list.xpm +0 -27
- data/samples/bigdemo/icons/mondrian.ico +0 -0
- data/samples/bigdemo/icons/mondrian.xpm +0 -44
- data/samples/bigdemo/icons/new.xpm +0 -24
- data/samples/bigdemo/icons/ogl.ico +0 -0
- data/samples/bigdemo/icons/ogl.xpm +0 -45
- data/samples/bigdemo/icons/open.xpm +0 -26
- data/samples/bigdemo/icons/paste.bmp +0 -0
- data/samples/bigdemo/icons/paste.xpm +0 -38
- data/samples/bigdemo/icons/pointy.png +0 -0
- data/samples/bigdemo/icons/preview.xpm +0 -26
- data/samples/bigdemo/icons/print.xpm +0 -26
- data/samples/bigdemo/icons/radio.bmp +0 -0
- data/samples/bigdemo/icons/radio.xpm +0 -27
- data/samples/bigdemo/icons/robert.xpm +0 -415
- data/samples/bigdemo/icons/sashtest.ico +0 -0
- data/samples/bigdemo/icons/save.xpm +0 -25
- data/samples/bigdemo/icons/smiles.bmp +0 -0
- data/samples/bigdemo/icons/smiles.xpm +0 -39
- data/samples/bigdemo/icons/smiley.ico +0 -0
- data/samples/bigdemo/icons/smiley.xpm +0 -42
- data/samples/bigdemo/icons/stattext.xpm +0 -24
- data/samples/bigdemo/icons/test2.bmp +0 -0
- data/samples/bigdemo/icons/test2.png +0 -0
- data/samples/bigdemo/icons/test2.xpm +0 -79
- data/samples/bigdemo/icons/text.bmp +0 -0
- data/samples/bigdemo/icons/text.xpm +0 -27
- data/samples/bigdemo/icons/tog1.bmp +0 -0
- data/samples/bigdemo/icons/tog1.xpm +0 -38
- data/samples/bigdemo/icons/tog2.bmp +0 -0
- data/samples/bigdemo/icons/tog2.xpm +0 -38
- data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
- data/samples/bigdemo/icons/wxwin.ico +0 -0
- data/samples/bigdemo/icons/wxwin16x16.png +0 -0
- data/samples/bigdemo/icons/wxwin16x16.xpm +0 -25
- data/samples/bigdemo/icons/wxwin32x32.png +0 -0
- data/samples/bigdemo/icons/wxwin48x48.png +0 -0
- data/samples/bigdemo/run.rb +0 -98
- data/samples/bigdemo/tips.txt +0 -7
- data/samples/bigdemo/utils.rb +0 -20
- data/samples/bigdemo/wxArtProvider.rbw +0 -282
- data/samples/bigdemo/wxBitmapButton.rbw +0 -65
- data/samples/bigdemo/wxButton.rbw +0 -64
- data/samples/bigdemo/wxCalendarCtrl.rbw +0 -59
- data/samples/bigdemo/wxCheckBox.rbw +0 -50
- data/samples/bigdemo/wxCheckListBox.rbw +0 -65
- data/samples/bigdemo/wxChoice.rbw +0 -47
- data/samples/bigdemo/wxChoicebook.rbw +0 -78
- data/samples/bigdemo/wxColourDialog.rbw +0 -33
- data/samples/bigdemo/wxComboBox.rbw +0 -77
- data/samples/bigdemo/wxCursor.rbw +0 -136
- data/samples/bigdemo/wxDialog.rbw +0 -74
- data/samples/bigdemo/wxDirDialog.rbw +0 -29
- data/samples/bigdemo/wxDragImage.rbw +0 -70
- data/samples/bigdemo/wxFileDialog.rbw +0 -37
- data/samples/bigdemo/wxFileDialog_Save.rbw +0 -35
- data/samples/bigdemo/wxFindReplaceDialog.rbw +0 -82
- data/samples/bigdemo/wxFontDialog.rbw +0 -200
- data/samples/bigdemo/wxFrame.rbw +0 -53
- data/samples/bigdemo/wxGauge.rbw +0 -65
- data/samples/bigdemo/wxGenericDirCtrl.rbw +0 -74
- data/samples/bigdemo/wxGrid.rbw +0 -66
- data/samples/bigdemo/wxHtmlHelpController.rbw +0 -52
- data/samples/bigdemo/wxListBox.rbw +0 -140
- data/samples/bigdemo/wxListCtrl_virtual.rbw +0 -112
- data/samples/bigdemo/wxMDIWindows.rbw +0 -50
- data/samples/bigdemo/wxMenu.rbw +0 -247
- data/samples/bigdemo/wxMessageDialog.rbw +0 -27
- data/samples/bigdemo/wxMiniFrame.rbw +0 -70
- data/samples/bigdemo/wxMultipleChoiceDialog.rbw +0 -29
- data/samples/bigdemo/wxNotebook.rbw +0 -136
- data/samples/bigdemo/wxProgressDialog.rbw +0 -43
- data/samples/bigdemo/wxRadioBox.rbw +0 -72
- data/samples/bigdemo/wxRadioButton.rbw +0 -125
- data/samples/bigdemo/wxSashWindow.rbw +0 -141
- data/samples/bigdemo/wxScrolledMessageDialog.rbw +0 -57
- data/samples/bigdemo/wxScrolledWindow.rbw +0 -199
- data/samples/bigdemo/wxSingleChoiceDialog.rbw +0 -33
- data/samples/bigdemo/wxSlider.rbw +0 -42
- data/samples/bigdemo/wxSpinButton.rbw +0 -50
- data/samples/bigdemo/wxSpinCtrl.rbw +0 -51
- data/samples/bigdemo/wxSplitterWindow.rbw +0 -63
- data/samples/bigdemo/wxStaticBitmap.rbw +0 -47
- data/samples/bigdemo/wxStaticText.rbw +0 -55
- data/samples/bigdemo/wxStatusBar.rbw +0 -126
- data/samples/bigdemo/wxTextCtrl.rbw +0 -149
- data/samples/bigdemo/wxTextEntryDialog.rbw +0 -31
- data/samples/bigdemo/wxToggleButton.rbw +0 -49
- data/samples/bigdemo/wxToolBar.rbw +0 -131
- data/samples/bigdemo/wxTreeCtrl.rbw +0 -191
- data/samples/caret/caret.rb +0 -298
- data/samples/caret/mondrian.xpm +0 -44
- data/samples/controls/books.rb +0 -189
- data/samples/controls/choice.xpm +0 -27
- data/samples/controls/combo.xpm +0 -27
- data/samples/controls/controls.rb +0 -1099
- data/samples/controls/gauge.xpm +0 -27
- data/samples/controls/list.xpm +0 -27
- data/samples/controls/mondrian.ico +0 -0
- data/samples/controls/mondrian.xpm +0 -44
- data/samples/controls/radio.xpm +0 -27
- data/samples/controls/stattext.xpm +0 -24
- data/samples/controls/test2.bmp +0 -0
- data/samples/controls/text.xpm +0 -27
- data/samples/controls/tn_books.png +0 -0
- data/samples/controls/tn_controls.png +0 -0
- data/samples/etc/choice.rb +0 -87
- data/samples/etc/tn_choice.png +0 -0
- data/samples/text/mondrian.ico +0 -0
- data/samples/text/mondrian.xpm +0 -44
- /data/samples/{caret → etc}/tn_caret.png +0 -0
@@ -7,12 +7,13 @@
|
|
7
7
|
module Wx::STC
|
8
8
|
|
9
9
|
# A wxWidgets implementation of the Scintilla source code editing component.
|
10
|
+
#
|
10
11
|
# As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips.
|
11
12
|
# The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts.
|
12
13
|
# {Wx::STC::StyledTextCtrl} is a 1 to 1 mapping of "raw" scintilla interface, whose documentation can be found in the Scintilla website (http://www.scintilla.org/).
|
13
14
|
# Please see {Wx::STC::StyledTextEvent} for the documentation of all event types you can use with {Wx::STC::StyledTextCtrl}.
|
14
15
|
#
|
15
|
-
#
|
16
|
+
# ## Index of the member groups
|
16
17
|
#
|
17
18
|
# Links for quick access to the various categories of {Wx::STC::StyledTextCtrl} functions:
|
18
19
|
#
|
@@ -65,12 +66,11 @@ module Wx::STC
|
|
65
66
|
# - Text entry methods
|
66
67
|
# - Text area methods
|
67
68
|
#
|
68
|
-
# ===
|
69
|
-
#
|
70
69
|
# Category: Scintilla Text Editor
|
71
70
|
# @see Wx::STC::StyledTextEvent
|
72
71
|
#
|
73
72
|
#
|
73
|
+
# @wxrb_require USE_STC
|
74
74
|
class StyledTextCtrl < Control
|
75
75
|
|
76
76
|
include Wx::TextEntry
|
@@ -90,6 +90,7 @@ module Wx::STC
|
|
90
90
|
def initialize(*args) end
|
91
91
|
|
92
92
|
# Create the UI elements for a STC that was created with the default ctor.
|
93
|
+
#
|
93
94
|
# (For 2-phase create.)
|
94
95
|
# @param parent [Wx::Window]
|
95
96
|
# @param id [Integer]
|
@@ -207,9 +208,14 @@ module Wx::STC
|
|
207
208
|
def allocate_extended_styles(numberStyles) end
|
208
209
|
|
209
210
|
# Find some text in the document.
|
211
|
+
#
|
210
212
|
# The position (starting from zero) in the document at which the text was found or {Wx::STC::STC_INVALID_POSITION} if the search fails.
|
211
213
|
#
|
212
|
-
#
|
214
|
+
# <div class="wxrb-remark">
|
215
|
+
# <b>Remark:</b>
|
216
|
+
# <p>A backwards search can be performed by setting minPos to be greater than maxPos.
|
217
|
+
# </p>
|
218
|
+
# </div>
|
213
219
|
# @param minPos [Integer] The position (starting from zero) in the document at which to begin the search
|
214
220
|
# @param maxPos [Integer] The last position (starting from zero) in the document to which the search will be restricted.
|
215
221
|
# @param text [String] The text to search for.
|
@@ -259,24 +265,28 @@ module Wx::STC
|
|
259
265
|
def target_whole_document; end
|
260
266
|
|
261
267
|
# Replace the target text with the argument text.
|
268
|
+
#
|
262
269
|
# Text is counted so it can contain NULs. Returns the length of the replacement text.
|
263
270
|
# @param text [String]
|
264
271
|
# @return [Integer]
|
265
272
|
def replace_target(text) end
|
266
273
|
|
267
274
|
# Replace the target text with the argument text after \d processing.
|
275
|
+
#
|
268
276
|
# Text is counted so it can contain NULs. Looks for \d where d is between 1 and 9 and replaces these with the strings matched in the last search operation which were surrounded by \( and \). Returns the length of the replacement text including any change caused by processing the \d patterns.
|
269
277
|
# @param text [String]
|
270
278
|
# @return [Integer]
|
271
279
|
def replace_target_re(text) end
|
272
280
|
|
273
281
|
# Search for a counted string in the target and set the target to the found range.
|
282
|
+
#
|
274
283
|
# Text is counted so it can contain NULs. Returns length of range or -1 for failure in which case target is not moved.
|
275
284
|
# @param text [String]
|
276
285
|
# @return [Integer]
|
277
286
|
def search_in_target(text) end
|
278
287
|
|
279
288
|
# Set the search flags used by SearchInTarget.
|
289
|
+
#
|
280
290
|
# The input should be a bit list containing one or more of the wxSTC_FIND_* constants.
|
281
291
|
# @param searchFlags [Integer]
|
282
292
|
# @return [void]
|
@@ -284,6 +294,7 @@ module Wx::STC
|
|
284
294
|
alias_method :search_flags=, :set_search_flags
|
285
295
|
|
286
296
|
# Get the search flags used by SearchInTarget.
|
297
|
+
#
|
287
298
|
# The return value will be a bit list containing one or more of the wxSTC_FIND_* constants.
|
288
299
|
# @return [Integer]
|
289
300
|
def get_search_flags; end
|
@@ -300,6 +311,7 @@ module Wx::STC
|
|
300
311
|
def search_anchor; end
|
301
312
|
|
302
313
|
# Find some text starting at the search anchor.
|
314
|
+
#
|
303
315
|
# Does not ensure the selection is visible.
|
304
316
|
# @param searchFlags [Integer]
|
305
317
|
# @param text [String]
|
@@ -307,6 +319,7 @@ module Wx::STC
|
|
307
319
|
def search_next(searchFlags, text) end
|
308
320
|
|
309
321
|
# Find some text starting at the search anchor and moving backwards.
|
322
|
+
#
|
310
323
|
# Does not ensure the selection is visible.
|
311
324
|
# @param searchFlags [Integer]
|
312
325
|
# @param text [String]
|
@@ -346,6 +359,7 @@ module Wx::STC
|
|
346
359
|
def clear; end
|
347
360
|
|
348
361
|
# Copy a range of text to the clipboard.
|
362
|
+
#
|
349
363
|
# Positions are clipped into the document.
|
350
364
|
# @param start [Integer]
|
351
365
|
# @param end_ [Integer]
|
@@ -374,6 +388,7 @@ module Wx::STC
|
|
374
388
|
def copy_allow_line; end
|
375
389
|
|
376
390
|
# Change error status - 0 = OK.
|
391
|
+
#
|
377
392
|
# The input should be one of the wxSTC_STATUS_* constants.
|
378
393
|
# @param status [Integer]
|
379
394
|
# @return [void]
|
@@ -381,6 +396,7 @@ module Wx::STC
|
|
381
396
|
alias_method :status=, :set_status
|
382
397
|
|
383
398
|
# Get error status.
|
399
|
+
#
|
384
400
|
# The return value will be one of the wxSTC_STATUS_* constants.
|
385
401
|
# @return [Integer]
|
386
402
|
def get_status; end
|
@@ -407,6 +423,7 @@ module Wx::STC
|
|
407
423
|
alias_method :undo_collection, :get_undo_collection
|
408
424
|
|
409
425
|
# Start a sequence of actions that is undone and redone as a unit.
|
426
|
+
#
|
410
427
|
# May be nested.
|
411
428
|
# @return [void]
|
412
429
|
def begin_undo_action; end
|
@@ -429,6 +446,7 @@ module Wx::STC
|
|
429
446
|
def undo; end
|
430
447
|
|
431
448
|
# Add a container action to the undo stack.
|
449
|
+
#
|
432
450
|
# The flags argument can be either 0 or {Wx::STC::STC_UNDO_MAY_COALESCE}.
|
433
451
|
# @param token [Integer]
|
434
452
|
# @param flags [Integer]
|
@@ -476,6 +494,7 @@ module Wx::STC
|
|
476
494
|
def goto_pos(caret) end
|
477
495
|
|
478
496
|
# Set the selection anchor to a position.
|
497
|
+
#
|
479
498
|
# The anchor is the opposite end of the selection from the caret.
|
480
499
|
# @param anchor [Integer]
|
481
500
|
# @return [void]
|
@@ -483,6 +502,7 @@ module Wx::STC
|
|
483
502
|
alias_method :anchor=, :set_anchor
|
484
503
|
|
485
504
|
# Retrieve the text of the line containing the caret.
|
505
|
+
#
|
486
506
|
# linePos can optionally be passed in to receive the index of the caret on the line.
|
487
507
|
# @return [Array(String,Integer)]
|
488
508
|
def get_cur_line; end
|
@@ -541,6 +561,7 @@ module Wx::STC
|
|
541
561
|
alias_method :empty_selection=, :set_empty_selection
|
542
562
|
|
543
563
|
# Returns the number of lines in the document.
|
564
|
+
#
|
544
565
|
# There is always at least one.
|
545
566
|
# @return [Integer]
|
546
567
|
def get_line_count; end
|
@@ -582,6 +603,7 @@ module Wx::STC
|
|
582
603
|
alias_method :text_length, :get_text_length
|
583
604
|
|
584
605
|
# Measure the pixel width of some text in a particular style.
|
606
|
+
#
|
585
607
|
# Does not handle tab or control characters.
|
586
608
|
# @param style [Integer]
|
587
609
|
# @param text [String]
|
@@ -615,18 +637,21 @@ module Wx::STC
|
|
615
637
|
def choose_caret_x; end
|
616
638
|
|
617
639
|
# Given a valid document position, return the previous position taking code page into account.
|
640
|
+
#
|
618
641
|
# Returns 0 if passed 0.
|
619
642
|
# @param pos [Integer]
|
620
643
|
# @return [Integer]
|
621
644
|
def position_before(pos) end
|
622
645
|
|
623
646
|
# Given a valid document position, return the next position taking code page into account.
|
647
|
+
#
|
624
648
|
# Maximum value returned is the last position in the document.
|
625
649
|
# @param pos [Integer]
|
626
650
|
# @return [Integer]
|
627
651
|
def position_after(pos) end
|
628
652
|
|
629
653
|
# Given a valid document position, return a position that differs in a number of characters.
|
654
|
+
#
|
630
655
|
# Returned value is always between 0 and last position in document.
|
631
656
|
# @param pos [Integer]
|
632
657
|
# @param relative [Integer]
|
@@ -640,6 +665,7 @@ module Wx::STC
|
|
640
665
|
alias_method :selection_mode=, :set_selection_mode
|
641
666
|
|
642
667
|
# Get the mode of the current selection.
|
668
|
+
#
|
643
669
|
# The return value will be one of the wxSTC_SEL_* constants.
|
644
670
|
# @return [Integer]
|
645
671
|
def get_selection_mode; end
|
@@ -658,6 +684,7 @@ module Wx::STC
|
|
658
684
|
alias_method :line_sel_end_position, :get_line_sel_end_position
|
659
685
|
|
660
686
|
# Find the position of a column on a line taking into account tabs and multi-byte characters.
|
687
|
+
#
|
661
688
|
# If beyond end of line, return line end position.
|
662
689
|
# @param line [Integer]
|
663
690
|
# @param column [Integer]
|
@@ -671,6 +698,7 @@ module Wx::STC
|
|
671
698
|
def char_position_from_point(x, y) end
|
672
699
|
|
673
700
|
# Find the position of a character from a point within the window.
|
701
|
+
#
|
674
702
|
# Return {Wx::STC::STC_INVALID_POSITION} if not close to text.
|
675
703
|
# @param x [Integer]
|
676
704
|
# @param y [Integer]
|
@@ -697,6 +725,7 @@ module Wx::STC
|
|
697
725
|
def move_selected_lines_down; end
|
698
726
|
|
699
727
|
# Change the effect of pasting when there are multiple selections.
|
728
|
+
#
|
700
729
|
# The input should be one of the wxSTC_MULTIPASTE_* constants.
|
701
730
|
# @param multiPaste [Integer]
|
702
731
|
# @return [void]
|
@@ -704,6 +733,7 @@ module Wx::STC
|
|
704
733
|
alias_method :multi_paste=, :set_multi_paste
|
705
734
|
|
706
735
|
# Retrieve the effect of pasting when there are multiple selections.
|
736
|
+
#
|
707
737
|
# The return value will be one of the wxSTC_MULTIPASTE_* constants.
|
708
738
|
# @return [Integer]
|
709
739
|
def get_multi_paste; end
|
@@ -906,6 +936,7 @@ module Wx::STC
|
|
906
936
|
alias_method :rectangular_selection_anchor_virtual_space, :get_rectangular_selection_anchor_virtual_space
|
907
937
|
|
908
938
|
# Set options for virtual space behaviour.
|
939
|
+
#
|
909
940
|
# The input should be one of the wxSTC_VS_* constants.
|
910
941
|
# @param virtualSpaceOptions [Integer]
|
911
942
|
# @return [void]
|
@@ -913,12 +944,14 @@ module Wx::STC
|
|
913
944
|
alias_method :virtual_space_options=, :set_virtual_space_options
|
914
945
|
|
915
946
|
# Return options for virtual space behaviour.
|
947
|
+
#
|
916
948
|
# The return value will be one of the wxSTC_VS_* constants.
|
917
949
|
# @return [Integer]
|
918
950
|
def get_virtual_space_options; end
|
919
951
|
alias_method :virtual_space_options, :get_virtual_space_options
|
920
952
|
|
921
953
|
# On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection.
|
954
|
+
#
|
922
955
|
# Often the window manager requires Alt+Mouse Drag for moving windows. Valid values are {Wx::STC::STC_KEYMOD_CTRL} (default), {Wx::STC::STC_KEYMOD_ALT}, or {Wx::STC::STC_KEYMOD_SUPER}.
|
923
956
|
# @param modifier [Integer]
|
924
957
|
# @return [void]
|
@@ -926,12 +959,14 @@ module Wx::STC
|
|
926
959
|
alias_method :rectangular_selection_modifier=, :set_rectangular_selection_modifier
|
927
960
|
|
928
961
|
# Get the modifier key used for rectangular selection.
|
962
|
+
#
|
929
963
|
# The return value will be a bit list containing one or more of the wxSTC_KEYMOD_* constants.
|
930
964
|
# @return [Integer]
|
931
965
|
def get_rectangular_selection_modifier; end
|
932
966
|
alias_method :rectangular_selection_modifier, :get_rectangular_selection_modifier
|
933
967
|
|
934
968
|
# Set the foreground colour of additional selections.
|
969
|
+
#
|
935
970
|
# Must have previously called SetSelFore with non-zero first argument for this to have an effect.
|
936
971
|
# @param fore [Wx::Colour,String,Symbol]
|
937
972
|
# @return [void]
|
@@ -939,6 +974,7 @@ module Wx::STC
|
|
939
974
|
alias_method :additional_sel_foreground=, :set_additional_sel_foreground
|
940
975
|
|
941
976
|
# Set the background colour of additional selections.
|
977
|
+
#
|
942
978
|
# Must have previously called SetSelBack with non-zero first argument for this to have an effect.
|
943
979
|
# @param back [Wx::Colour,String,Symbol]
|
944
980
|
# @return [void]
|
@@ -976,11 +1012,13 @@ module Wx::STC
|
|
976
1012
|
def swap_main_anchor_caret; end
|
977
1013
|
|
978
1014
|
# Add the next occurrence of the main selection to the set of selections as main.
|
1015
|
+
#
|
979
1016
|
# If the current selection is empty then select word around caret.
|
980
1017
|
# @return [void]
|
981
1018
|
def multiple_select_add_next; end
|
982
1019
|
|
983
1020
|
# Add each occurrence of the main selection in the target to the set of selections.
|
1021
|
+
#
|
984
1022
|
# If the current selection is empty then select word around caret.
|
985
1023
|
# @return [void]
|
986
1024
|
def multiple_select_add_each; end
|
@@ -1012,6 +1050,7 @@ module Wx::STC
|
|
1012
1050
|
def ensure_caret_visible; end
|
1013
1051
|
|
1014
1052
|
# Scroll the argument positions and the range between them into view giving priority to the primary position then the secondary position.
|
1053
|
+
#
|
1015
1054
|
# This may be used to make a search match visible.
|
1016
1055
|
# @param secondary [Integer]
|
1017
1056
|
# @param primary [Integer]
|
@@ -1041,6 +1080,7 @@ module Wx::STC
|
|
1041
1080
|
alias_method :scroll_width_tracking, :get_scroll_width_tracking
|
1042
1081
|
|
1043
1082
|
# Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default).
|
1083
|
+
#
|
1044
1084
|
# Setting this to false allows scrolling one page below the last line.
|
1045
1085
|
# @param endAtLastLine [Boolean]
|
1046
1086
|
# @return [void]
|
@@ -1070,6 +1110,7 @@ module Wx::STC
|
|
1070
1110
|
alias_method :first_visible_line=, :set_first_visible_line
|
1071
1111
|
|
1072
1112
|
# Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.
|
1113
|
+
#
|
1073
1114
|
# The first argument should be a bit list containing one or more of the wxSTC_VISIBLE_* constants.
|
1074
1115
|
# @param visiblePolicy [Integer]
|
1075
1116
|
# @param visibleSlop [Integer]
|
@@ -1088,6 +1129,7 @@ module Wx::STC
|
|
1088
1129
|
alias_method :x_offset, :get_x_offset
|
1089
1130
|
|
1090
1131
|
# Set the way the caret is kept visible when going sideways.
|
1132
|
+
#
|
1091
1133
|
# The exclusion zone is given in pixels.
|
1092
1134
|
# The first argument should be a bit list containing one or more of the wxSTC_CARET_* constants.
|
1093
1135
|
# @param caretPolicy [Integer]
|
@@ -1096,6 +1138,7 @@ module Wx::STC
|
|
1096
1138
|
def set_x_caret_policy(caretPolicy, caretSlop) end
|
1097
1139
|
|
1098
1140
|
# Set the way the line the caret is on is kept visible.
|
1141
|
+
#
|
1099
1142
|
# The exclusion zone is given in lines.
|
1100
1143
|
# The first argument should be a bit list containing one or more of the wxSTC_CARET_* constants.
|
1101
1144
|
# @param caretPolicy [Integer]
|
@@ -1109,6 +1152,7 @@ module Wx::STC
|
|
1109
1152
|
alias_method :view_white_space, :get_view_white_space
|
1110
1153
|
|
1111
1154
|
# Make white space characters invisible, always visible or visible outside indentation.
|
1155
|
+
#
|
1112
1156
|
# The input should be one of the wxSTC_WS_* constants.
|
1113
1157
|
# @param viewWS [Integer]
|
1114
1158
|
# @return [void]
|
@@ -1116,12 +1160,14 @@ module Wx::STC
|
|
1116
1160
|
alias_method :view_white_space=, :set_view_white_space
|
1117
1161
|
|
1118
1162
|
# Retrieve the current tab draw mode.
|
1163
|
+
#
|
1119
1164
|
# Returns one of {Wx::STC_TD_}* constants.
|
1120
1165
|
# @return [Integer]
|
1121
1166
|
def get_tab_draw_mode; end
|
1122
1167
|
alias_method :tab_draw_mode, :get_tab_draw_mode
|
1123
1168
|
|
1124
1169
|
# Set how tabs are drawn when visible.
|
1170
|
+
#
|
1125
1171
|
# The input should be one of the wxSTC_TD_* constants.
|
1126
1172
|
# @param tabDrawMode [Integer]
|
1127
1173
|
# @return [void]
|
@@ -1180,6 +1226,7 @@ module Wx::STC
|
|
1180
1226
|
alias_method :stc_cursor=, :set_stc_cursor
|
1181
1227
|
|
1182
1228
|
# Get cursor type.
|
1229
|
+
#
|
1183
1230
|
# The return value will be one of the wxSTC_CURSOR* constants.
|
1184
1231
|
# @return [Integer]
|
1185
1232
|
def get_stc_cursor; end
|
@@ -1218,6 +1265,7 @@ module Wx::STC
|
|
1218
1265
|
alias_method :eol_mode, :get_eol_mode
|
1219
1266
|
|
1220
1267
|
# Set the current end of line mode.
|
1268
|
+
#
|
1221
1269
|
# The input should be one of the wxSTC_EOL_* constants.
|
1222
1270
|
# @param eolMode [Integer]
|
1223
1271
|
# @return [void]
|
@@ -1236,6 +1284,7 @@ module Wx::STC
|
|
1236
1284
|
alias_method :view_eol=, :set_view_eol
|
1237
1285
|
|
1238
1286
|
# Set the line end types that the application wants to use.
|
1287
|
+
#
|
1239
1288
|
# May not be used if incompatible with lexer or encoding.
|
1240
1289
|
# The input should be one of the wxSTC_LINE_END_TYPE_* constants.
|
1241
1290
|
# @param lineEndBitSet [Integer]
|
@@ -1244,12 +1293,14 @@ module Wx::STC
|
|
1244
1293
|
alias_method :line_end_types_allowed=, :set_line_end_types_allowed
|
1245
1294
|
|
1246
1295
|
# Get the line end types currently allowed.
|
1296
|
+
#
|
1247
1297
|
# The return value will be one of the wxSTC_LINE_END_TYPE_* constants.
|
1248
1298
|
# @return [Integer]
|
1249
1299
|
def get_line_end_types_allowed; end
|
1250
1300
|
alias_method :line_end_types_allowed, :get_line_end_types_allowed
|
1251
1301
|
|
1252
1302
|
# Get the line end types currently recognised.
|
1303
|
+
#
|
1253
1304
|
# May be a subset of the allowed types due to lexer limitation.
|
1254
1305
|
# The return value will be one of the wxSTC_LINE_END_TYPE_* constants.
|
1255
1306
|
# @return [Integer]
|
@@ -1257,12 +1308,14 @@ module Wx::STC
|
|
1257
1308
|
alias_method :line_end_types_active, :get_line_end_types_active
|
1258
1309
|
|
1259
1310
|
# Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer.
|
1311
|
+
#
|
1260
1312
|
# The return value will be a bit list containing one or more of the wxSTC_LINE_END_TYPE_* constants.
|
1261
1313
|
# @return [Integer]
|
1262
1314
|
def get_line_end_types_supported; end
|
1263
1315
|
alias_method :line_end_types_supported, :get_line_end_types_supported
|
1264
1316
|
|
1265
1317
|
# Set the set of characters making up words for when moving or selecting by word.
|
1318
|
+
#
|
1266
1319
|
# First sets defaults like SetCharsDefault.
|
1267
1320
|
# @param characters [String]
|
1268
1321
|
# @return [void]
|
@@ -1294,6 +1347,7 @@ module Wx::STC
|
|
1294
1347
|
alias_method :range_word?, :is_range_word
|
1295
1348
|
|
1296
1349
|
# Set the set of characters making up whitespace for when moving or selecting by word.
|
1350
|
+
#
|
1297
1351
|
# Should be called after SetWordChars.
|
1298
1352
|
# @param characters [String]
|
1299
1353
|
# @return [void]
|
@@ -1354,6 +1408,7 @@ module Wx::STC
|
|
1354
1408
|
alias_method :max_line_state, :get_max_line_state
|
1355
1409
|
|
1356
1410
|
# Sets limits to idle styling.
|
1411
|
+
#
|
1357
1412
|
# The input should be one of the wxSTC_IDLESTYLING_* constants.
|
1358
1413
|
# @param idleStyling [Integer]
|
1359
1414
|
# @return [void]
|
@@ -1361,6 +1416,7 @@ module Wx::STC
|
|
1361
1416
|
alias_method :idle_styling=, :set_idle_styling
|
1362
1417
|
|
1363
1418
|
# Retrieve the limits to idle styling.
|
1419
|
+
#
|
1364
1420
|
# The return value will be one of the wxSTC_IDLESTYLING_* constants.
|
1365
1421
|
# @return [Integer]
|
1366
1422
|
def get_idle_styling; end
|
@@ -1463,6 +1519,7 @@ module Wx::STC
|
|
1463
1519
|
def style_get_underline(style) end
|
1464
1520
|
|
1465
1521
|
# Get is a style mixed case, or to force upper or lower case.
|
1522
|
+
#
|
1466
1523
|
# The return value will be one of the wxSTC_CASE_* constants.
|
1467
1524
|
# @param style [Integer]
|
1468
1525
|
# @return [Integer]
|
@@ -1479,6 +1536,7 @@ module Wx::STC
|
|
1479
1536
|
def style_get_visible(style) end
|
1480
1537
|
|
1481
1538
|
# Get is a style changeable or not (read only).
|
1539
|
+
#
|
1482
1540
|
# Experimental feature, currently buggy.
|
1483
1541
|
# @param style [Integer]
|
1484
1542
|
# @return [Boolean]
|
@@ -1490,6 +1548,7 @@ module Wx::STC
|
|
1490
1548
|
def style_get_hot_spot(style) end
|
1491
1549
|
|
1492
1550
|
# Set a style to be mixed case, or to force upper or lower case.
|
1551
|
+
#
|
1493
1552
|
# The second argument should be one of the wxSTC_CASE_* constants.
|
1494
1553
|
# @param style [Integer]
|
1495
1554
|
# @param caseVisible [Integer]
|
@@ -1497,6 +1556,7 @@ module Wx::STC
|
|
1497
1556
|
def style_set_case(style, caseVisible) end
|
1498
1557
|
|
1499
1558
|
# Set the size of characters of a style.
|
1559
|
+
#
|
1500
1560
|
# Size is in points multiplied by 100.
|
1501
1561
|
# @param style [Integer]
|
1502
1562
|
# @param sizeHundredthPoints [Integer]
|
@@ -1509,6 +1569,7 @@ module Wx::STC
|
|
1509
1569
|
def style_get_size_fractional(style) end
|
1510
1570
|
|
1511
1571
|
# Set the weight of characters of a style.
|
1572
|
+
#
|
1512
1573
|
# The second argument can be an integer or one of the wxSTC_WEIGHT_* constants.
|
1513
1574
|
# @param style [Integer]
|
1514
1575
|
# @param weight [Integer]
|
@@ -1516,12 +1577,14 @@ module Wx::STC
|
|
1516
1577
|
def style_set_weight(style, weight) end
|
1517
1578
|
|
1518
1579
|
# Get the weight of characters of a style.
|
1580
|
+
#
|
1519
1581
|
# The return value will be an integer that is possibly one of the wxSTC_WEIGHT_* constants.
|
1520
1582
|
# @param style [Integer]
|
1521
1583
|
# @return [Integer]
|
1522
1584
|
def style_get_weight(style) end
|
1523
1585
|
|
1524
1586
|
# Set the character set of the font in a style.
|
1587
|
+
#
|
1525
1588
|
# Converts the Scintilla character set values to a {Wx::FontEncoding}.
|
1526
1589
|
# @param style [Integer]
|
1527
1590
|
# @param characterSet [Integer]
|
@@ -1541,6 +1604,7 @@ module Wx::STC
|
|
1541
1604
|
def style_set_visible(style, visible) end
|
1542
1605
|
|
1543
1606
|
# Set a style to be changeable or not (read only).
|
1607
|
+
#
|
1544
1608
|
# Experimental feature, currently buggy.
|
1545
1609
|
# @param style [Integer]
|
1546
1610
|
# @param changeable [Boolean]
|
@@ -1593,6 +1657,7 @@ module Wx::STC
|
|
1593
1657
|
alias_method :caret_period, :get_caret_period
|
1594
1658
|
|
1595
1659
|
# Get the time in milliseconds that the caret is on and off.
|
1660
|
+
#
|
1596
1661
|
# 0 = steady on.
|
1597
1662
|
# @param periodMilliseconds [Integer]
|
1598
1663
|
# @return [void]
|
@@ -1682,12 +1747,14 @@ module Wx::STC
|
|
1682
1747
|
alias_method :hotspot_single_line, :get_hotspot_single_line
|
1683
1748
|
|
1684
1749
|
# Can the caret preferred x position only be changed by explicit movement commands?
|
1750
|
+
#
|
1685
1751
|
# The return value will be one of the wxSTC_CARETSTICKY_* constants.
|
1686
1752
|
# @return [Integer]
|
1687
1753
|
def get_caret_sticky; end
|
1688
1754
|
alias_method :caret_sticky, :get_caret_sticky
|
1689
1755
|
|
1690
1756
|
# Stop the caret preferred x position changing when the user types.
|
1757
|
+
#
|
1691
1758
|
# The input should be one of the wxSTC_CARETSTICKY_* constants.
|
1692
1759
|
# @param useCaretStickyBehaviour [Integer]
|
1693
1760
|
# @return [void]
|
@@ -1710,6 +1777,7 @@ module Wx::STC
|
|
1710
1777
|
alias_method :caret_line_back_alpha, :get_caret_line_back_alpha
|
1711
1778
|
|
1712
1779
|
# Set the style of the caret to be drawn.
|
1780
|
+
#
|
1713
1781
|
# The input should be one of the wxSTC_CARETSTYLE_* constants.
|
1714
1782
|
# @param caretStyle [Integer]
|
1715
1783
|
# @return [void]
|
@@ -1717,6 +1785,7 @@ module Wx::STC
|
|
1717
1785
|
alias_method :caret_style=, :set_caret_style
|
1718
1786
|
|
1719
1787
|
# Returns the current style of the caret.
|
1788
|
+
#
|
1720
1789
|
# The return value will be one of the wxSTC_CARETSTYLE_* constants.
|
1721
1790
|
# @return [Integer]
|
1722
1791
|
def get_caret_style; end
|
@@ -1762,6 +1831,7 @@ module Wx::STC
|
|
1762
1831
|
def clear_representation(encodedCharacter) end
|
1763
1832
|
|
1764
1833
|
# Set a margin to be either numeric or symbolic.
|
1834
|
+
#
|
1765
1835
|
# The second argument should be one of the wxSTC_MARGIN_* constants.
|
1766
1836
|
# @param margin [Integer]
|
1767
1837
|
# @param marginType [Integer]
|
@@ -1769,6 +1839,7 @@ module Wx::STC
|
|
1769
1839
|
def set_margin_type(margin, marginType) end
|
1770
1840
|
|
1771
1841
|
# Retrieve the type of a margin.
|
1842
|
+
#
|
1772
1843
|
# The return value will be one of the wxSTC_MARGIN_* constants.
|
1773
1844
|
# @param margin [Integer]
|
1774
1845
|
# @return [Integer]
|
@@ -1812,6 +1883,7 @@ module Wx::STC
|
|
1812
1883
|
alias_method :margin_sensitive, :get_margin_sensitive
|
1813
1884
|
|
1814
1885
|
# Set the cursor shown when the mouse is inside a margin.
|
1886
|
+
#
|
1815
1887
|
# The second argument should be one of the wxSTC_CURSOR* constants.
|
1816
1888
|
# @param margin [Integer]
|
1817
1889
|
# @param cursor [Integer]
|
@@ -1819,6 +1891,7 @@ module Wx::STC
|
|
1819
1891
|
def set_margin_cursor(margin, cursor) end
|
1820
1892
|
|
1821
1893
|
# Retrieve the cursor shown in a margin.
|
1894
|
+
#
|
1822
1895
|
# The return value will be one of the wxSTC_CURSOR* constants.
|
1823
1896
|
# @param margin [Integer]
|
1824
1897
|
# @return [Integer]
|
@@ -1826,6 +1899,7 @@ module Wx::STC
|
|
1826
1899
|
alias_method :margin_cursor, :get_margin_cursor
|
1827
1900
|
|
1828
1901
|
# Set the background colour of a margin.
|
1902
|
+
#
|
1829
1903
|
# Only visible for {Wx::STC::STC_MARGIN_COLOUR}.
|
1830
1904
|
# @param margin [Integer]
|
1831
1905
|
# @param back [Wx::Colour,String,Symbol]
|
@@ -1930,6 +2004,7 @@ module Wx::STC
|
|
1930
2004
|
def margin_get_style_offset; end
|
1931
2005
|
|
1932
2006
|
# Set the margin options.
|
2007
|
+
#
|
1933
2008
|
# The input should be one of the wxSTC_MARGINOPTION_* constants.
|
1934
2009
|
# @param marginOptions [Integer]
|
1935
2010
|
# @return [void]
|
@@ -1937,6 +2012,7 @@ module Wx::STC
|
|
1937
2012
|
alias_method :margin_options=, :set_margin_options
|
1938
2013
|
|
1939
2014
|
# Get the margin options.
|
2015
|
+
#
|
1940
2016
|
# The return value will be one of the wxSTC_MARGINOPTION_* constants.
|
1941
2017
|
# @return [Integer]
|
1942
2018
|
def get_margin_options; end
|
@@ -1985,12 +2061,14 @@ module Wx::STC
|
|
1985
2061
|
def annotation_clear_all; end
|
1986
2062
|
|
1987
2063
|
# Set the visibility for the annotations for a view.
|
2064
|
+
#
|
1988
2065
|
# The input should be one of the wxSTC_ANNOTATION_* constants.
|
1989
2066
|
# @param visible [Integer]
|
1990
2067
|
# @return [void]
|
1991
2068
|
def annotation_set_visible(visible) end
|
1992
2069
|
|
1993
2070
|
# Get the visibility for the annotations for a view.
|
2071
|
+
#
|
1994
2072
|
# The return value will be one of the wxSTC_ANNOTATION_* constants.
|
1995
2073
|
# @return [Integer]
|
1996
2074
|
def annotation_get_visible; end
|
@@ -2022,12 +2100,14 @@ module Wx::STC
|
|
2022
2100
|
alias_method :code_page=, :set_code_page
|
2023
2101
|
|
2024
2102
|
# Is the IME displayed in a window or inline?
|
2103
|
+
#
|
2025
2104
|
# The return value will be one of the wxSTC_IME_* constants.
|
2026
2105
|
# @return [Integer]
|
2027
2106
|
def get_ime_interaction; end
|
2028
2107
|
alias_method :ime_interaction, :get_ime_interaction
|
2029
2108
|
|
2030
2109
|
# Choose to display the IME in a winow or inline.
|
2110
|
+
#
|
2031
2111
|
# The input should be one of the wxSTC_IME_* constants.
|
2032
2112
|
# @param imeInteraction [Integer]
|
2033
2113
|
# @return [void]
|
@@ -2040,6 +2120,7 @@ module Wx::STC
|
|
2040
2120
|
alias_method :code_page, :get_code_page
|
2041
2121
|
|
2042
2122
|
# Sets the degree of caching of layout information.
|
2123
|
+
#
|
2043
2124
|
# The input should be one of the wxSTC_CACHE_* constants.
|
2044
2125
|
# @param cacheMode [Integer]
|
2045
2126
|
# @return [void]
|
@@ -2052,6 +2133,7 @@ module Wx::STC
|
|
2052
2133
|
alias_method :two_phase_draw, :get_two_phase_draw
|
2053
2134
|
|
2054
2135
|
# In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground.
|
2136
|
+
#
|
2055
2137
|
# This avoids chopping off characters that overlap the next run.
|
2056
2138
|
# @param twoPhase [Boolean]
|
2057
2139
|
# @return [void]
|
@@ -2059,12 +2141,14 @@ module Wx::STC
|
|
2059
2141
|
alias_method :two_phase_draw=, :set_two_phase_draw
|
2060
2142
|
|
2061
2143
|
# How many phases is drawing done in?
|
2144
|
+
#
|
2062
2145
|
# The return value will be one of the wxSTC_PHASES_* constants.
|
2063
2146
|
# @return [Integer]
|
2064
2147
|
def get_phases_draw; end
|
2065
2148
|
alias_method :phases_draw, :get_phases_draw
|
2066
2149
|
|
2067
2150
|
# In one phase draw, text is drawn in a series of rectangular blocks with no overlap.
|
2151
|
+
#
|
2068
2152
|
# In two phase draw, text is drawn in a series of lines allowing runs to overlap horizontally. In multiple phase draw, each element is drawn over the whole drawing area, allowing text to overlap from one line to the next.
|
2069
2153
|
# The input should be one of the wxSTC_PHASES_* constants.
|
2070
2154
|
# @param phases [Integer]
|
@@ -2073,13 +2157,20 @@ module Wx::STC
|
|
2073
2157
|
alias_method :phases_draw=, :set_phases_draw
|
2074
2158
|
|
2075
2159
|
# Choose the quality level for text.
|
2076
|
-
#
|
2160
|
+
#
|
2161
|
+
# The input should be one of the wxSTC_EFF_QUALITY_* constants.
|
2162
|
+
# <div class="wxrb-remark">
|
2163
|
+
# <b>Remark:</b>
|
2164
|
+
# <p>This method only has any effect with the WXMSW port and when technology has been set to {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}.
|
2165
|
+
# </p>
|
2166
|
+
# </div>
|
2077
2167
|
# @param fontQuality [Integer]
|
2078
2168
|
# @return [void]
|
2079
2169
|
def set_font_quality(fontQuality) end
|
2080
2170
|
alias_method :font_quality=, :set_font_quality
|
2081
2171
|
|
2082
2172
|
# Retrieve the quality level for text.
|
2173
|
+
#
|
2083
2174
|
# The return value will be one of the wxSTC_EFF_QUALITY_* constants.
|
2084
2175
|
# @return [Integer]
|
2085
2176
|
def get_font_quality; end
|
@@ -2097,13 +2188,19 @@ module Wx::STC
|
|
2097
2188
|
alias_method :stc_focus, :get_stc_focus
|
2098
2189
|
|
2099
2190
|
# Set the technology used.
|
2100
|
-
#
|
2191
|
+
#
|
2192
|
+
# <div class="wxrb-remark">
|
2193
|
+
# <b>Remark:</b>
|
2194
|
+
# <p>For the WXMSW port, the input can be either {Wx::STC::STC_TECHNOLOGY_DEFAULT} or {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}. With other ports, this method has no effect.
|
2195
|
+
# </p>
|
2196
|
+
# </div>
|
2101
2197
|
# @param technology [Integer]
|
2102
2198
|
# @return [void]
|
2103
2199
|
def set_technology(technology) end
|
2104
2200
|
alias_method :technology=, :set_technology
|
2105
2201
|
|
2106
2202
|
# Get the tech.
|
2203
|
+
#
|
2107
2204
|
# The return value will be one of the wxSTC_TECHNOLOGY_* constants.
|
2108
2205
|
# @return [Integer]
|
2109
2206
|
def get_technology; end
|
@@ -2133,6 +2230,7 @@ module Wx::STC
|
|
2133
2230
|
def brace_bad_light_indicator(useSetting, indicator) end
|
2134
2231
|
|
2135
2232
|
# Find the position of a matching brace or {Wx::STC::STC_INVALID_POSITION} if no match.
|
2233
|
+
#
|
2136
2234
|
# The maxReStyle must be 0 for now. It may be defined in a future release.
|
2137
2235
|
# @param pos [Integer]
|
2138
2236
|
# @param maxReStyle [Integer]
|
@@ -2209,6 +2307,7 @@ module Wx::STC
|
|
2209
2307
|
alias_method :line_indent_position, :get_line_indent_position
|
2210
2308
|
|
2211
2309
|
# Show or hide indentation guides.
|
2310
|
+
#
|
2212
2311
|
# The input should be one of the wxSTC_IV_* constants.
|
2213
2312
|
# @param indentView [Integer]
|
2214
2313
|
# @return [void]
|
@@ -2216,12 +2315,14 @@ module Wx::STC
|
|
2216
2315
|
alias_method :indentation_guides=, :set_indentation_guides
|
2217
2316
|
|
2218
2317
|
# Are the indentation guides visible?
|
2318
|
+
#
|
2219
2319
|
# The return value will be one of the wxSTC_IV_* constants.
|
2220
2320
|
# @return [Integer]
|
2221
2321
|
def get_indentation_guides; end
|
2222
2322
|
alias_method :indentation_guides, :get_indentation_guides
|
2223
2323
|
|
2224
2324
|
# Set the highlighted indentation guide column.
|
2325
|
+
#
|
2225
2326
|
# 0 = no highlighted guide.
|
2226
2327
|
# @param column [Integer]
|
2227
2328
|
# @return [void]
|
@@ -2266,6 +2367,7 @@ module Wx::STC
|
|
2266
2367
|
def marker_delete_handle(markerHandle) end
|
2267
2368
|
|
2268
2369
|
# Set the symbol used for a particular marker number, and optionally the fore and background colours.
|
2370
|
+
#
|
2269
2371
|
# The second argument should be one of the wxSTC_MARK_* constants.
|
2270
2372
|
# @param markerNumber [Integer]
|
2271
2373
|
# @param markerSymbol [Integer]
|
@@ -2320,6 +2422,7 @@ module Wx::STC
|
|
2320
2422
|
def marker_get(line) end
|
2321
2423
|
|
2322
2424
|
# Find the next line at or after lineStart that includes a marker in mask.
|
2425
|
+
#
|
2323
2426
|
# Return -1 when no more lines.
|
2324
2427
|
# @param lineStart [Integer]
|
2325
2428
|
# @param markerMask [Integer]
|
@@ -2345,6 +2448,7 @@ module Wx::STC
|
|
2345
2448
|
def marker_set_alpha(markerNumber, alpha) end
|
2346
2449
|
|
2347
2450
|
# Which symbol was defined for markerNumber with MarkerDefine.
|
2451
|
+
#
|
2348
2452
|
# The return value will be one of the wxSTC_MARK_* constants.
|
2349
2453
|
# @param markerNumber [Integer]
|
2350
2454
|
# @return [Integer]
|
@@ -2367,6 +2471,7 @@ module Wx::STC
|
|
2367
2471
|
def rgba_image_set_scale(scalePercent) end
|
2368
2472
|
|
2369
2473
|
# Set an indicator to plain, squiggle or TT.
|
2474
|
+
#
|
2370
2475
|
# The second argument should be one of the wxSTC_INDIC_* constants.
|
2371
2476
|
# @param indicator [Integer]
|
2372
2477
|
# @param indicatorStyle [Integer]
|
@@ -2374,6 +2479,7 @@ module Wx::STC
|
|
2374
2479
|
def indicator_set_style(indicator, indicatorStyle) end
|
2375
2480
|
|
2376
2481
|
# Retrieve the style of an indicator.
|
2482
|
+
#
|
2377
2483
|
# The return value will be one of the wxSTC_INDIC_* constants.
|
2378
2484
|
# @param indicator [Integer]
|
2379
2485
|
# @return [Integer]
|
@@ -2424,6 +2530,7 @@ module Wx::STC
|
|
2424
2530
|
def indicator_get_hover_foreground(indicator) end
|
2425
2531
|
|
2426
2532
|
# Set the attributes of an indicator.
|
2533
|
+
#
|
2427
2534
|
# The second argument should be a bit list containing one or more of the wxSTC_INDICFLAG_* constants.
|
2428
2535
|
# @param indicator [Integer]
|
2429
2536
|
# @param flags [Integer]
|
@@ -2431,6 +2538,7 @@ module Wx::STC
|
|
2431
2538
|
def indicator_set_flags(indicator, flags) end
|
2432
2539
|
|
2433
2540
|
# Retrieve the attributes of an indicator.
|
2541
|
+
#
|
2434
2542
|
# The return value will be a bit list containing one or more of the wxSTC_INDICFLAG_* constants.
|
2435
2543
|
# @param indicator [Integer]
|
2436
2544
|
# @return [Integer]
|
@@ -2516,6 +2624,7 @@ module Wx::STC
|
|
2516
2624
|
def indicator_get_outline_alpha(indicator) end
|
2517
2625
|
|
2518
2626
|
# Display an auto-completion list.
|
2627
|
+
#
|
2519
2628
|
# The lengthEntered parameter indicates how many characters before the caret should be used to provide context.
|
2520
2629
|
# @param lengthEntered [Integer]
|
2521
2630
|
# @param itemList [String]
|
@@ -2544,6 +2653,7 @@ module Wx::STC
|
|
2544
2653
|
def auto_comp_stops(characterSet) end
|
2545
2654
|
|
2546
2655
|
# Change the separator character in the string setting up an auto-completion list.
|
2656
|
+
#
|
2547
2657
|
# Default is space but can be changed if items contain space.
|
2548
2658
|
# @param separatorCharacter [Integer]
|
2549
2659
|
# @return [void]
|
@@ -2623,12 +2733,14 @@ module Wx::STC
|
|
2623
2733
|
def auto_comp_get_type_separator; end
|
2624
2734
|
|
2625
2735
|
# Change the type-separator character in the string setting up an auto-completion list.
|
2736
|
+
#
|
2626
2737
|
# Default is '?' but can be changed if items contain '?'.
|
2627
2738
|
# @param separatorCharacter [Integer]
|
2628
2739
|
# @return [void]
|
2629
2740
|
def auto_comp_set_type_separator(separatorCharacter) end
|
2630
2741
|
|
2631
2742
|
# Set the maximum width, in characters, of auto-completion and user lists.
|
2743
|
+
#
|
2632
2744
|
# Set to 0 to autosize to fit longest item, which is the default.
|
2633
2745
|
# @param characterCount [Integer]
|
2634
2746
|
# @return [void]
|
@@ -2639,6 +2751,7 @@ module Wx::STC
|
|
2639
2751
|
def auto_comp_get_max_width; end
|
2640
2752
|
|
2641
2753
|
# Set the maximum height, in rows, of auto-completion and user lists.
|
2754
|
+
#
|
2642
2755
|
# The default is 5 rows.
|
2643
2756
|
# @param rowCount [Integer]
|
2644
2757
|
# @return [void]
|
@@ -2657,34 +2770,40 @@ module Wx::STC
|
|
2657
2770
|
def auto_comp_get_current_text; end
|
2658
2771
|
|
2659
2772
|
# Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.
|
2773
|
+
#
|
2660
2774
|
# The input should be one of the wxSTC_CASEINSENSITIVEBEHAVIOUR_* constants.
|
2661
2775
|
# @param behaviour [Integer]
|
2662
2776
|
# @return [void]
|
2663
2777
|
def auto_comp_set_case_insensitive_behaviour(behaviour) end
|
2664
2778
|
|
2665
2779
|
# Get auto-completion case insensitive behaviour.
|
2780
|
+
#
|
2666
2781
|
# The return value will be one of the wxSTC_CASEINSENSITIVEBEHAVIOUR_* constants.
|
2667
2782
|
# @return [Integer]
|
2668
2783
|
def auto_comp_get_case_insensitive_behaviour; end
|
2669
2784
|
|
2670
2785
|
# Change the effect of autocompleting when there are multiple selections.
|
2786
|
+
#
|
2671
2787
|
# The input should be one of the wxSTC_MULTIAUTOC_* constants.
|
2672
2788
|
# @param multi [Integer]
|
2673
2789
|
# @return [void]
|
2674
2790
|
def auto_comp_set_multi(multi) end
|
2675
2791
|
|
2676
2792
|
# Retrieve the effect of autocompleting when there are multiple selections.
|
2793
|
+
#
|
2677
2794
|
# The return value will be one of the wxSTC_MULTIAUTOC_* constants.
|
2678
2795
|
# @return [Integer]
|
2679
2796
|
def auto_comp_get_multi; end
|
2680
2797
|
|
2681
2798
|
# Set the way autocompletion lists are ordered.
|
2799
|
+
#
|
2682
2800
|
# The input should be one of the wxSTC_ORDER_* constants.
|
2683
2801
|
# @param order [Integer]
|
2684
2802
|
# @return [void]
|
2685
2803
|
def auto_comp_set_order(order) end
|
2686
2804
|
|
2687
2805
|
# Get the way autocompletion lists are ordered.
|
2806
|
+
#
|
2688
2807
|
# The return value will be one of the wxSTC_ORDER_* constants.
|
2689
2808
|
# @return [Integer]
|
2690
2809
|
def auto_comp_get_order; end
|
@@ -2858,6 +2977,7 @@ module Wx::STC
|
|
2858
2977
|
def delete_back; end
|
2859
2978
|
|
2860
2979
|
# If selection is empty or all on one line replace the selection with a tab character.
|
2980
|
+
#
|
2861
2981
|
# If more than one line selected, indent the lines.
|
2862
2982
|
# @return [void]
|
2863
2983
|
def tab; end
|
@@ -2875,6 +2995,7 @@ module Wx::STC
|
|
2875
2995
|
def form_feed; end
|
2876
2996
|
|
2877
2997
|
# Move caret to before first visible character on line.
|
2998
|
+
#
|
2878
2999
|
# If already there move to first character on line.
|
2879
3000
|
# @return [void]
|
2880
3001
|
def vc_home; end
|
@@ -2928,6 +3049,7 @@ module Wx::STC
|
|
2928
3049
|
def line_scroll_up; end
|
2929
3050
|
|
2930
3051
|
# Delete the selection or if no selection, the character before the caret.
|
3052
|
+
#
|
2931
3053
|
# Will not delete the character before at the start of a line.
|
2932
3054
|
# @return [void]
|
2933
3055
|
def delete_back_not_line; end
|
@@ -3037,6 +3159,7 @@ module Wx::STC
|
|
3037
3159
|
def home_rect_extend; end
|
3038
3160
|
|
3039
3161
|
# Move caret to before first visible character on line.
|
3162
|
+
#
|
3040
3163
|
# If already there move to first character on line. In either case, extend rectangular selection to new caret position.
|
3041
3164
|
# @return [void]
|
3042
3165
|
def vc_home_rect_extend; end
|
@@ -3086,6 +3209,7 @@ module Wx::STC
|
|
3086
3209
|
def word_right_end_extend; end
|
3087
3210
|
|
3088
3211
|
# Duplicate the selection.
|
3212
|
+
#
|
3089
3213
|
# If selection empty duplicate the line containing the caret.
|
3090
3214
|
# @return [void]
|
3091
3215
|
def selection_duplicate; end
|
@@ -3103,6 +3227,7 @@ module Wx::STC
|
|
3103
3227
|
def scroll_to_end; end
|
3104
3228
|
|
3105
3229
|
# Move caret to before first visible character on display line.
|
3230
|
+
#
|
3106
3231
|
# If already there move to first character on display line.
|
3107
3232
|
# @return [void]
|
3108
3233
|
def vc_home_display; end
|
@@ -3112,6 +3237,7 @@ module Wx::STC
|
|
3112
3237
|
def vc_home_display_extend; end
|
3113
3238
|
|
3114
3239
|
# When key+modifier combination keyDefinition is pressed perform sciCommand.
|
3240
|
+
#
|
3115
3241
|
# The second argument should be a bit list containing one or more of the wxSTC_KEYMOD_* constants and the third argument should be one of the wxSTC_CMD_* constants.
|
3116
3242
|
# @param key [Integer]
|
3117
3243
|
# @param modifiers [Integer]
|
@@ -3120,6 +3246,7 @@ module Wx::STC
|
|
3120
3246
|
def cmd_key_assign(key, modifiers, cmd) end
|
3121
3247
|
|
3122
3248
|
# When key+modifier combination keyDefinition is pressed do nothing.
|
3249
|
+
#
|
3123
3250
|
# The second argument should be a bit list containing one or more of the wxSTC_KEYMOD_* constants.
|
3124
3251
|
# @param key [Integer]
|
3125
3252
|
# @param modifiers [Integer]
|
@@ -3131,7 +3258,13 @@ module Wx::STC
|
|
3131
3258
|
def cmd_key_clear_all; end
|
3132
3259
|
|
3133
3260
|
# Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button on certain areas.
|
3134
|
-
#
|
3261
|
+
#
|
3262
|
+
# The input should be one of the wxSTC_POPUP_* constants.
|
3263
|
+
# <div class="wxrb-remark">
|
3264
|
+
# <b>Remark:</b>
|
3265
|
+
# <p>When {Wx::ContextMenuEvent} is used to create a custom popup menu, this function should be called with {Wx::STC::STC_POPUP_NEVER}. Otherwise the default menu will be shown instead of the custom one.
|
3266
|
+
# </p>
|
3267
|
+
# </div>
|
3135
3268
|
# @param popUpMode [Integer]
|
3136
3269
|
# @return [void]
|
3137
3270
|
def use_pop_up(popUpMode) end
|
@@ -3156,6 +3289,7 @@ module Wx::STC
|
|
3156
3289
|
alias_method :print_magnification, :get_print_magnification
|
3157
3290
|
|
3158
3291
|
# Modify colours when printing for clearer printed text.
|
3292
|
+
#
|
3159
3293
|
# The input should be one of the wxSTC_PRINT_* constants.
|
3160
3294
|
# @param mode [Integer]
|
3161
3295
|
# @return [void]
|
@@ -3163,6 +3297,7 @@ module Wx::STC
|
|
3163
3297
|
alias_method :print_colour_mode=, :set_print_colour_mode
|
3164
3298
|
|
3165
3299
|
# Returns the print colour mode.
|
3300
|
+
#
|
3166
3301
|
# The return value will be one of the wxSTC_PRINT_* constants.
|
3167
3302
|
# @return [Integer]
|
3168
3303
|
def get_print_colour_mode; end
|
@@ -3186,6 +3321,7 @@ module Wx::STC
|
|
3186
3321
|
alias_method :print_wrap_mode=, :set_print_wrap_mode
|
3187
3322
|
|
3188
3323
|
# Is printing line wrapped?
|
3324
|
+
#
|
3189
3325
|
# The return value will be one of the wxSTC_WRAP_* constants.
|
3190
3326
|
# @return [Integer]
|
3191
3327
|
def get_print_wrap_mode; end
|
@@ -3207,6 +3343,7 @@ module Wx::STC
|
|
3207
3343
|
def doc_line_from_visible(displayLine) end
|
3208
3344
|
|
3209
3345
|
# Set the fold level of a line.
|
3346
|
+
#
|
3210
3347
|
# This encodes an integer level along with flags indicating whether the line is a header and whether it is effectively white space.
|
3211
3348
|
# @param line [Integer]
|
3212
3349
|
# @param level [Integer]
|
@@ -3279,12 +3416,14 @@ module Wx::STC
|
|
3279
3416
|
def toggle_fold_show_text(line, text) end
|
3280
3417
|
|
3281
3418
|
# Set the style of fold display text.
|
3419
|
+
#
|
3282
3420
|
# The input should be one of the wxSTC_FOLDDISPLAYTEXT_* constants.
|
3283
3421
|
# @param style [Integer]
|
3284
3422
|
# @return [void]
|
3285
3423
|
def fold_display_text_set_style(style) end
|
3286
3424
|
|
3287
3425
|
# Expand or contract a fold header.
|
3426
|
+
#
|
3288
3427
|
# The second argument should be one of the wxSTC_FOLDACTION_* constants.
|
3289
3428
|
# @param line [Integer]
|
3290
3429
|
# @param action [Integer]
|
@@ -3292,6 +3431,7 @@ module Wx::STC
|
|
3292
3431
|
def fold_line(line, action) end
|
3293
3432
|
|
3294
3433
|
# Expand or contract a fold header and its children.
|
3434
|
+
#
|
3295
3435
|
# The second argument should be one of the wxSTC_FOLDACTION_* constants.
|
3296
3436
|
# @param line [Integer]
|
3297
3437
|
# @param action [Integer]
|
@@ -3299,6 +3439,7 @@ module Wx::STC
|
|
3299
3439
|
def fold_children(line, action) end
|
3300
3440
|
|
3301
3441
|
# Expand a fold header and all children.
|
3442
|
+
#
|
3302
3443
|
# Use the level argument instead of the line's current level.
|
3303
3444
|
# @param line [Integer]
|
3304
3445
|
# @param level [Integer]
|
@@ -3306,6 +3447,7 @@ module Wx::STC
|
|
3306
3447
|
def expand_children(line, level) end
|
3307
3448
|
|
3308
3449
|
# Expand or contract all fold headers.
|
3450
|
+
#
|
3309
3451
|
# The input should be one of the wxSTC_FOLDACTION_* constants.
|
3310
3452
|
# @param action [Integer]
|
3311
3453
|
# @return [void]
|
@@ -3317,6 +3459,7 @@ module Wx::STC
|
|
3317
3459
|
def ensure_visible(line) end
|
3318
3460
|
|
3319
3461
|
# Set automatic folding behaviours.
|
3462
|
+
#
|
3320
3463
|
# The input should be a bit list containing one or more of the wxSTC_AUTOMATICFOLD_* constants.
|
3321
3464
|
# @param automaticFold [Integer]
|
3322
3465
|
# @return [void]
|
@@ -3324,12 +3467,14 @@ module Wx::STC
|
|
3324
3467
|
alias_method :automatic_fold=, :set_automatic_fold
|
3325
3468
|
|
3326
3469
|
# Get automatic folding behaviours.
|
3470
|
+
#
|
3327
3471
|
# The return value will be a bit list containing one or more of the wxSTC_AUTOMATICFOLD_* constants.
|
3328
3472
|
# @return [Integer]
|
3329
3473
|
def get_automatic_fold; end
|
3330
3474
|
alias_method :automatic_fold, :get_automatic_fold
|
3331
3475
|
|
3332
3476
|
# Set some style options for folding.
|
3477
|
+
#
|
3333
3478
|
# The second argument should be a bit list containing one or more of the wxSTC_FOLDFLAG_* constants.
|
3334
3479
|
# @param flags [Integer]
|
3335
3480
|
# @return [void]
|
@@ -3337,12 +3482,14 @@ module Wx::STC
|
|
3337
3482
|
alias_method :fold_flags=, :set_fold_flags
|
3338
3483
|
|
3339
3484
|
# Ensure a particular line is visible by expanding any header line hiding it.
|
3485
|
+
#
|
3340
3486
|
# Use the currently set visibility policy to determine which range to display.
|
3341
3487
|
# @param line [Integer]
|
3342
3488
|
# @return [void]
|
3343
3489
|
def ensure_visible_enforce_policy(line) end
|
3344
3490
|
|
3345
3491
|
# Find the next line at or after lineStart that is a contracted fold header line.
|
3492
|
+
#
|
3346
3493
|
# Return -1 when no more lines.
|
3347
3494
|
# @param lineStart [Integer]
|
3348
3495
|
# @return [Integer]
|
@@ -3354,6 +3501,7 @@ module Wx::STC
|
|
3354
3501
|
def wrap_count(docLine) end
|
3355
3502
|
|
3356
3503
|
# Sets whether text is word wrapped.
|
3504
|
+
#
|
3357
3505
|
# The input should be one of the wxSTC_WRAP_* constants.
|
3358
3506
|
# @param wrapMode [Integer]
|
3359
3507
|
# @return [void]
|
@@ -3361,12 +3509,14 @@ module Wx::STC
|
|
3361
3509
|
alias_method :wrap_mode=, :set_wrap_mode
|
3362
3510
|
|
3363
3511
|
# Retrieve whether text is word wrapped.
|
3512
|
+
#
|
3364
3513
|
# The return value will be one of the wxSTC_WRAP_* constants.
|
3365
3514
|
# @return [Integer]
|
3366
3515
|
def get_wrap_mode; end
|
3367
3516
|
alias_method :wrap_mode, :get_wrap_mode
|
3368
3517
|
|
3369
3518
|
# Set the display mode of visual flags for wrapped lines.
|
3519
|
+
#
|
3370
3520
|
# The input should be a bit list containing one or more of the wxSTC_WRAPVISUALFLAG_* constants.
|
3371
3521
|
# @param wrapVisualFlags [Integer]
|
3372
3522
|
# @return [void]
|
@@ -3374,12 +3524,14 @@ module Wx::STC
|
|
3374
3524
|
alias_method :wrap_visual_flags=, :set_wrap_visual_flags
|
3375
3525
|
|
3376
3526
|
# Retrieve the display mode of visual flags for wrapped lines.
|
3527
|
+
#
|
3377
3528
|
# The return value will be a bit list containing one or more of the wxSTC_WRAPVISUALFLAG_* constants.
|
3378
3529
|
# @return [Integer]
|
3379
3530
|
def get_wrap_visual_flags; end
|
3380
3531
|
alias_method :wrap_visual_flags, :get_wrap_visual_flags
|
3381
3532
|
|
3382
3533
|
# Set the location of visual flags for wrapped lines.
|
3534
|
+
#
|
3383
3535
|
# The input should be a bit list containing one or more of the wxSTC_WRAPVISUALFLAGLOC_* constants.
|
3384
3536
|
# @param wrapVisualFlagsLocation [Integer]
|
3385
3537
|
# @return [void]
|
@@ -3387,6 +3539,7 @@ module Wx::STC
|
|
3387
3539
|
alias_method :wrap_visual_flags_location=, :set_wrap_visual_flags_location
|
3388
3540
|
|
3389
3541
|
# Retrieve the location of visual flags for wrapped lines.
|
3542
|
+
#
|
3390
3543
|
# The return value will be a bit list containing one or more of the wxSTC_WRAPVISUALFLAGLOC_* constants.
|
3391
3544
|
# @return [Integer]
|
3392
3545
|
def get_wrap_visual_flags_location; end
|
@@ -3404,6 +3557,7 @@ module Wx::STC
|
|
3404
3557
|
alias_method :wrap_start_indent, :get_wrap_start_indent
|
3405
3558
|
|
3406
3559
|
# Sets how wrapped sublines are placed.
|
3560
|
+
#
|
3407
3561
|
# Default is {Wx::STC::STC_WRAPINDENT_FIXED}.
|
3408
3562
|
# The input should be one of the wxSTC_WRAPINDENT_* constants.
|
3409
3563
|
# @param wrapIndentMode [Integer]
|
@@ -3412,6 +3566,7 @@ module Wx::STC
|
|
3412
3566
|
alias_method :wrap_indent_mode=, :set_wrap_indent_mode
|
3413
3567
|
|
3414
3568
|
# Retrieve how wrapped sublines are placed.
|
3569
|
+
#
|
3415
3570
|
# Default is {Wx::STC::STC_WRAPINDENT_FIXED}.
|
3416
3571
|
# The return value will be one of the wxSTC_WRAPINDENT_* constants.
|
3417
3572
|
# @return [Integer]
|
@@ -3419,6 +3574,7 @@ module Wx::STC
|
|
3419
3574
|
alias_method :wrap_indent_mode, :get_wrap_indent_mode
|
3420
3575
|
|
3421
3576
|
# Retrieve the degree of caching of layout information.
|
3577
|
+
#
|
3422
3578
|
# The return value will be one of the wxSTC_CACHE_* constants.
|
3423
3579
|
# @return [Integer]
|
3424
3580
|
def get_layout_cache; end
|
@@ -3453,6 +3609,7 @@ module Wx::STC
|
|
3453
3609
|
def zoom_out; end
|
3454
3610
|
|
3455
3611
|
# Set the zoom level.
|
3612
|
+
#
|
3456
3613
|
# This number of points is added to the size of all fonts. It may be positive to magnify or negative to reduce.
|
3457
3614
|
# @param zoomInPoints [Integer]
|
3458
3615
|
# @return [void]
|
@@ -3470,6 +3627,7 @@ module Wx::STC
|
|
3470
3627
|
alias_method :edge_column, :get_edge_column
|
3471
3628
|
|
3472
3629
|
# Set the column number of the edge.
|
3630
|
+
#
|
3473
3631
|
# If text goes past the edge then it is highlighted.
|
3474
3632
|
# @param column [Integer]
|
3475
3633
|
# @return [void]
|
@@ -3477,12 +3635,14 @@ module Wx::STC
|
|
3477
3635
|
alias_method :edge_column=, :set_edge_column
|
3478
3636
|
|
3479
3637
|
# Retrieve the edge highlight mode.
|
3638
|
+
#
|
3480
3639
|
# The return value will be one of the wxSTC_EDGE_* constants.
|
3481
3640
|
# @return [Integer]
|
3482
3641
|
def get_edge_mode; end
|
3483
3642
|
alias_method :edge_mode, :get_edge_mode
|
3484
3643
|
|
3485
3644
|
# The edge may be displayed by a line ({Wx::STC::STC_EDGE_LINE}/{Wx::STC::STC_EDGE_MULTILINE}) or by highlighting text that goes beyond it ({Wx::STC::STC_EDGE_BACKGROUND}) or not displayed at all ({Wx::STC::STC_EDGE_NONE}).
|
3645
|
+
#
|
3486
3646
|
# The input should be one of the wxSTC_EDGE_* constants.
|
3487
3647
|
# @param edgeMode [Integer]
|
3488
3648
|
# @return [void]
|
@@ -3517,6 +3677,7 @@ module Wx::STC
|
|
3517
3677
|
def change_lexer_state(start, end_) end
|
3518
3678
|
|
3519
3679
|
# Set the lexing language of the document.
|
3680
|
+
#
|
3520
3681
|
# The input should be one of the wxSTC_LEX_* constants.
|
3521
3682
|
# @param lexer [Integer]
|
3522
3683
|
# @return [void]
|
@@ -3524,6 +3685,7 @@ module Wx::STC
|
|
3524
3685
|
alias_method :lexer=, :set_lexer
|
3525
3686
|
|
3526
3687
|
# Retrieve the lexing language of the document.
|
3688
|
+
#
|
3527
3689
|
# The return value will be one of the wxSTC_LEX_* constants.
|
3528
3690
|
# @return [Integer]
|
3529
3691
|
def get_lexer; end
|
@@ -3587,6 +3749,7 @@ module Wx::STC
|
|
3587
3749
|
def property_names; end
|
3588
3750
|
|
3589
3751
|
# Retrieve the type of a property.
|
3752
|
+
#
|
3590
3753
|
# The return value will be one of the wxSTC_TYPE_* constants.
|
3591
3754
|
# @param name [String]
|
3592
3755
|
# @return [Integer]
|
@@ -3651,6 +3814,7 @@ module Wx::STC
|
|
3651
3814
|
alias_method :sub_style_bases, :get_sub_style_bases
|
3652
3815
|
|
3653
3816
|
# Sets the time the mouse must sit still to generate a mouse dwell event.
|
3817
|
+
#
|
3654
3818
|
# The input should be a time in milliseconds or {Wx::STC::STC_TIME_FOREVER}.
|
3655
3819
|
# @param periodMilliseconds [Integer]
|
3656
3820
|
# @return [void]
|
@@ -3658,12 +3822,14 @@ module Wx::STC
|
|
3658
3822
|
alias_method :mouse_dwell_time=, :set_mouse_dwell_time
|
3659
3823
|
|
3660
3824
|
# Retrieve the time the mouse must sit still to generate a mouse dwell event.
|
3825
|
+
#
|
3661
3826
|
# The return value will be a time in milliseconds or {Wx::STC::STC_TIME_FOREVER}.
|
3662
3827
|
# @return [Integer]
|
3663
3828
|
def get_mouse_dwell_time; end
|
3664
3829
|
alias_method :mouse_dwell_time, :get_mouse_dwell_time
|
3665
3830
|
|
3666
3831
|
# Set which document modification events are sent to the container.
|
3832
|
+
#
|
3667
3833
|
# The input should be a bit list containing one or more of the wxSTC_MOD_* constants, the wxSTC_PERFORMED_* constants, {Wx::STC::STC_STARTACTION}, {Wx::STC::STC_MULTILINEUNDOREDO}, {Wx::STC::STC_MULTISTEPUNDOREDO}, and {Wx::STC::STC_LASTSTEPINUNDOREDO}. The input can also be {Wx::STC::STC_MODEVENTMASKALL} to indicate that all changes should generate events.
|
3668
3834
|
# @param eventMask [Integer]
|
3669
3835
|
# @return [void]
|
@@ -3671,6 +3837,7 @@ module Wx::STC
|
|
3671
3837
|
alias_method :mod_event_mask=, :set_mod_event_mask
|
3672
3838
|
|
3673
3839
|
# Get which document modification events are sent to the container.
|
3840
|
+
#
|
3674
3841
|
# The return value will {Wx::STC::STC_MODEVENTMASKALL} if all changes generate events. Otherwise it will be a bit list containing one or more of the wxSTC_MOD_* constants, the wxSTC_PERFORMED_* constants, {Wx::STC::STC_STARTACTION}, {Wx::STC::STC_MULTILINEUNDOREDO}, {Wx::STC::STC_MULTISTEPUNDOREDO}, and {Wx::STC::STC_LASTSTEPINUNDOREDO}.
|
3675
3842
|
# @return [Integer]
|
3676
3843
|
def get_mod_event_mask; end
|
@@ -3693,7 +3860,8 @@ module Wx::STC
|
|
3693
3860
|
alias_method :current_line, :get_current_line
|
3694
3861
|
|
3695
3862
|
# Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:
|
3696
|
-
#
|
3863
|
+
#
|
3864
|
+
# bold turns on bold italic turns on italics fore:[name or \#RRGGBB] sets the foreground colour back:[name or \#RRGGBB] sets the background colour face:[facename] sets the font face name to use size:[num] sets the font size in points eol turns on eol filling underline turns on underlining
|
3697
3865
|
# @param styleNum [Integer]
|
3698
3866
|
# @param spec [String]
|
3699
3867
|
# @return [void]
|
@@ -3814,7 +3982,8 @@ module Wx::STC
|
|
3814
3982
|
def do_drop_text(x, y, data) end
|
3815
3983
|
|
3816
3984
|
# Specify whether anti-aliased fonts should be used.
|
3817
|
-
#
|
3985
|
+
#
|
3986
|
+
# This will have no effect on some platforms, but on some (WXOSX for example) can greatly improve performance.
|
3818
3987
|
# @param useAA [Boolean]
|
3819
3988
|
# @return [void]
|
3820
3989
|
def set_use_anti_aliasing(useAA) end
|
@@ -3837,12 +4006,18 @@ module Wx::STC
|
|
3837
4006
|
def marker_define_bitmap(markerNumber, bmp) end
|
3838
4007
|
|
3839
4008
|
# Writes the text into the text control at the current insertion position.
|
3840
|
-
#
|
4009
|
+
#
|
4010
|
+
# <div class="wxrb-remark">
|
4011
|
+
# <b>Remark:</b>
|
4012
|
+
# <p>Newlines in the text string are the only control characters allowed, and they will cause appropriate line breaks. See operator<<() and {Wx::STC::StyledTextCtrl#append_text} for more convenient ways of writing to the window. After the write operation, the insertion point will be at the end of the inserted text, so subsequent write operations will be appended. To append text after the user may have interacted with the control, call {Wx::TextCtrl#set_insertion_point_end} before writing.
|
4013
|
+
# </p>
|
4014
|
+
# </div>
|
3841
4015
|
# @param text [String] Text to write to the text control.
|
3842
4016
|
# @return [void]
|
3843
4017
|
def write_text(text) end
|
3844
4018
|
|
3845
4019
|
# Removes the text starting at the first given position up to (but not including) the character at the last position.
|
4020
|
+
#
|
3846
4021
|
# This function puts the current insertion point position at to as a side effect.
|
3847
4022
|
# @param from [Integer] The first position.
|
3848
4023
|
# @param to [Integer] The last position.
|
@@ -3850,6 +4025,7 @@ module Wx::STC
|
|
3850
4025
|
def remove(from, to) end
|
3851
4026
|
|
3852
4027
|
# Replaces the text starting at the first position up to (but not including) the character at the last position with the given text.
|
4028
|
+
#
|
3853
4029
|
# This function puts the current insertion point position at to as a side effect.
|
3854
4030
|
# @param from [Integer] The first position.
|
3855
4031
|
# @param to [Integer] The last position.
|
@@ -3864,6 +4040,7 @@ module Wx::STC
|
|
3864
4040
|
alias_method :insertion_point=, :set_insertion_point
|
3865
4041
|
|
3866
4042
|
# Returns the insertion point, or cursor, position.
|
4043
|
+
#
|
3867
4044
|
# This is defined as the zero based index of the character position to the right of the insertion point. For example, if the insertion point is at the end of the single-line text control, it is equal to {Wx::STC::StyledTextCtrl#get_last_position}.
|
3868
4045
|
# Notice that insertion position is, in general, different from the index of the character the cursor position at in the string returned by {Wx::STC::StyledTextCtrl#get_value}. While this is always the case for the single line controls, multi-line controls can use two characters <code>"\\r\\n"</code> as line separator (this is notably the case under MSW) meaning that indices in the control and its string value are offset by 1 for every line.
|
3869
4046
|
# Hence to correctly get the character at the current cursor position, taking into account that there can be none if the cursor is at the end of the string, you could do the following:
|
@@ -3888,6 +4065,7 @@ module Wx::STC
|
|
3888
4065
|
alias_method :last_position, :get_last_position
|
3889
4066
|
|
3890
4067
|
# Selects the text starting at the first position up to (but not including) the character at the last position.
|
4068
|
+
#
|
3891
4069
|
# If both parameters are equal to -1 all text in the control is selected.
|
3892
4070
|
# Notice that the insertion point will be moved to from by this function.
|
3893
4071
|
# @see Wx::STC::StyledTextCtrl#select_all
|
@@ -3901,12 +4079,14 @@ module Wx::STC
|
|
3901
4079
|
def select_none; end
|
3902
4080
|
|
3903
4081
|
# Gets the current selection span.
|
4082
|
+
#
|
3904
4083
|
# If the returned values are equal, there was no selection. Please note that the indices returned may be used with the other {Wx::TextCtrl} methods but don't necessarily represent the correct indices into the string returned by {Wx::STC::StyledTextCtrl#get_value} for multiline controls under Windows (at least,) you should use {Wx::STC::StyledTextCtrl#get_string_selection} to get the selected text.
|
3905
4084
|
# @return [Array(Integer, Integer)]
|
3906
4085
|
def get_selection; end
|
3907
4086
|
alias_method :selection, :get_selection
|
3908
4087
|
|
3909
4088
|
# Returns true if the controls contents may be edited by user (note that it always can be changed by the program).
|
4089
|
+
#
|
3910
4090
|
# In other words, this functions returns true if the control hasn't been put in read-only mode by a previous call to {Wx::STC::StyledTextCtrl#set_editable}.
|
3911
4091
|
# @return [Boolean]
|
3912
4092
|
def is_editable; end
|
@@ -3914,6 +4094,7 @@ module Wx::STC
|
|
3914
4094
|
|
3915
4095
|
# Makes the text item editable or read-only, overriding the <b>{Wx::TE_READONLY}</b> flag.
|
3916
4096
|
#
|
4097
|
+
#
|
3917
4098
|
# @see Wx::STC::StyledTextCtrl#is_editable
|
3918
4099
|
# @param editable [Boolean] If true, the control is editable. If false, the control is read-only.
|
3919
4100
|
# @return [void]
|
@@ -3921,12 +4102,14 @@ module Wx::STC
|
|
3921
4102
|
alias_method :editable=, :set_editable
|
3922
4103
|
|
3923
4104
|
# Gets the length of the specified line, not including any trailing newline character(s).
|
4105
|
+
#
|
3924
4106
|
# The length of the line, or -1 if lineNo was invalid.
|
3925
4107
|
# @param lineNo [Integer] Line number (starting from zero).
|
3926
4108
|
# @return [Integer]
|
3927
4109
|
def get_line_length(lineNo) end
|
3928
4110
|
|
3929
4111
|
# Returns the contents of a given line in the text control, not including any trailing newline character(s).
|
4112
|
+
#
|
3930
4113
|
# The contents of the line.
|
3931
4114
|
# @param lineNo [Integer] The line number, starting from zero.
|
3932
4115
|
# @return [String]
|
@@ -3934,13 +4117,20 @@ module Wx::STC
|
|
3934
4117
|
alias_method :line_text, :get_line_text
|
3935
4118
|
|
3936
4119
|
# Returns the number of lines in the text control buffer.
|
3937
|
-
#
|
3938
|
-
#
|
4120
|
+
#
|
4121
|
+
# The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for WXGTK and WXOSX/Cocoa ports while it is the number of physical lines, i.e. the count of lines actually shown in the control, in WXMSW. Because of this discrepancy, it is not recommended to use this function.
|
4122
|
+
#
|
4123
|
+
# <div class="wxrb-remark">
|
4124
|
+
# <b>Remark:</b>
|
4125
|
+
# <p>Note that even empty text controls have one line (where the insertion point is), so {Wx::STC::StyledTextCtrl#get_number_of_lines} never returns 0.
|
4126
|
+
# </p>
|
4127
|
+
# </div>
|
3939
4128
|
# @return [Integer]
|
3940
4129
|
def get_number_of_lines; end
|
3941
4130
|
alias_method :number_of_lines, :get_number_of_lines
|
3942
4131
|
|
3943
4132
|
# Returns true if the text has been modified by user.
|
4133
|
+
#
|
3944
4134
|
# Note that calling {Wx::STC::StyledTextCtrl#set_value} doesn't make the control modified.
|
3945
4135
|
# @see Wx::STC::StyledTextCtrl#mark_dirty
|
3946
4136
|
# @return [Boolean]
|
@@ -3949,6 +4139,7 @@ module Wx::STC
|
|
3949
4139
|
|
3950
4140
|
# Mark text as modified (dirty).
|
3951
4141
|
#
|
4142
|
+
#
|
3952
4143
|
# @see Wx::STC::StyledTextCtrl#is_modified
|
3953
4144
|
# @return [void]
|
3954
4145
|
def mark_dirty; end
|
@@ -3978,6 +4169,7 @@ module Wx::STC
|
|
3978
4169
|
alias_method :default_style=, :set_default_style
|
3979
4170
|
|
3980
4171
|
# Converts the given zero based column and line number to a position.
|
4172
|
+
#
|
3981
4173
|
# The position value, or -1 if x or y was invalid.
|
3982
4174
|
# @param x [Integer] The column number.
|
3983
4175
|
# @param y [Integer] The line number.
|
@@ -3985,6 +4177,7 @@ module Wx::STC
|
|
3985
4177
|
def xy_to_position(x, y) end
|
3986
4178
|
|
3987
4179
|
# Converts given position to a zero-based column, line number pair.
|
4180
|
+
#
|
3988
4181
|
# true on success, false on failure (most likely due to a too large position parameter).
|
3989
4182
|
# @see Wx::STC::StyledTextCtrl#xy_to_position
|
3990
4183
|
# @param pos [Integer] Position.
|
@@ -3997,8 +4190,9 @@ module Wx::STC
|
|
3997
4190
|
def show_position(pos) end
|
3998
4191
|
|
3999
4192
|
# Finds the row and column of the character at the specified point.
|
4193
|
+
#
|
4000
4194
|
# If the return code is not {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} the row and column of the character closest to this position are returned, otherwise the output parameters are not modified.
|
4001
|
-
# Please note that this function is currently only implemented in {Wx::Univ},
|
4195
|
+
# Please note that this function is currently only implemented in {Wx::Univ}, WXMSW and WXGTK2 ports and always returns {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} in the other ports.
|
4002
4196
|
# @see Wx::STC::StyledTextCtrl#position_to_xy
|
4003
4197
|
# @see Wx::STC::StyledTextCtrl#xy_to_position
|
4004
4198
|
# @param pt [Array(Integer, Integer), Wx::Point] The position of the point to check, in window device coordinates.
|