wxruby3 0.9.0.pre.beta.8-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (839) hide show
  1. checksums.yaml +7 -0
  2. data/.wxconfig +17 -0
  3. data/.yardopts +13 -0
  4. data/CREDITS.md +52 -0
  5. data/LICENSE +21 -0
  6. data/README.md +139 -0
  7. data/bin/wxruby +9 -0
  8. data/bin/wxruby.bat +20 -0
  9. data/ext/mkrf_conf_bingem.rb +18 -0
  10. data/ext/wxbase32u_gcc_custom.dll +0 -0
  11. data/ext/wxbase32u_net_gcc_custom.dll +0 -0
  12. data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
  13. data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
  14. data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
  15. data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
  16. data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
  17. data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
  18. data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
  19. data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
  20. data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
  21. data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
  22. data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
  23. data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
  24. data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
  25. data/lib/wx/accessors.rb +63 -0
  26. data/lib/wx/aui/auimanager.rb +17 -0
  27. data/lib/wx/aui/auinotebook.rb +9 -0
  28. data/lib/wx/aui/events/evt_list.rb +143 -0
  29. data/lib/wx/aui/require.rb +9 -0
  30. data/lib/wx/aui.rb +14 -0
  31. data/lib/wx/core/acceleratortable.rb +28 -0
  32. data/lib/wx/core/animation.rb +18 -0
  33. data/lib/wx/core/app.rb +89 -0
  34. data/lib/wx/core/artprovider.rb +31 -0
  35. data/lib/wx/core/bitmap.rb +59 -0
  36. data/lib/wx/core/busycursor.rb +12 -0
  37. data/lib/wx/core/choice.rb +4 -0
  38. data/lib/wx/core/choicedlg.rb +54 -0
  39. data/lib/wx/core/clientdc.rb +13 -0
  40. data/lib/wx/core/clipboard.rb +56 -0
  41. data/lib/wx/core/collapsible_pane.rb +12 -0
  42. data/lib/wx/core/colour.rb +34 -0
  43. data/lib/wx/core/combobox.rb +4 -0
  44. data/lib/wx/core/controlwithitems.rb +10 -0
  45. data/lib/wx/core/data_object.rb +10 -0
  46. data/lib/wx/core/dataformat.rb +26 -0
  47. data/lib/wx/core/dc.rb +68 -0
  48. data/lib/wx/core/dialog.rb +50 -0
  49. data/lib/wx/core/enum.rb +28 -0
  50. data/lib/wx/core/event.rb +16 -0
  51. data/lib/wx/core/events/evt_list.rb +1378 -0
  52. data/lib/wx/core/evthandler.rb +253 -0
  53. data/lib/wx/core/ext.rb +58 -0
  54. data/lib/wx/core/font/encoding.rb +113 -0
  55. data/lib/wx/core/font.rb +22 -0
  56. data/lib/wx/core/functions.rb +44 -0
  57. data/lib/wx/core/gauge.rb +12 -0
  58. data/lib/wx/core/genericdirctrl.rb +36 -0
  59. data/lib/wx/core/hboxsizer.rb +6 -0
  60. data/lib/wx/core/helpcontroller.rb +5 -0
  61. data/lib/wx/core/helpcontrollerhelpprovider.rb +24 -0
  62. data/lib/wx/core/helpprovider.rb +15 -0
  63. data/lib/wx/core/icon.rb +40 -0
  64. data/lib/wx/core/image.rb +68 -0
  65. data/lib/wx/core/imagelist.rb +3 -0
  66. data/lib/wx/core/listbox.rb +4 -0
  67. data/lib/wx/core/listctrl.rb +33 -0
  68. data/lib/wx/core/locale.rb +73 -0
  69. data/lib/wx/core/log.rb +20 -0
  70. data/lib/wx/core/menu.rb +78 -0
  71. data/lib/wx/core/menu_bar.rb +20 -0
  72. data/lib/wx/core/menuitem.rb +7 -0
  73. data/lib/wx/core/notebook.rb +9 -0
  74. data/lib/wx/core/object.rb +14 -0
  75. data/lib/wx/core/pen_info.rb +11 -0
  76. data/lib/wx/core/platform_info.rb +13 -0
  77. data/lib/wx/core/point.rb +92 -0
  78. data/lib/wx/core/real_point.rb +92 -0
  79. data/lib/wx/core/rect.rb +57 -0
  80. data/lib/wx/core/simplehelpprovider.rb +38 -0
  81. data/lib/wx/core/size.rb +86 -0
  82. data/lib/wx/core/sizer.rb +43 -0
  83. data/lib/wx/core/splash_screen.rb +44 -0
  84. data/lib/wx/core/textctrl.rb +8 -0
  85. data/lib/wx/core/timer.rb +104 -0
  86. data/lib/wx/core/toolbar.rb +37 -0
  87. data/lib/wx/core/toolbartool.rb +4 -0
  88. data/lib/wx/core/treectrl.rb +46 -0
  89. data/lib/wx/core/validator.rb +8 -0
  90. data/lib/wx/core/variant.rb +62 -0
  91. data/lib/wx/core/vboxsizer.rb +6 -0
  92. data/lib/wx/core/window.rb +95 -0
  93. data/lib/wx/core/window_update_locker.rb +12 -0
  94. data/lib/wx/core/xmlresource.rb +56 -0
  95. data/lib/wx/core.rb +61 -0
  96. data/lib/wx/doc/aui/auimanager.rb +12 -0
  97. data/lib/wx/doc/aui/auinotebook.rb +9 -0
  98. data/lib/wx/doc/colour_dialog.rb +15 -0
  99. data/lib/wx/doc/core.rb +11 -0
  100. data/lib/wx/doc/dc.rb +49 -0
  101. data/lib/wx/doc/enum.rb +88 -0
  102. data/lib/wx/doc/evthandler.rb +87 -0
  103. data/lib/wx/doc/extra/00_starting.md +154 -0
  104. data/lib/wx/doc/extra/01_packages.md +179 -0
  105. data/lib/wx/doc/extra/02_lifecycles.md +116 -0
  106. data/lib/wx/doc/extra/03_dialogs.md +57 -0
  107. data/lib/wx/doc/extra/04_enums.md +143 -0
  108. data/lib/wx/doc/extra/05_event-handling.md +166 -0
  109. data/lib/wx/doc/extra/06_geometry.md +56 -0
  110. data/lib/wx/doc/extra/07_colour_and_font.md +52 -0
  111. data/lib/wx/doc/extra/08_extensions.md +144 -0
  112. data/lib/wx/doc/extra/09_exceptions.md +54 -0
  113. data/lib/wx/doc/functions.rb +221 -0
  114. data/lib/wx/doc/gdi_common.rb +181 -0
  115. data/lib/wx/doc/gen/about_dialog_info.rb +315 -0
  116. data/lib/wx/doc/gen/accelerator.rb +172 -0
  117. data/lib/wx/doc/gen/accessible.rb +817 -0
  118. data/lib/wx/doc/gen/animation.rb +253 -0
  119. data/lib/wx/doc/gen/animation_ctrl.rb +129 -0
  120. data/lib/wx/doc/gen/any_button.rb +170 -0
  121. data/lib/wx/doc/gen/app.rb +363 -0
  122. data/lib/wx/doc/gen/art_provider.rb +497 -0
  123. data/lib/wx/doc/gen/aui/aui_dock_art.rb +421 -0
  124. data/lib/wx/doc/gen/aui/aui_floating_frame.rb +39 -0
  125. data/lib/wx/doc/gen/aui/aui_manager.rb +323 -0
  126. data/lib/wx/doc/gen/aui/aui_manager_event.rb +112 -0
  127. data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +163 -0
  128. data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +46 -0
  129. data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -0
  130. data/lib/wx/doc/gen/aui/aui_notebook.rb +329 -0
  131. data/lib/wx/doc/gen/aui/aui_notebook_event.rb +179 -0
  132. data/lib/wx/doc/gen/aui/aui_pane_info.rb +665 -0
  133. data/lib/wx/doc/gen/aui/aui_tab_art.rb +372 -0
  134. data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +147 -0
  135. data/lib/wx/doc/gen/aui/aui_tool_bar.rb +437 -0
  136. data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +272 -0
  137. data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +195 -0
  138. data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +224 -0
  139. data/lib/wx/doc/gen/aui/event_list.rb +162 -0
  140. data/lib/wx/doc/gen/auto_buffered_paint_dc.rb +47 -0
  141. data/lib/wx/doc/gen/bitmap.rb +638 -0
  142. data/lib/wx/doc/gen/bitmap_button.rb +91 -0
  143. data/lib/wx/doc/gen/book_ctrl_base.rb +240 -0
  144. data/lib/wx/doc/gen/book_ctrl_event.rb +60 -0
  145. data/lib/wx/doc/gen/box_sizer.rb +66 -0
  146. data/lib/wx/doc/gen/brush.rb +219 -0
  147. data/lib/wx/doc/gen/buffered_dc.rb +95 -0
  148. data/lib/wx/doc/gen/buffered_paint_dc.rb +55 -0
  149. data/lib/wx/doc/gen/busy_info.rb +141 -0
  150. data/lib/wx/doc/gen/button.rb +133 -0
  151. data/lib/wx/doc/gen/calculate_layout_event.rb +59 -0
  152. data/lib/wx/doc/gen/calendar_ctrl.rb +236 -0
  153. data/lib/wx/doc/gen/calendar_date_attr.rb +137 -0
  154. data/lib/wx/doc/gen/calendar_event.rb +150 -0
  155. data/lib/wx/doc/gen/caret.rb +99 -0
  156. data/lib/wx/doc/gen/check_box.rb +145 -0
  157. data/lib/wx/doc/gen/check_list_box.rb +96 -0
  158. data/lib/wx/doc/gen/choice.rb +143 -0
  159. data/lib/wx/doc/gen/choicebook.rb +100 -0
  160. data/lib/wx/doc/gen/client_dc.rb +49 -0
  161. data/lib/wx/doc/gen/clipboard.rb +128 -0
  162. data/lib/wx/doc/gen/collapsible_pane.rb +120 -0
  163. data/lib/wx/doc/gen/collapsible_pane_event.rb +45 -0
  164. data/lib/wx/doc/gen/colour.rb +289 -0
  165. data/lib/wx/doc/gen/colour_data.rb +96 -0
  166. data/lib/wx/doc/gen/colour_dialog.rb +84 -0
  167. data/lib/wx/doc/gen/colour_picker_ctrl.rb +89 -0
  168. data/lib/wx/doc/gen/colour_picker_event.rb +74 -0
  169. data/lib/wx/doc/gen/combo_box.rb +228 -0
  170. data/lib/wx/doc/gen/context_help_button.rb +34 -0
  171. data/lib/wx/doc/gen/control.rb +245 -0
  172. data/lib/wx/doc/gen/control_with_items.rb +339 -0
  173. data/lib/wx/doc/gen/core.rb +42 -0
  174. data/lib/wx/doc/gen/cursor.rb +127 -0
  175. data/lib/wx/doc/gen/data_format.rb +94 -0
  176. data/lib/wx/doc/gen/data_object.rb +439 -0
  177. data/lib/wx/doc/gen/date_event.rb +48 -0
  178. data/lib/wx/doc/gen/date_picker_ctrl.rb +127 -0
  179. data/lib/wx/doc/gen/dc.rb +1278 -0
  180. data/lib/wx/doc/gen/defs.rb +2832 -0
  181. data/lib/wx/doc/gen/dialog.rb +426 -0
  182. data/lib/wx/doc/gen/dir_dialog.rb +134 -0
  183. data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +80 -0
  184. data/lib/wx/doc/gen/dir_picker_ctrl.rb +103 -0
  185. data/lib/wx/doc/gen/drag_drop.rb +292 -0
  186. data/lib/wx/doc/gen/drag_image.rb +123 -0
  187. data/lib/wx/doc/gen/editable_list_box.rb +89 -0
  188. data/lib/wx/doc/gen/event.rb +911 -0
  189. data/lib/wx/doc/gen/event_list.rb +1512 -0
  190. data/lib/wx/doc/gen/events.rb +2499 -0
  191. data/lib/wx/doc/gen/evt_handler.rb +224 -0
  192. data/lib/wx/doc/gen/ext_help_controller.rb +100 -0
  193. data/lib/wx/doc/gen/file_dialog.rb +294 -0
  194. data/lib/wx/doc/gen/file_dir_picker_event.rb +98 -0
  195. data/lib/wx/doc/gen/file_picker_ctrl.rb +107 -0
  196. data/lib/wx/doc/gen/find_dialog_event.rb +119 -0
  197. data/lib/wx/doc/gen/find_replace_data.rb +59 -0
  198. data/lib/wx/doc/gen/find_replace_dialog.rb +44 -0
  199. data/lib/wx/doc/gen/flex_grid_sizer.rb +145 -0
  200. data/lib/wx/doc/gen/font.rb +1282 -0
  201. data/lib/wx/doc/gen/font_data.rb +132 -0
  202. data/lib/wx/doc/gen/font_dialog.rb +71 -0
  203. data/lib/wx/doc/gen/font_picker_ctrl.rb +120 -0
  204. data/lib/wx/doc/gen/font_picker_event.rb +64 -0
  205. data/lib/wx/doc/gen/frame.rb +276 -0
  206. data/lib/wx/doc/gen/fs_file.rb +269 -0
  207. data/lib/wx/doc/gen/functions.rb +10 -0
  208. data/lib/wx/doc/gen/gauge.rb +127 -0
  209. data/lib/wx/doc/gen/gb_sizer_item.rb +78 -0
  210. data/lib/wx/doc/gen/gcdc.rb +61 -0
  211. data/lib/wx/doc/gen/gdi_common.rb +1108 -0
  212. data/lib/wx/doc/gen/gdi_object.rb +29 -0
  213. data/lib/wx/doc/gen/generic_dir_ctrl.rb +198 -0
  214. data/lib/wx/doc/gen/graphics_context.rb +764 -0
  215. data/lib/wx/doc/gen/graphics_object.rb +494 -0
  216. data/lib/wx/doc/gen/grid/event_list.rb +173 -0
  217. data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +33 -0
  218. data/lib/wx/doc/gen/grid/grid_cell_attr.rb +279 -0
  219. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +31 -0
  220. data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +32 -0
  221. data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +44 -0
  222. data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +31 -0
  223. data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +48 -0
  224. data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +33 -0
  225. data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +40 -0
  226. data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +35 -0
  227. data/lib/wx/doc/gen/grid/grid_cell_editor.rb +181 -0
  228. data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +34 -0
  229. data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +39 -0
  230. data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +41 -0
  231. data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +74 -0
  232. data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +41 -0
  233. data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +31 -0
  234. data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +98 -0
  235. data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +31 -0
  236. data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +45 -0
  237. data/lib/wx/doc/gen/grid/grid_ctrl.rb +2381 -0
  238. data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +87 -0
  239. data/lib/wx/doc/gen/grid/grid_event.rb +96 -0
  240. data/lib/wx/doc/gen/grid/grid_range_select_event.rb +96 -0
  241. data/lib/wx/doc/gen/grid/grid_size_event.rb +71 -0
  242. data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -0
  243. data/lib/wx/doc/gen/grid/grid_table_base.rb +288 -0
  244. data/lib/wx/doc/gen/grid/grid_table_message.rb +73 -0
  245. data/lib/wx/doc/gen/grid_bag_sizer.rb +298 -0
  246. data/lib/wx/doc/gen/grid_sizer.rb +135 -0
  247. data/lib/wx/doc/gen/help_controller.rb +136 -0
  248. data/lib/wx/doc/gen/help_provider.rb +80 -0
  249. data/lib/wx/doc/gen/html/event_list.rb +46 -0
  250. data/lib/wx/doc/gen/html/html_cell.rb +441 -0
  251. data/lib/wx/doc/gen/html/html_cell_event.rb +62 -0
  252. data/lib/wx/doc/gen/html/html_easy_printing.rb +169 -0
  253. data/lib/wx/doc/gen/html/html_help_controller.rb +256 -0
  254. data/lib/wx/doc/gen/html/html_help_data.rb +144 -0
  255. data/lib/wx/doc/gen/html/html_help_frame.rb +112 -0
  256. data/lib/wx/doc/gen/html/html_help_window.rb +230 -0
  257. data/lib/wx/doc/gen/html/html_link_event.rb +36 -0
  258. data/lib/wx/doc/gen/html/html_list_box.rb +150 -0
  259. data/lib/wx/doc/gen/html/html_printout.rb +87 -0
  260. data/lib/wx/doc/gen/html/html_window.rb +386 -0
  261. data/lib/wx/doc/gen/icon.rb +267 -0
  262. data/lib/wx/doc/gen/icon_location.rb +38 -0
  263. data/lib/wx/doc/gen/image.rb +1144 -0
  264. data/lib/wx/doc/gen/image_list.rb +181 -0
  265. data/lib/wx/doc/gen/keyboard_state.rb +124 -0
  266. data/lib/wx/doc/gen/list_box.rb +260 -0
  267. data/lib/wx/doc/gen/list_ctrl.rb +1542 -0
  268. data/lib/wx/doc/gen/list_event.rb +177 -0
  269. data/lib/wx/doc/gen/listbook.rb +100 -0
  270. data/lib/wx/doc/gen/locale.rb +4143 -0
  271. data/lib/wx/doc/gen/log.rb +505 -0
  272. data/lib/wx/doc/gen/mdi_client_window.rb +38 -0
  273. data/lib/wx/doc/gen/mdi_frame.rb +235 -0
  274. data/lib/wx/doc/gen/media_ctrl.rb +225 -0
  275. data/lib/wx/doc/gen/media_event.rb +109 -0
  276. data/lib/wx/doc/gen/memory_dc.rb +95 -0
  277. data/lib/wx/doc/gen/menu.rb +493 -0
  278. data/lib/wx/doc/gen/menu_bar.rb +247 -0
  279. data/lib/wx/doc/gen/menu_item.rb +333 -0
  280. data/lib/wx/doc/gen/message_dialog.rb +195 -0
  281. data/lib/wx/doc/gen/mini_frame.rb +72 -0
  282. data/lib/wx/doc/gen/mirror_dc.rb +29 -0
  283. data/lib/wx/doc/gen/mouse_state.rb +108 -0
  284. data/lib/wx/doc/gen/multi_choice_dialog.rb +58 -0
  285. data/lib/wx/doc/gen/non_owned_window.rb +46 -0
  286. data/lib/wx/doc/gen/notebook.rb +220 -0
  287. data/lib/wx/doc/gen/number_entry_dialog.rb +75 -0
  288. data/lib/wx/doc/gen/object.rb +69 -0
  289. data/lib/wx/doc/gen/paint_dc.rb +34 -0
  290. data/lib/wx/doc/gen/palette.rb +90 -0
  291. data/lib/wx/doc/gen/panel.rb +96 -0
  292. data/lib/wx/doc/gen/pen.rb +484 -0
  293. data/lib/wx/doc/gen/pg/event_list.rb +102 -0
  294. data/lib/wx/doc/gen/pg/numeric_property_validator.rb +47 -0
  295. data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +295 -0
  296. data/lib/wx/doc/gen/pg/pg_cell.rb +166 -0
  297. data/lib/wx/doc/gen/pg/pg_editor.rb +569 -0
  298. data/lib/wx/doc/gen/pg/pg_multi_button.rb +161 -0
  299. data/lib/wx/doc/gen/pg/pg_properties.rb +2193 -0
  300. data/lib/wx/doc/gen/pg/pg_property.rb +1852 -0
  301. data/lib/wx/doc/gen/pg/pg_validation_info.rb +327 -0
  302. data/lib/wx/doc/gen/pg/property_grid.rb +619 -0
  303. data/lib/wx/doc/gen/pg/property_grid_event.rb +135 -0
  304. data/lib/wx/doc/gen/pg/property_grid_interface.rb +847 -0
  305. data/lib/wx/doc/gen/pg/property_grid_manager.rb +349 -0
  306. data/lib/wx/doc/gen/pg/property_grid_page.rb +265 -0
  307. data/lib/wx/doc/gen/pg/property_grid_page_state.rb +155 -0
  308. data/lib/wx/doc/gen/picker_base.rb +143 -0
  309. data/lib/wx/doc/gen/platform_info.rb +379 -0
  310. data/lib/wx/doc/gen/popup_window.rb +93 -0
  311. data/lib/wx/doc/gen/progress_dialog.rb +106 -0
  312. data/lib/wx/doc/gen/property_sheet_dialog.rb +185 -0
  313. data/lib/wx/doc/gen/prt/event_list.rb +13 -0
  314. data/lib/wx/doc/gen/prt/page_setup_dialog.rb +38 -0
  315. data/lib/wx/doc/gen/prt/post_script_dc.rb +32 -0
  316. data/lib/wx/doc/gen/prt/preview_frame.rb +39 -0
  317. data/lib/wx/doc/gen/prt/print_abort_dialog.rb +127 -0
  318. data/lib/wx/doc/gen/prt/print_data.rb +598 -0
  319. data/lib/wx/doc/gen/prt/print_dialog.rb +47 -0
  320. data/lib/wx/doc/gen/prt/printer.rb +428 -0
  321. data/lib/wx/doc/gen/prt/printer_dc.rb +35 -0
  322. data/lib/wx/doc/gen/query_layout_info_event.rb +98 -0
  323. data/lib/wx/doc/gen/radio_box.rb +258 -0
  324. data/lib/wx/doc/gen/radio_button.rb +128 -0
  325. data/lib/wx/doc/gen/rbn/event_list.rb +132 -0
  326. data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1652 -0
  327. data/lib/wx/doc/gen/rbn/ribbon_bar.rb +227 -0
  328. data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +40 -0
  329. data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +400 -0
  330. data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +58 -0
  331. data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -0
  332. data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +208 -0
  333. data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +51 -0
  334. data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -0
  335. data/lib/wx/doc/gen/rbn/ribbon_panel.rb +232 -0
  336. data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +41 -0
  337. data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +321 -0
  338. data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +36 -0
  339. data/lib/wx/doc/gen/region.rb +299 -0
  340. data/lib/wx/doc/gen/rtc/event_list.rb +121 -0
  341. data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +2052 -0
  342. data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +2031 -0
  343. data/lib/wx/doc/gen/rtc/rich_text_event.rb +146 -0
  344. data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +171 -0
  345. data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +180 -0
  346. data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +104 -0
  347. data/lib/wx/doc/gen/rtc/rich_text_printing.rb +241 -0
  348. data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +55 -0
  349. data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +153 -0
  350. data/lib/wx/doc/gen/sash_event.rb +133 -0
  351. data/lib/wx/doc/gen/sash_layout_window.rb +203 -0
  352. data/lib/wx/doc/gen/sash_window.rb +154 -0
  353. data/lib/wx/doc/gen/screen_dc.rb +27 -0
  354. data/lib/wx/doc/gen/scrolled_canvas.rb +317 -0
  355. data/lib/wx/doc/gen/scrolled_control.rb +317 -0
  356. data/lib/wx/doc/gen/scrolled_window.rb +337 -0
  357. data/lib/wx/doc/gen/simplebook.rb +93 -0
  358. data/lib/wx/doc/gen/single_choice_dialog.rb +74 -0
  359. data/lib/wx/doc/gen/sizer.rb +847 -0
  360. data/lib/wx/doc/gen/sizer_item.rb +227 -0
  361. data/lib/wx/doc/gen/slider.rb +316 -0
  362. data/lib/wx/doc/gen/spin_button.rb +124 -0
  363. data/lib/wx/doc/gen/spin_ctrl.rb +170 -0
  364. data/lib/wx/doc/gen/spin_event.rb +47 -0
  365. data/lib/wx/doc/gen/splash_screen.rb +83 -0
  366. data/lib/wx/doc/gen/splitter_event.rb +87 -0
  367. data/lib/wx/doc/gen/splitter_window.rb +357 -0
  368. data/lib/wx/doc/gen/static_bitmap.rb +126 -0
  369. data/lib/wx/doc/gen/static_box.rb +123 -0
  370. data/lib/wx/doc/gen/static_box_sizer.rb +67 -0
  371. data/lib/wx/doc/gen/static_line.rb +66 -0
  372. data/lib/wx/doc/gen/static_text.rb +98 -0
  373. data/lib/wx/doc/gen/status_bar.rb +203 -0
  374. data/lib/wx/doc/gen/stc/event_list.rb +217 -0
  375. data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4000 -0
  376. data/lib/wx/doc/gen/stc/styled_text_event.rb +7319 -0
  377. data/lib/wx/doc/gen/std_dialog_button_sizer.rb +74 -0
  378. data/lib/wx/doc/gen/svg_file_dc.rb +153 -0
  379. data/lib/wx/doc/gen/system_options.rb +109 -0
  380. data/lib/wx/doc/gen/system_settings.rb +481 -0
  381. data/lib/wx/doc/gen/task_bar_icon.rb +94 -0
  382. data/lib/wx/doc/gen/task_bar_icon_event.rb +86 -0
  383. data/lib/wx/doc/gen/text_attr.rb +645 -0
  384. data/lib/wx/doc/gen/text_ctrl.rb +841 -0
  385. data/lib/wx/doc/gen/text_entry.rb +389 -0
  386. data/lib/wx/doc/gen/text_entry_dialog.rb +170 -0
  387. data/lib/wx/doc/gen/text_validator.rb +212 -0
  388. data/lib/wx/doc/gen/time_picker_ctrl.rb +103 -0
  389. data/lib/wx/doc/gen/timer.rb +103 -0
  390. data/lib/wx/doc/gen/timer_event.rb +73 -0
  391. data/lib/wx/doc/gen/tip_provider.rb +60 -0
  392. data/lib/wx/doc/gen/toggle_button.rb +84 -0
  393. data/lib/wx/doc/gen/tool_bar.rb +744 -0
  394. data/lib/wx/doc/gen/tool_tip.rb +73 -0
  395. data/lib/wx/doc/gen/toolbook.rb +103 -0
  396. data/lib/wx/doc/gen/top_level_window.rb +462 -0
  397. data/lib/wx/doc/gen/tree_ctrl.rb +863 -0
  398. data/lib/wx/doc/gen/tree_event.rb +101 -0
  399. data/lib/wx/doc/gen/treebook.rb +154 -0
  400. data/lib/wx/doc/gen/utils.rb +257 -0
  401. data/lib/wx/doc/gen/v_list_box.rb +224 -0
  402. data/lib/wx/doc/gen/v_scrolled_window.rb +224 -0
  403. data/lib/wx/doc/gen/validator.rb +73 -0
  404. data/lib/wx/doc/gen/variant.rb +340 -0
  405. data/lib/wx/doc/gen/window.rb +2414 -0
  406. data/lib/wx/doc/gen/window_dc.rb +35 -0
  407. data/lib/wx/doc/gen/window_disabler.rb +24 -0
  408. data/lib/wx/doc/gen/with_images.rb +73 -0
  409. data/lib/wx/doc/gen/wizard.rb +197 -0
  410. data/lib/wx/doc/gen/wizard_event.rb +105 -0
  411. data/lib/wx/doc/gen/wizard_page.rb +61 -0
  412. data/lib/wx/doc/gen/wizard_page_simple.rb +72 -0
  413. data/lib/wx/doc/gen/xml_node.rb +282 -0
  414. data/lib/wx/doc/gen/xml_resource.rb +304 -0
  415. data/lib/wx/doc/grid/grid.rb +20 -0
  416. data/lib/wx/doc/help_controller.rb +14 -0
  417. data/lib/wx/doc/html/html_help_controller.rb +8 -0
  418. data/lib/wx/doc/pg/events.rb +15 -0
  419. data/lib/wx/doc/pg/pg_property.rb +8 -0
  420. data/lib/wx/doc/pg/pgeditor.rb +21 -0
  421. data/lib/wx/doc/pg/property_grid.rb +48 -0
  422. data/lib/wx/doc/pg/property_grid_interface.rb +64 -0
  423. data/lib/wx/doc/prt/page_setup_dialog.rb +15 -0
  424. data/lib/wx/doc/prt/print_data.rb +9 -0
  425. data/lib/wx/doc/prt/print_dialog.rb +26 -0
  426. data/lib/wx/doc/prt/printer.rb +15 -0
  427. data/lib/wx/doc/rbn/ribbon_bar.rb +9 -0
  428. data/lib/wx/doc/rbn/ribbon_button_bar.rb +9 -0
  429. data/lib/wx/doc/rbn/ribbon_gallery.rb +9 -0
  430. data/lib/wx/doc/rbn/ribbon_tool_bar.rb +9 -0
  431. data/lib/wx/doc/rtc/richtext_printing.rb +14 -0
  432. data/lib/wx/doc/screen_dc.rb +10 -0
  433. data/lib/wx/doc/stock_objects.rb +98 -0
  434. data/lib/wx/doc/stream.rb +38 -0
  435. data/lib/wx/doc/system_settings.rb +29 -0
  436. data/lib/wx/doc/treebook.rb +9 -0
  437. data/lib/wx/doc/variant.rb +163 -0
  438. data/lib/wx/doc/xml_resource.rb +19 -0
  439. data/lib/wx/global_const.rb +84 -0
  440. data/lib/wx/grid/events/evt_list.rb +156 -0
  441. data/lib/wx/grid/grid.rb +7 -0
  442. data/lib/wx/grid/keyword_defs.rb +10 -0
  443. data/lib/wx/grid/require.rb +9 -0
  444. data/lib/wx/grid.rb +14 -0
  445. data/lib/wx/helpers.rb +65 -0
  446. data/lib/wx/html/events/evt_list.rb +37 -0
  447. data/lib/wx/html/htmlhelpcontroller.rb +6 -0
  448. data/lib/wx/html/htmlwindow.rb +19 -0
  449. data/lib/wx/html/keyword_defs.rb +22 -0
  450. data/lib/wx/html/require.rb +10 -0
  451. data/lib/wx/html.rb +15 -0
  452. data/lib/wx/keyword_ctors.rb +226 -0
  453. data/lib/wx/keyword_defs.rb +487 -0
  454. data/lib/wx/pg/events/evt_list.rb +73 -0
  455. data/lib/wx/pg/events.rb +14 -0
  456. data/lib/wx/pg/keyword_defs.rb +15 -0
  457. data/lib/wx/pg/pg_editor.rb +13 -0
  458. data/lib/wx/pg/pg_properties.rb +24 -0
  459. data/lib/wx/pg/pg_property.rb +27 -0
  460. data/lib/wx/pg/property_grid.rb +71 -0
  461. data/lib/wx/pg/property_grid_interface.rb +46 -0
  462. data/lib/wx/pg/require.rb +12 -0
  463. data/lib/wx/pg.rb +14 -0
  464. data/lib/wx/prt/keyword_defs.rb +8 -0
  465. data/lib/wx/prt/page_setup_dialog.rb +15 -0
  466. data/lib/wx/prt/previewframe.rb +13 -0
  467. data/lib/wx/prt/require.rb +8 -0
  468. data/lib/wx/prt.rb +14 -0
  469. data/lib/wx/rbn/events/evt_list.rb +102 -0
  470. data/lib/wx/rbn/events.rb +4 -0
  471. data/lib/wx/rbn/keyword_defs.rb +43 -0
  472. data/lib/wx/rbn/require.rb +12 -0
  473. data/lib/wx/rbn/ribbon_art_provider.rb +10 -0
  474. data/lib/wx/rbn/ribbon_bar.rb +12 -0
  475. data/lib/wx/rbn/ribbon_button_bar.rb +26 -0
  476. data/lib/wx/rbn/ribbon_control.rb +25 -0
  477. data/lib/wx/rbn/ribbon_gallery.rb +26 -0
  478. data/lib/wx/rbn/ribbon_page.rb +15 -0
  479. data/lib/wx/rbn/ribbon_panel.rb +15 -0
  480. data/lib/wx/rbn/ribbon_tool_bar.rb +26 -0
  481. data/lib/wx/rbn.rb +14 -0
  482. data/lib/wx/rtc/events/evt_list.rb +98 -0
  483. data/lib/wx/rtc/ext/rich_text_ctrl.rb +24 -0
  484. data/lib/wx/rtc/ext.rb +15 -0
  485. data/lib/wx/rtc/keyword_defs.rb +17 -0
  486. data/lib/wx/rtc/require.rb +8 -0
  487. data/lib/wx/rtc.rb +15 -0
  488. data/lib/wx/stc/events/evt_list.rb +178 -0
  489. data/lib/wx/stc/keyword_defs.rb +8 -0
  490. data/lib/wx/stc/require.rb +7 -0
  491. data/lib/wx/stc.rb +14 -0
  492. data/lib/wx/version.rb +3 -0
  493. data/lib/wx/wxruby/base.rb +87 -0
  494. data/lib/wx/wxruby/cmd/sampler.rb +68 -0
  495. data/lib/wx/wxruby/cmd/test.rb +27 -0
  496. data/lib/wx.rb +14 -0
  497. data/lib/wxruby_aui.so +0 -0
  498. data/lib/wxruby_core.so +0 -0
  499. data/lib/wxruby_grid.so +0 -0
  500. data/lib/wxruby_html.so +0 -0
  501. data/lib/wxruby_pg.so +0 -0
  502. data/lib/wxruby_prt.so +0 -0
  503. data/lib/wxruby_rbn.so +0 -0
  504. data/lib/wxruby_rtc.so +0 -0
  505. data/lib/wxruby_stc.so +0 -0
  506. data/rakelib/install.rb +220 -0
  507. data/rakelib/lib/config/cygwin.rb +6 -0
  508. data/rakelib/lib/config/linux.rb +78 -0
  509. data/rakelib/lib/config/macosx.rb +6 -0
  510. data/rakelib/lib/config/mingw.rb +133 -0
  511. data/rakelib/lib/config/netbsd.rb +6 -0
  512. data/rakelib/lib/config/unixish.rb +187 -0
  513. data/rakelib/lib/config.rb +673 -0
  514. data/rakelib/lib/ext/enum_chain.rb +22 -0
  515. data/rakelib/prepost.rake +91 -0
  516. data/rakelib/prepost.rb +26 -0
  517. data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +7 -0
  518. data/rakelib/yard/templates/default/layout/html/setup.rb +5 -0
  519. data/rakelib/yard/yard/relative_markdown_links/version.rb +8 -0
  520. data/rakelib/yard/yard/relative_markdown_links.rb +39 -0
  521. data/rakelib/yard/yard-custom-templates.rb +2 -0
  522. data/rakelib/yard/yard-relative_markdown_links.rb +4 -0
  523. data/samples/art/wxruby-128x128.png +0 -0
  524. data/samples/art/wxruby-256x256.png +0 -0
  525. data/samples/art/wxruby-64x64.png +0 -0
  526. data/samples/art/wxruby.ico +0 -0
  527. data/samples/art/wxruby.png +0 -0
  528. data/samples/aui/aui.rb +1321 -0
  529. data/samples/aui/tn_aui.png +0 -0
  530. data/samples/bigdemo/About.rbw +39 -0
  531. data/samples/bigdemo/ColorPanel.rbw +23 -0
  532. data/samples/bigdemo/GridSimple.rbw +78 -0
  533. data/samples/bigdemo/MDIDemo.rbw +57 -0
  534. data/samples/bigdemo/PopupMenu.rbw +146 -0
  535. data/samples/bigdemo/ShapedWindow.rbw +128 -0
  536. data/samples/bigdemo/Sizers.rbw +541 -0
  537. data/samples/bigdemo/bigdemo.rb +810 -0
  538. data/samples/bigdemo/demoTemplate.rbw +33 -0
  539. data/samples/bigdemo/helpfile.htb +0 -0
  540. data/samples/bigdemo/icons/Test 015.jpg +0 -0
  541. data/samples/bigdemo/icons/Test 015.png +0 -0
  542. data/samples/bigdemo/icons/choice.bmp +0 -0
  543. data/samples/bigdemo/icons/choice.xpm +27 -0
  544. data/samples/bigdemo/icons/combo.bmp +0 -0
  545. data/samples/bigdemo/icons/combo.xpm +27 -0
  546. data/samples/bigdemo/icons/copy.xpm +25 -0
  547. data/samples/bigdemo/icons/cut.xpm +24 -0
  548. data/samples/bigdemo/icons/gauge.bmp +0 -0
  549. data/samples/bigdemo/icons/gauge.xpm +27 -0
  550. data/samples/bigdemo/icons/help.xpm +25 -0
  551. data/samples/bigdemo/icons/list.bmp +0 -0
  552. data/samples/bigdemo/icons/list.xpm +27 -0
  553. data/samples/bigdemo/icons/mondrian.ico +0 -0
  554. data/samples/bigdemo/icons/mondrian.xpm +44 -0
  555. data/samples/bigdemo/icons/new.xpm +24 -0
  556. data/samples/bigdemo/icons/ogl.ico +0 -0
  557. data/samples/bigdemo/icons/ogl.xpm +45 -0
  558. data/samples/bigdemo/icons/open.xpm +26 -0
  559. data/samples/bigdemo/icons/paste.bmp +0 -0
  560. data/samples/bigdemo/icons/paste.xpm +38 -0
  561. data/samples/bigdemo/icons/pointy.png +0 -0
  562. data/samples/bigdemo/icons/preview.xpm +26 -0
  563. data/samples/bigdemo/icons/print.xpm +26 -0
  564. data/samples/bigdemo/icons/radio.bmp +0 -0
  565. data/samples/bigdemo/icons/radio.xpm +27 -0
  566. data/samples/bigdemo/icons/robert.xpm +415 -0
  567. data/samples/bigdemo/icons/sashtest.ico +0 -0
  568. data/samples/bigdemo/icons/save.xpm +25 -0
  569. data/samples/bigdemo/icons/smiles.bmp +0 -0
  570. data/samples/bigdemo/icons/smiles.xpm +39 -0
  571. data/samples/bigdemo/icons/smiley.ico +0 -0
  572. data/samples/bigdemo/icons/smiley.xpm +42 -0
  573. data/samples/bigdemo/icons/stattext.xpm +24 -0
  574. data/samples/bigdemo/icons/test2.bmp +0 -0
  575. data/samples/bigdemo/icons/test2.png +0 -0
  576. data/samples/bigdemo/icons/test2.xpm +79 -0
  577. data/samples/bigdemo/icons/text.bmp +0 -0
  578. data/samples/bigdemo/icons/text.xpm +27 -0
  579. data/samples/bigdemo/icons/tog1.bmp +0 -0
  580. data/samples/bigdemo/icons/tog1.xpm +38 -0
  581. data/samples/bigdemo/icons/tog2.bmp +0 -0
  582. data/samples/bigdemo/icons/tog2.xpm +38 -0
  583. data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
  584. data/samples/bigdemo/icons/wxwin.ico +0 -0
  585. data/samples/bigdemo/icons/wxwin16x16.png +0 -0
  586. data/samples/bigdemo/icons/wxwin16x16.xpm +25 -0
  587. data/samples/bigdemo/icons/wxwin32x32.png +0 -0
  588. data/samples/bigdemo/icons/wxwin48x48.png +0 -0
  589. data/samples/bigdemo/run.rb +91 -0
  590. data/samples/bigdemo/tips.txt +7 -0
  591. data/samples/bigdemo/utils.rb +12 -0
  592. data/samples/bigdemo/wxArtProvider.rbw +281 -0
  593. data/samples/bigdemo/wxBitmapButton.rbw +65 -0
  594. data/samples/bigdemo/wxButton.rbw +64 -0
  595. data/samples/bigdemo/wxCalendarCtrl.rbw +59 -0
  596. data/samples/bigdemo/wxCheckBox.rbw +50 -0
  597. data/samples/bigdemo/wxCheckListBox.rbw +65 -0
  598. data/samples/bigdemo/wxChoice.rbw +47 -0
  599. data/samples/bigdemo/wxChoicebook.rbw +78 -0
  600. data/samples/bigdemo/wxColourDialog.rbw +33 -0
  601. data/samples/bigdemo/wxComboBox.rbw +77 -0
  602. data/samples/bigdemo/wxCursor.rbw +136 -0
  603. data/samples/bigdemo/wxDialog.rbw +74 -0
  604. data/samples/bigdemo/wxDirDialog.rbw +29 -0
  605. data/samples/bigdemo/wxDragImage.rbw +70 -0
  606. data/samples/bigdemo/wxFileDialog.rbw +37 -0
  607. data/samples/bigdemo/wxFileDialog_Save.rbw +35 -0
  608. data/samples/bigdemo/wxFindReplaceDialog.rbw +82 -0
  609. data/samples/bigdemo/wxFontDialog.rbw +200 -0
  610. data/samples/bigdemo/wxFrame.rbw +53 -0
  611. data/samples/bigdemo/wxGauge.rbw +65 -0
  612. data/samples/bigdemo/wxGenericDirCtrl.rbw +74 -0
  613. data/samples/bigdemo/wxGrid.rbw +66 -0
  614. data/samples/bigdemo/wxHtmlHelpController.rbw +52 -0
  615. data/samples/bigdemo/wxListBox.rbw +140 -0
  616. data/samples/bigdemo/wxListCtrl_virtual.rbw +112 -0
  617. data/samples/bigdemo/wxMDIWindows.rbw +50 -0
  618. data/samples/bigdemo/wxMenu.rbw +247 -0
  619. data/samples/bigdemo/wxMessageDialog.rbw +27 -0
  620. data/samples/bigdemo/wxMiniFrame.rbw +70 -0
  621. data/samples/bigdemo/wxMultipleChoiceDialog.rbw +29 -0
  622. data/samples/bigdemo/wxNotebook.rbw +136 -0
  623. data/samples/bigdemo/wxProgressDialog.rbw +43 -0
  624. data/samples/bigdemo/wxRadioBox.rbw +72 -0
  625. data/samples/bigdemo/wxRadioButton.rbw +125 -0
  626. data/samples/bigdemo/wxSashWindow.rbw +141 -0
  627. data/samples/bigdemo/wxScrolledMessageDialog.rbw +57 -0
  628. data/samples/bigdemo/wxScrolledWindow.rbw +199 -0
  629. data/samples/bigdemo/wxSingleChoiceDialog.rbw +33 -0
  630. data/samples/bigdemo/wxSlider.rbw +42 -0
  631. data/samples/bigdemo/wxSpinButton.rbw +50 -0
  632. data/samples/bigdemo/wxSpinCtrl.rbw +51 -0
  633. data/samples/bigdemo/wxSplitterWindow.rbw +63 -0
  634. data/samples/bigdemo/wxStaticBitmap.rbw +47 -0
  635. data/samples/bigdemo/wxStaticText.rbw +55 -0
  636. data/samples/bigdemo/wxStatusBar.rbw +126 -0
  637. data/samples/bigdemo/wxTextCtrl.rbw +149 -0
  638. data/samples/bigdemo/wxTextEntryDialog.rbw +31 -0
  639. data/samples/bigdemo/wxToggleButton.rbw +49 -0
  640. data/samples/bigdemo/wxToolBar.rbw +131 -0
  641. data/samples/bigdemo/wxTreeCtrl.rbw +191 -0
  642. data/samples/calendar/calendar.rb +363 -0
  643. data/samples/calendar/tn_calendar.png +0 -0
  644. data/samples/caret/caret.rb +293 -0
  645. data/samples/caret/mondrian.xpm +44 -0
  646. data/samples/caret/tn_caret.png +0 -0
  647. data/samples/controls/books.rb +183 -0
  648. data/samples/controls/choice.xpm +27 -0
  649. data/samples/controls/combo.xpm +27 -0
  650. data/samples/controls/controls.rb +1143 -0
  651. data/samples/controls/gauge.xpm +27 -0
  652. data/samples/controls/get_item_sample.rb +117 -0
  653. data/samples/controls/list.xpm +27 -0
  654. data/samples/controls/mondrian.ico +0 -0
  655. data/samples/controls/mondrian.xpm +44 -0
  656. data/samples/controls/radio.xpm +27 -0
  657. data/samples/controls/stattext.xpm +24 -0
  658. data/samples/controls/test2.bmp +0 -0
  659. data/samples/controls/text.xpm +27 -0
  660. data/samples/controls/tn_books.png +0 -0
  661. data/samples/controls/tn_controls.png +0 -0
  662. data/samples/controls/tn_get_item_sample.png +0 -0
  663. data/samples/dialogs/dialogs.rb +879 -0
  664. data/samples/dialogs/tips.txt +18 -0
  665. data/samples/dialogs/tn_dialogs.png +0 -0
  666. data/samples/dialogs/tn_wizard.png +0 -0
  667. data/samples/dialogs/wizard.rb +89 -0
  668. data/samples/dragdrop/dragdrop.rb +200 -0
  669. data/samples/dragdrop/tn_dragdrop.png +0 -0
  670. data/samples/drawing/SVGlogo24.xpm +310 -0
  671. data/samples/drawing/bitmap.rb +76 -0
  672. data/samples/drawing/bitmap_image.rb +131 -0
  673. data/samples/drawing/graphics_drawing.rb +257 -0
  674. data/samples/drawing/maths_images.rb +327 -0
  675. data/samples/drawing/rmagic_bitmap_image.rb +139 -0
  676. data/samples/drawing/ruby-logo.jpg +0 -0
  677. data/samples/drawing/svgtest.rb +373 -0
  678. data/samples/drawing/tn_bitmap.png +0 -0
  679. data/samples/drawing/tn_bitmap_image.png +0 -0
  680. data/samples/drawing/tn_graphics_drawing.png +0 -0
  681. data/samples/drawing/tn_maths_images.png +0 -0
  682. data/samples/drawing/tn_rmagic_bitmap_image.png +0 -0
  683. data/samples/drawing/tn_svgtest.png +0 -0
  684. data/samples/etc/choice.rb +82 -0
  685. data/samples/etc/miniframe.rb +92 -0
  686. data/samples/etc/sash.rb +140 -0
  687. data/samples/etc/scrollwin.rb +120 -0
  688. data/samples/etc/system_settings.rb +263 -0
  689. data/samples/etc/tn_choice.png +0 -0
  690. data/samples/etc/tn_miniframe.png +0 -0
  691. data/samples/etc/tn_sash.png +0 -0
  692. data/samples/etc/tn_scrollwin.png +0 -0
  693. data/samples/etc/tn_system_settings.png +0 -0
  694. data/samples/event/activation.rb +129 -0
  695. data/samples/event/event.rb +220 -0
  696. data/samples/event/threaded.rb +141 -0
  697. data/samples/event/tn_activation.png +0 -0
  698. data/samples/event/tn_event.png +0 -0
  699. data/samples/event/tn_threaded.png +0 -0
  700. data/samples/event/tn_update_ui_event.png +0 -0
  701. data/samples/event/update_ui_event.rb +91 -0
  702. data/samples/grid/grid.rb +224 -0
  703. data/samples/grid/gridtablebase.rb +178 -0
  704. data/samples/grid/tn_grid.png +0 -0
  705. data/samples/grid/tn_gridtablebase.png +0 -0
  706. data/samples/html/8859_2.htm +14 -0
  707. data/samples/html/cp1250.htm +19 -0
  708. data/samples/html/foo.png +0 -0
  709. data/samples/html/html.rb +278 -0
  710. data/samples/html/i18n.gif +0 -0
  711. data/samples/html/imagemap.htm +20 -0
  712. data/samples/html/imagemap.png +0 -0
  713. data/samples/html/listtest.htm +28 -0
  714. data/samples/html/pic.png +0 -0
  715. data/samples/html/pic2.bmp +0 -0
  716. data/samples/html/regres.htm +20 -0
  717. data/samples/html/subsup.html +42 -0
  718. data/samples/html/tables.htm +255 -0
  719. data/samples/html/test.htm +375 -0
  720. data/samples/html/tn_html.png +0 -0
  721. data/samples/mdi/mdi.rb +118 -0
  722. data/samples/mdi/tn_mdi.png +0 -0
  723. data/samples/minimal/minimal.rb +95 -0
  724. data/samples/minimal/mondrian.ico +0 -0
  725. data/samples/minimal/mondrian.png +0 -0
  726. data/samples/minimal/nothing.rb +38 -0
  727. data/samples/minimal/tn_minimal.png +0 -0
  728. data/samples/minimal/tn_nothing.png +0 -0
  729. data/samples/printing/mondrian.ico +0 -0
  730. data/samples/printing/mondrian.xpm +44 -0
  731. data/samples/printing/printing.rb +499 -0
  732. data/samples/printing/printing2.rb +251 -0
  733. data/samples/printing/sample-text.txt +213 -0
  734. data/samples/printing/tn_printing.png +0 -0
  735. data/samples/printing/tn_printing2.png +0 -0
  736. data/samples/propgrid/propgrid.rb +2711 -0
  737. data/samples/propgrid/propgrid_minimal.rb +107 -0
  738. data/samples/propgrid/sample_props.rb +434 -0
  739. data/samples/propgrid/tn_propgrid.png +0 -0
  740. data/samples/propgrid/tn_propgrid_minimal.png +0 -0
  741. data/samples/ribbon/align_center.xpm +21 -0
  742. data/samples/ribbon/align_left.xpm +21 -0
  743. data/samples/ribbon/align_right.xpm +21 -0
  744. data/samples/ribbon/aui_style.xpm +53 -0
  745. data/samples/ribbon/auto_crop_selection.xpm +55 -0
  746. data/samples/ribbon/auto_crop_selection_small.xpm +33 -0
  747. data/samples/ribbon/circle.xpm +38 -0
  748. data/samples/ribbon/circle_small.xpm +22 -0
  749. data/samples/ribbon/colours.xpm +25 -0
  750. data/samples/ribbon/cross.xpm +38 -0
  751. data/samples/ribbon/empty.xpm +23 -0
  752. data/samples/ribbon/expand_selection_h.xpm +46 -0
  753. data/samples/ribbon/expand_selection_v.xpm +46 -0
  754. data/samples/ribbon/eye.xpm +26 -0
  755. data/samples/ribbon/hexagon.xpm +38 -0
  756. data/samples/ribbon/msw_style.xpm +65 -0
  757. data/samples/ribbon/position_left.xpm +22 -0
  758. data/samples/ribbon/position_top.xpm +22 -0
  759. data/samples/ribbon/ribbon.rb +900 -0
  760. data/samples/ribbon/ribbon.xpm +54 -0
  761. data/samples/ribbon/selection_panel.xpm +23 -0
  762. data/samples/ribbon/square.xpm +38 -0
  763. data/samples/ribbon/tn_ribbon.png +0 -0
  764. data/samples/ribbon/triangle.xpm +38 -0
  765. data/samples/sample.xpm +475 -0
  766. data/samples/sampler/back.xpm +21 -0
  767. data/samples/sampler/copy.xpm +44 -0
  768. data/samples/sampler/cut.xpm +46 -0
  769. data/samples/sampler/editor.rb +560 -0
  770. data/samples/sampler/ext.rb +51 -0
  771. data/samples/sampler/filesave.xpm +42 -0
  772. data/samples/sampler/find.xpm +62 -0
  773. data/samples/sampler/findrepl.xpm +63 -0
  774. data/samples/sampler/forward.xpm +21 -0
  775. data/samples/sampler/paste.xpm +46 -0
  776. data/samples/sampler/play.xpm +24 -0
  777. data/samples/sampler/redo.xpm +58 -0
  778. data/samples/sampler/sample.rb +347 -0
  779. data/samples/sampler/stc_editor.rb +321 -0
  780. data/samples/sampler/txt_editor.rb +130 -0
  781. data/samples/sampler/undo.xpm +58 -0
  782. data/samples/sampler.rb +394 -0
  783. data/samples/splash/mobile.xpm +1835 -0
  784. data/samples/splash/splash.png +0 -0
  785. data/samples/splash/splash.rb +164 -0
  786. data/samples/splash/tn_splash.png +0 -0
  787. data/samples/text/document-open.png +0 -0
  788. data/samples/text/document-save.png +0 -0
  789. data/samples/text/edit-copy.png +0 -0
  790. data/samples/text/edit-cut.png +0 -0
  791. data/samples/text/edit-paste.png +0 -0
  792. data/samples/text/edit-redo.png +0 -0
  793. data/samples/text/edit-undo.png +0 -0
  794. data/samples/text/format-text-bold.png +0 -0
  795. data/samples/text/format-text-italic.png +0 -0
  796. data/samples/text/format-text-underline.png +0 -0
  797. data/samples/text/mondrian.ico +0 -0
  798. data/samples/text/mondrian.xpm +44 -0
  799. data/samples/text/preferences-desktop-font.png +0 -0
  800. data/samples/text/rich_textctrl.rb +326 -0
  801. data/samples/text/scintilla.rb +179 -0
  802. data/samples/text/textctrl.rb +124 -0
  803. data/samples/text/tn_rich_textctrl.png +0 -0
  804. data/samples/text/tn_scintilla.png +0 -0
  805. data/samples/text/tn_textctrl.png +0 -0
  806. data/samples/text/tn_unicode.png +0 -0
  807. data/samples/text/unicode.rb +238 -0
  808. data/samples/text/utf8.txt +15 -0
  809. data/samples/treectrl/checked.xpm +54 -0
  810. data/samples/treectrl/icon1.xpm +79 -0
  811. data/samples/treectrl/icon2.xpm +53 -0
  812. data/samples/treectrl/icon3.xpm +79 -0
  813. data/samples/treectrl/icon4.xpm +43 -0
  814. data/samples/treectrl/icon5.xpm +79 -0
  815. data/samples/treectrl/state1.xpm +145 -0
  816. data/samples/treectrl/state2.xpm +144 -0
  817. data/samples/treectrl/state3.xpm +142 -0
  818. data/samples/treectrl/state4.xpm +145 -0
  819. data/samples/treectrl/state5.xpm +85 -0
  820. data/samples/treectrl/tn_treectrl.png +0 -0
  821. data/samples/treectrl/treectrl.rb +1720 -0
  822. data/samples/treectrl/unchecked.xpm +30 -0
  823. data/samples/xrc/custom_dialog.xrc +46 -0
  824. data/samples/xrc/custom_xrc_sample.rb +84 -0
  825. data/samples/xrc/samples.xrc +46 -0
  826. data/samples/xrc/tn_xrc_sample.png +0 -0
  827. data/samples/xrc/xrc_sample.rb +86 -0
  828. data/tests/test_basic.rb +20 -0
  829. data/tests/test_clipboard.rb +241 -0
  830. data/tests/test_dialog.rb +28 -0
  831. data/tests/test_event_handling.rb +103 -0
  832. data/tests/test_events.rb +45 -0
  833. data/tests/test_geometry.rb +141 -0
  834. data/tests/test_intl.rb +107 -0
  835. data/tests/test_item_data.rb +120 -0
  836. data/tests/test_variant.rb +151 -0
  837. data/tests/testapp.rb +40 -0
  838. data/tests/testapp_noframe.rb +28 -0
  839. metadata +930 -0
@@ -0,0 +1,4000 @@
1
+ # :stopdoc:
2
+ # This file is automatically generated by the WXRuby3 documentation
3
+ # generator. Do not alter this file.
4
+ # :startdoc:
5
+
6
+
7
+ module Wx::STC
8
+
9
+ # A wxWidgets implementation of the Scintilla source code editing component.
10
+ # 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
+ # 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
+ # {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
+ # Please see {Wx::STC::StyledTextEvent} for the documentation of all event types you can use with {Wx::STC::StyledTextCtrl}.
14
+ #
15
+ # == Index of the member groups
16
+ #
17
+ # Links for quick access to the various categories of {Wx::STC::StyledTextCtrl} functions:
18
+ # - Constructors and related methods- Text retrieval and modification- Searching and replacing- Overtype- Cut copy and paste- Error handling- Undo and Redo- Selection and information- Multiple Selection and Virtual Space- Scrolling and automatic scrolling- White space- Cursor- Mouse capture- Line endings- Words- Styling- Style definition- Caret selection and hotspot styles- Character representations- Margins- Annotations- Other settings- Brace highlighting- Tabs and Indentation Guides- Markers- Indicators- Autocompletion- User lists- Call tips- Keyboard commands- Key bindings- Popup edit menu- Macro recording- Printing- Direct access- Multiple views- Background loading and saving- Folding- Line wrapping- Zooming- Long lines- Lexer- Event related items- Deprecated items- Additional {Wx::STC::StyledTextCtrl} methods- Raw variants- Text entry methods- Text area methods
19
+ #
20
+ # ===
21
+ #
22
+ # Category: Scintilla Text Editor
23
+ # @see Wx::STC::StyledTextEvent
24
+ #
25
+ #
26
+ class StyledTextCtrl < Control
27
+
28
+ # @overload initialize(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STC_NAME_STR)
29
+ # Ctor.
30
+ # @param parent [Wx::Window]
31
+ # @param id [Integer]
32
+ # @param pos [Array(Integer, Integer), Wx::Point]
33
+ # @param size [Array(Integer, Integer), Wx::Size]
34
+ # @param style [Integer]
35
+ # @param name [String]
36
+ # @return [StyledTextCtrl]
37
+ # @overload initialize()
38
+ # Default ctor.
39
+ # @return [StyledTextCtrl]
40
+ def initialize(*args) end
41
+
42
+ # Create the UI elements for a STC that was created with the default ctor.
43
+ # (For 2-phase create.)
44
+ # @param parent [Wx::Window]
45
+ # @param id [Integer]
46
+ # @param pos [Array(Integer, Integer), Wx::Point]
47
+ # @param size [Array(Integer, Integer), Wx::Size]
48
+ # @param style [Integer]
49
+ # @param name [String]
50
+ # @return [true,false]
51
+ def create(parent, id=Wx::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::STC_NAME_STR) end
52
+
53
+ # Add text to the document at current position.
54
+ # @param text [String]
55
+ # @return [void]
56
+ def add_text(text) end
57
+
58
+ # Add array of cells to document.
59
+ # @param data [Wx::MemoryBuffer]
60
+ # @return [void]
61
+ def add_styled_text(data) end
62
+
63
+ # Insert string at a position.
64
+ # @param pos [Integer]
65
+ # @param text [String]
66
+ # @return [void]
67
+ def insert_text(pos, text) end
68
+
69
+ # Change the text that is being inserted in response to {Wx::STC::STC_MOD_INSERTCHECK}.
70
+ # @param length [Integer]
71
+ # @param text [String]
72
+ # @return [void]
73
+ def change_insertion(length, text) end
74
+
75
+ # Delete all text in the document.
76
+ # @return [void]
77
+ def clear_all; end
78
+
79
+ # Delete a range of text in the document.
80
+ # @param start [Integer]
81
+ # @param lengthDelete [Integer]
82
+ # @return [void]
83
+ def delete_range(start, lengthDelete) end
84
+
85
+ # Set all style bytes to 0, remove all folding information.
86
+ # @return [void]
87
+ def clear_document_style; end
88
+
89
+ # Returns the character byte at the position.
90
+ # @param pos [Integer]
91
+ # @return [Integer]
92
+ def get_char_at(pos) end
93
+ alias_method :char_at, :get_char_at
94
+
95
+ # Returns the style byte at the position.
96
+ # @param pos [Integer]
97
+ # @return [Integer]
98
+ def get_style_at(pos) end
99
+ alias_method :style_at, :get_style_at
100
+
101
+ # Remember the current position in the undo history as the position at which the document was saved.
102
+ # @return [void]
103
+ def set_save_point; end
104
+
105
+ # Retrieve a buffer of cells.
106
+ # @param startPos [Integer]
107
+ # @param endPos [Integer]
108
+ # @return [Wx::MemoryBuffer]
109
+ def get_styled_text(startPos, endPos) end
110
+ alias_method :styled_text, :get_styled_text
111
+
112
+ # In read-only mode?
113
+ # @return [true,false]
114
+ def get_read_only; end
115
+ alias_method :read_only, :get_read_only
116
+
117
+ # Retrieve the contents of a line.
118
+ # @param line [Integer]
119
+ # @return [String]
120
+ def get_line(line) end
121
+ alias_method :line, :get_line
122
+
123
+ # Retrieve a range of text.
124
+ # @param startPos [Integer]
125
+ # @param endPos [Integer]
126
+ # @return [String]
127
+ def get_text_range(startPos, endPos) end
128
+ alias_method :text_range, :get_text_range
129
+
130
+ # Replace the selected text with the argument text.
131
+ # @param text [String]
132
+ # @return [void]
133
+ def replace_selection(text) end
134
+
135
+ # Set to read only or read write.
136
+ # @param readOnly [true,false]
137
+ # @return [void]
138
+ def set_read_only(readOnly) end
139
+ alias_method :read_only=, :set_read_only
140
+
141
+ # Replace the contents of the document with the argument text.
142
+ # @param text [String]
143
+ # @return [void]
144
+ def set_text(text) end
145
+ alias_method :text=, :set_text
146
+
147
+ # Retrieve all the text in the document.
148
+ # @return [String]
149
+ def get_text; end
150
+ alias_method :text, :get_text
151
+
152
+ # Append a string to the end of the document without changing the selection.
153
+ # @param text [String]
154
+ # @return [void]
155
+ def append_text(text) end
156
+
157
+ # Enlarge the document to a particular size of text bytes.
158
+ # @param bytes [Integer]
159
+ # @return [void]
160
+ def allocate(bytes) end
161
+
162
+ # Release all extended (>255) style numbers.
163
+ # @return [void]
164
+ def release_all_extended_styles; end
165
+
166
+ # Allocate some extended (>255) style numbers and return the start of the range.
167
+ # @param numberStyles [Integer]
168
+ # @return [Integer]
169
+ def allocate_extended_styles(numberStyles) end
170
+
171
+ # Find some text in the document.
172
+ # The position (starting from zero) in the document at which the text was found or {Wx::STC::STC_INVALID_POSITION} if the search fails.
173
+ #
174
+ # A backwards search can be performed by setting minPos to be greater than maxPos.
175
+ # @param minPos [Integer] The position (starting from zero) in the document at which to begin the search
176
+ # @param maxPos [Integer] The last position (starting from zero) in the document to which the search will be restricted.
177
+ # @param text [String] The text to search for.
178
+ # @param flags [Integer] (Optional) The search flags. This should be a bit list containing one or more of the wxSTC_FIND_* constants.
179
+ # @return [Array(Integer,Integer)]
180
+ def find_text(minPos, maxPos, text, flags=0) end
181
+
182
+ # Sets the position that starts the target which is used for updating the document without affecting the scroll position.
183
+ # @param start [Integer]
184
+ # @return [void]
185
+ def set_target_start(start) end
186
+ alias_method :target_start=, :set_target_start
187
+
188
+ # Get the position that starts the target.
189
+ # @return [Integer]
190
+ def get_target_start; end
191
+ alias_method :target_start, :get_target_start
192
+
193
+ # Sets the position that ends the target which is used for updating the document without affecting the scroll position.
194
+ # @param end_ [Integer]
195
+ # @return [void]
196
+ def set_target_end(end_) end
197
+ alias_method :target_end=, :set_target_end
198
+
199
+ # Get the position that ends the target.
200
+ # @return [Integer]
201
+ def get_target_end; end
202
+ alias_method :target_end, :get_target_end
203
+
204
+ # Sets both the start and end of the target in one call.
205
+ # @param start [Integer]
206
+ # @param end_ [Integer]
207
+ # @return [void]
208
+ def set_target_range(start, end_) end
209
+
210
+ # Retrieve the text in the target.
211
+ # @return [String]
212
+ def get_target_text; end
213
+ alias_method :target_text, :get_target_text
214
+
215
+ # Make the target range start and end be the same as the selection range start and end.
216
+ # @return [void]
217
+ def target_from_selection; end
218
+
219
+ # Sets the target to the whole document.
220
+ # @return [void]
221
+ def target_whole_document; end
222
+
223
+ # Replace the target text with the argument text.
224
+ # Text is counted so it can contain NULs. Returns the length of the replacement text.
225
+ # @param text [String]
226
+ # @return [Integer]
227
+ def replace_target(text) end
228
+
229
+ # Replace the target text with the argument text after \d processing.
230
+ # 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.
231
+ # @param text [String]
232
+ # @return [Integer]
233
+ def replace_target_re(text) end
234
+
235
+ # Search for a counted string in the target and set the target to the found range.
236
+ # Text is counted so it can contain NULs. Returns length of range or -1 for failure in which case target is not moved.
237
+ # @param text [String]
238
+ # @return [Integer]
239
+ def search_in_target(text) end
240
+
241
+ # Set the search flags used by SearchInTarget.
242
+ # The input should be a bit list containing one or more of the wxSTC_FIND_* constants.
243
+ # @param searchFlags [Integer]
244
+ # @return [void]
245
+ def set_search_flags(searchFlags) end
246
+ alias_method :search_flags=, :set_search_flags
247
+
248
+ # Get the search flags used by SearchInTarget.
249
+ # The return value will be a bit list containing one or more of the wxSTC_FIND_* constants.
250
+ # @return [Integer]
251
+ def get_search_flags; end
252
+ alias_method :search_flags, :get_search_flags
253
+
254
+ # Retrieve the value of a tag from a regular expression search.
255
+ # @param tagNumber [Integer]
256
+ # @return [String]
257
+ def get_tag(tagNumber) end
258
+ alias_method :tag, :get_tag
259
+
260
+ # Sets the current caret position to be the search anchor.
261
+ # @return [void]
262
+ def search_anchor; end
263
+
264
+ # Find some text starting at the search anchor.
265
+ # Does not ensure the selection is visible.
266
+ # @param searchFlags [Integer]
267
+ # @param text [String]
268
+ # @return [Integer]
269
+ def search_next(searchFlags, text) end
270
+
271
+ # Find some text starting at the search anchor and moving backwards.
272
+ # Does not ensure the selection is visible.
273
+ # @param searchFlags [Integer]
274
+ # @param text [String]
275
+ # @return [Integer]
276
+ def search_prev(searchFlags, text) end
277
+
278
+ # Set to overtype (true) or insert mode.
279
+ # @param overType [true,false]
280
+ # @return [void]
281
+ def set_overtype(overType) end
282
+ alias_method :overtype=, :set_overtype
283
+
284
+ # Returns true if overtype mode is active otherwise false is returned.
285
+ # @return [true,false]
286
+ def get_overtype; end
287
+ alias_method :overtype, :get_overtype
288
+
289
+ # Will a paste succeed?
290
+ # @return [true,false]
291
+ def can_paste; end
292
+ alias_method :can_paste?, :can_paste
293
+
294
+ # Cut the selection to the clipboard.
295
+ # @return [void]
296
+ def cut; end
297
+
298
+ # Copy the selection to the clipboard.
299
+ # @return [void]
300
+ def copy; end
301
+
302
+ # Paste the contents of the clipboard into the document replacing the selection.
303
+ # @return [void]
304
+ def paste; end
305
+
306
+ # Clear the selection.
307
+ # @return [void]
308
+ def clear; end
309
+
310
+ # Copy a range of text to the clipboard.
311
+ # Positions are clipped into the document.
312
+ # @param start [Integer]
313
+ # @param end_ [Integer]
314
+ # @return [void]
315
+ def copy_range(start, end_) end
316
+
317
+ # Copy argument text to the clipboard.
318
+ # @param length [Integer]
319
+ # @param text [String]
320
+ # @return [void]
321
+ def copy_text(length, text) end
322
+
323
+ # Enable/Disable convert-on-paste for line endings.
324
+ # @param convert [true,false]
325
+ # @return [void]
326
+ def set_paste_convert_endings(convert) end
327
+ alias_method :paste_convert_endings=, :set_paste_convert_endings
328
+
329
+ # Get convert-on-paste setting.
330
+ # @return [true,false]
331
+ def get_paste_convert_endings; end
332
+ alias_method :paste_convert_endings, :get_paste_convert_endings
333
+
334
+ # Copy the selection, if selection empty copy the line with the caret.
335
+ # @return [void]
336
+ def copy_allow_line; end
337
+
338
+ # Change error status - 0 = OK.
339
+ # The input should be one of the wxSTC_STATUS_* constants.
340
+ # @param status [Integer]
341
+ # @return [void]
342
+ def set_status(status) end
343
+ alias_method :status=, :set_status
344
+
345
+ # Get error status.
346
+ # The return value will be one of the wxSTC_STATUS_* constants.
347
+ # @return [Integer]
348
+ def get_status; end
349
+ alias_method :status, :get_status
350
+
351
+ # Redoes the next action on the undo history.
352
+ # @return [void]
353
+ def redo_; end
354
+
355
+ # Choose between collecting actions into the undo history and discarding them.
356
+ # @param collectUndo [true,false]
357
+ # @return [void]
358
+ def set_undo_collection(collectUndo) end
359
+ alias_method :undo_collection=, :set_undo_collection
360
+
361
+ # Are there any redoable actions in the undo history?
362
+ # @return [true,false]
363
+ def can_redo; end
364
+ alias_method :can_redo?, :can_redo
365
+
366
+ # Is undo history being collected?
367
+ # @return [true,false]
368
+ def get_undo_collection; end
369
+ alias_method :undo_collection, :get_undo_collection
370
+
371
+ # Start a sequence of actions that is undone and redone as a unit.
372
+ # May be nested.
373
+ # @return [void]
374
+ def begin_undo_action; end
375
+
376
+ # End a sequence of actions that is undone and redone as a unit.
377
+ # @return [void]
378
+ def end_undo_action; end
379
+
380
+ # Are there any undoable actions in the undo history?
381
+ # @return [true,false]
382
+ def can_undo; end
383
+ alias_method :can_undo?, :can_undo
384
+
385
+ # Delete the undo history.
386
+ # @return [void]
387
+ def empty_undo_buffer; end
388
+
389
+ # Undo one action in the undo history.
390
+ # @return [void]
391
+ def undo; end
392
+
393
+ # Add a container action to the undo stack.
394
+ # The flags argument can be either 0 or {Wx::STC::STC_UNDO_MAY_COALESCE}.
395
+ # @param token [Integer]
396
+ # @param flags [Integer]
397
+ # @return [void]
398
+ def add_undo_action(token, flags) end
399
+
400
+ # Returns the number of bytes in the document.
401
+ # @return [Integer]
402
+ def get_length; end
403
+ alias_method :length, :get_length
404
+
405
+ # Returns the position of the caret.
406
+ # @return [Integer]
407
+ def get_current_pos; end
408
+ alias_method :current_pos, :get_current_pos
409
+
410
+ # Returns the position of the opposite end of the selection to the caret.
411
+ # @return [Integer]
412
+ def get_anchor; end
413
+ alias_method :anchor, :get_anchor
414
+
415
+ # Select all the text in the document.
416
+ # @return [void]
417
+ def select_all; end
418
+
419
+ # Find the position from a point within the window.
420
+ # @param pt [Wx::Point]
421
+ # @return [Integer]
422
+ def position_from_point(pt) end
423
+
424
+ # Find the position from a point within the window but return {Wx::STC::STC_INVALID_POSITION} if not close to text.
425
+ # @param x [Integer]
426
+ # @param y [Integer]
427
+ # @return [Integer]
428
+ def position_from_point_close(x, y) end
429
+
430
+ # Set caret to start of a line and ensure it is visible.
431
+ # @param line [Integer]
432
+ # @return [void]
433
+ def goto_line(line) end
434
+
435
+ # Set caret to a position and ensure it is visible.
436
+ # @param caret [Integer]
437
+ # @return [void]
438
+ def goto_pos(caret) end
439
+
440
+ # Set the selection anchor to a position.
441
+ # The anchor is the opposite end of the selection from the caret.
442
+ # @param anchor [Integer]
443
+ # @return [void]
444
+ def set_anchor(anchor) end
445
+ alias_method :anchor=, :set_anchor
446
+
447
+ # Retrieve the text of the line containing the caret.
448
+ # linePos can optionally be passed in to receive the index of the caret on the line.
449
+ # @return [Array(String,Integer)]
450
+ def get_cur_line; end
451
+ alias_method :cur_line, :get_cur_line
452
+
453
+ # Retrieve the column number of a position, taking tab width into account.
454
+ # @param pos [Integer]
455
+ # @return [Integer]
456
+ def get_column(pos) end
457
+ alias_method :column, :get_column
458
+
459
+ # Count characters between two positions.
460
+ # @param start [Integer]
461
+ # @param end_ [Integer]
462
+ # @return [Integer]
463
+ def count_characters(start, end_) end
464
+
465
+ # Get the position after the last visible characters on a line.
466
+ # @param line [Integer]
467
+ # @return [Integer]
468
+ def get_line_end_position(line) end
469
+ alias_method :line_end_position, :get_line_end_position
470
+
471
+ # Sets the position of the caret.
472
+ # @param caret [Integer]
473
+ # @return [void]
474
+ def set_current_pos(caret) end
475
+ alias_method :current_pos=, :set_current_pos
476
+
477
+ # Sets the position that starts the selection - this becomes the anchor.
478
+ # @param anchor [Integer]
479
+ # @return [void]
480
+ def set_selection_start(anchor) end
481
+ alias_method :selection_start=, :set_selection_start
482
+
483
+ # Returns the position at the start of the selection.
484
+ # @return [Integer]
485
+ def get_selection_start; end
486
+ alias_method :selection_start, :get_selection_start
487
+
488
+ # Sets the position that ends the selection - this becomes the caret.
489
+ # @param caret [Integer]
490
+ # @return [void]
491
+ def set_selection_end(caret) end
492
+ alias_method :selection_end=, :set_selection_end
493
+
494
+ # Returns the position at the end of the selection.
495
+ # @return [Integer]
496
+ def get_selection_end; end
497
+ alias_method :selection_end, :get_selection_end
498
+
499
+ # Set caret to a position, while removing any existing selection.
500
+ # @param caret [Integer]
501
+ # @return [void]
502
+ def set_empty_selection(caret) end
503
+ alias_method :empty_selection=, :set_empty_selection
504
+
505
+ # Returns the number of lines in the document.
506
+ # There is always at least one.
507
+ # @return [Integer]
508
+ def get_line_count; end
509
+ alias_method :line_count, :get_line_count
510
+
511
+ # Is the document different from when it was last saved?
512
+ # @return [true,false]
513
+ def get_modify; end
514
+ alias_method :modify, :get_modify
515
+
516
+ # Retrieve the selected text.
517
+ # @return [String]
518
+ def get_selected_text; end
519
+ alias_method :selected_text, :get_selected_text
520
+
521
+ # Draw the selection in normal style or with selection highlighted.
522
+ # @param hide [true,false]
523
+ # @return [void]
524
+ def hide_selection(hide) end
525
+
526
+ # Retrieve the point in the window where a position is displayed.
527
+ # @param pos [Integer]
528
+ # @return [Wx::Point]
529
+ def point_from_position(pos) end
530
+
531
+ # Retrieve the line containing a position.
532
+ # @param pos [Integer]
533
+ # @return [Integer]
534
+ def line_from_position(pos) end
535
+
536
+ # Retrieve the position at the start of a line.
537
+ # @param line [Integer]
538
+ # @return [Integer]
539
+ def position_from_line(line) end
540
+
541
+ # Retrieve the number of characters in the document.
542
+ # @return [Integer]
543
+ def get_text_length; end
544
+ alias_method :text_length, :get_text_length
545
+
546
+ # Measure the pixel width of some text in a particular style.
547
+ # Does not handle tab or control characters.
548
+ # @param style [Integer]
549
+ # @param text [String]
550
+ # @return [Integer]
551
+ def text_width(style, text) end
552
+
553
+ # Retrieve the height of a particular line of text in pixels.
554
+ # @param line [Integer]
555
+ # @return [Integer]
556
+ def text_height(line) end
557
+
558
+ # Move the caret inside current view if it's not there already.
559
+ # @return [void]
560
+ def move_caret_inside_view; end
561
+
562
+ # How many characters are on a line, including end of line characters?
563
+ # @param line [Integer]
564
+ # @return [Integer]
565
+ def line_length(line) end
566
+
567
+ # Retrieves the number of lines completely visible.
568
+ # @return [Integer]
569
+ def lines_on_screen; end
570
+
571
+ # Is the selection rectangular? The alternative is the more common stream selection.
572
+ # @return [true,false]
573
+ def selection_is_rectangle; end
574
+
575
+ # Set the last x chosen value to be the caret x position.
576
+ # @return [void]
577
+ def choose_caret_x; end
578
+
579
+ # Given a valid document position, return the previous position taking code page into account.
580
+ # Returns 0 if passed 0.
581
+ # @param pos [Integer]
582
+ # @return [Integer]
583
+ def position_before(pos) end
584
+
585
+ # Given a valid document position, return the next position taking code page into account.
586
+ # Maximum value returned is the last position in the document.
587
+ # @param pos [Integer]
588
+ # @return [Integer]
589
+ def position_after(pos) end
590
+
591
+ # Given a valid document position, return a position that differs in a number of characters.
592
+ # Returned value is always between 0 and last position in document.
593
+ # @param pos [Integer]
594
+ # @param relative [Integer]
595
+ # @return [Integer]
596
+ def position_relative(pos, relative) end
597
+
598
+ # Set the selection mode to stream ({Wx::STC::STC_SEL_STREAM}) or rectangular ({Wx::STC::STC_SEL_RECTANGLE}/{Wx::STC::STC_SEL_THIN}) or by lines ({Wx::STC::STC_SEL_LINES}).
599
+ # @param selectionMode [Integer]
600
+ # @return [void]
601
+ def set_selection_mode(selectionMode) end
602
+ alias_method :selection_mode=, :set_selection_mode
603
+
604
+ # Get the mode of the current selection.
605
+ # The return value will be one of the wxSTC_SEL_* constants.
606
+ # @return [Integer]
607
+ def get_selection_mode; end
608
+ alias_method :selection_mode, :get_selection_mode
609
+
610
+ # Retrieve the position of the start of the selection at the given line ({Wx::STC::STC_INVALID_POSITION} if no selection on this line).
611
+ # @param line [Integer]
612
+ # @return [Integer]
613
+ def get_line_sel_start_position(line) end
614
+ alias_method :line_sel_start_position, :get_line_sel_start_position
615
+
616
+ # Retrieve the position of the end of the selection at the given line ({Wx::STC::STC_INVALID_POSITION} if no selection on this line).
617
+ # @param line [Integer]
618
+ # @return [Integer]
619
+ def get_line_sel_end_position(line) end
620
+ alias_method :line_sel_end_position, :get_line_sel_end_position
621
+
622
+ # Find the position of a column on a line taking into account tabs and multi-byte characters.
623
+ # If beyond end of line, return line end position.
624
+ # @param line [Integer]
625
+ # @param column [Integer]
626
+ # @return [Integer]
627
+ def find_column(line, column) end
628
+
629
+ # Find the position of a character from a point within the window.
630
+ # @param x [Integer]
631
+ # @param y [Integer]
632
+ # @return [Integer]
633
+ def char_position_from_point(x, y) end
634
+
635
+ # Find the position of a character from a point within the window.
636
+ # Return {Wx::STC::STC_INVALID_POSITION} if not close to text.
637
+ # @param x [Integer]
638
+ # @param y [Integer]
639
+ # @return [Integer]
640
+ def char_position_from_point_close(x, y) end
641
+
642
+ # Set whether switching to rectangular mode while selecting with the mouse is allowed.
643
+ # @param mouseSelectionRectangularSwitch [true,false]
644
+ # @return [void]
645
+ def set_mouse_selection_rectangular_switch(mouseSelectionRectangularSwitch) end
646
+ alias_method :mouse_selection_rectangular_switch=, :set_mouse_selection_rectangular_switch
647
+
648
+ # Whether switching to rectangular mode while selecting with the mouse is allowed.
649
+ # @return [true,false]
650
+ def get_mouse_selection_rectangular_switch; end
651
+ alias_method :mouse_selection_rectangular_switch, :get_mouse_selection_rectangular_switch
652
+
653
+ # Move the selected lines up one line, shifting the line above after the selection.
654
+ # @return [void]
655
+ def move_selected_lines_up; end
656
+
657
+ # Move the selected lines down one line, shifting the line below before the selection.
658
+ # @return [void]
659
+ def move_selected_lines_down; end
660
+
661
+ # Change the effect of pasting when there are multiple selections.
662
+ # The input should be one of the wxSTC_MULTIPASTE_* constants.
663
+ # @param multiPaste [Integer]
664
+ # @return [void]
665
+ def set_multi_paste(multiPaste) end
666
+ alias_method :multi_paste=, :set_multi_paste
667
+
668
+ # Retrieve the effect of pasting when there are multiple selections.
669
+ # The return value will be one of the wxSTC_MULTIPASTE_* constants.
670
+ # @return [Integer]
671
+ def get_multi_paste; end
672
+ alias_method :multi_paste, :get_multi_paste
673
+
674
+ # Set whether multiple selections can be made.
675
+ # @param multipleSelection [true,false]
676
+ # @return [void]
677
+ def set_multiple_selection(multipleSelection) end
678
+ alias_method :multiple_selection=, :set_multiple_selection
679
+
680
+ # Whether multiple selections can be made.
681
+ # @return [true,false]
682
+ def get_multiple_selection; end
683
+ alias_method :multiple_selection, :get_multiple_selection
684
+
685
+ # Set whether typing can be performed into multiple selections.
686
+ # @param additionalSelectionTyping [true,false]
687
+ # @return [void]
688
+ def set_additional_selection_typing(additionalSelectionTyping) end
689
+ alias_method :additional_selection_typing=, :set_additional_selection_typing
690
+
691
+ # Whether typing can be performed into multiple selections.
692
+ # @return [true,false]
693
+ def get_additional_selection_typing; end
694
+ alias_method :additional_selection_typing, :get_additional_selection_typing
695
+
696
+ # Set whether additional carets will blink.
697
+ # @param additionalCaretsBlink [true,false]
698
+ # @return [void]
699
+ def set_additional_carets_blink(additionalCaretsBlink) end
700
+ alias_method :additional_carets_blink=, :set_additional_carets_blink
701
+
702
+ # Whether additional carets will blink.
703
+ # @return [true,false]
704
+ def get_additional_carets_blink; end
705
+ alias_method :additional_carets_blink, :get_additional_carets_blink
706
+
707
+ # Set whether additional carets are visible.
708
+ # @param additionalCaretsVisible [true,false]
709
+ # @return [void]
710
+ def set_additional_carets_visible(additionalCaretsVisible) end
711
+ alias_method :additional_carets_visible=, :set_additional_carets_visible
712
+
713
+ # Whether additional carets are visible.
714
+ # @return [true,false]
715
+ def get_additional_carets_visible; end
716
+ alias_method :additional_carets_visible, :get_additional_carets_visible
717
+
718
+ # How many selections are there?
719
+ # @return [Integer]
720
+ def get_selections; end
721
+ alias_method :selections, :get_selections
722
+
723
+ # Is every selected range empty?
724
+ # @return [true,false]
725
+ def get_selection_empty; end
726
+ alias_method :selection_empty, :get_selection_empty
727
+
728
+ # Clear selections to a single empty stream selection.
729
+ # @return [void]
730
+ def clear_selections; end
731
+
732
+ # Add a selection.
733
+ # @param caret [Integer]
734
+ # @param anchor [Integer]
735
+ # @return [Integer]
736
+ def add_selection(caret, anchor) end
737
+
738
+ # Drop one selection.
739
+ # @param selection [Integer]
740
+ # @return [void]
741
+ def drop_selection_n(selection) end
742
+
743
+ # Set the main selection.
744
+ # @param selection [Integer]
745
+ # @return [void]
746
+ def set_main_selection(selection) end
747
+ alias_method :main_selection=, :set_main_selection
748
+
749
+ # Which selection is the main selection.
750
+ # @return [Integer]
751
+ def get_main_selection; end
752
+ alias_method :main_selection, :get_main_selection
753
+
754
+ # Set the caret position of the nth selection.
755
+ # @param selection [Integer]
756
+ # @param caret [Integer]
757
+ # @return [void]
758
+ def set_selection_n_caret(selection, caret) end
759
+
760
+ # Return the caret position of the nth selection.
761
+ # @param selection [Integer]
762
+ # @return [Integer]
763
+ def get_selection_n_caret(selection) end
764
+ alias_method :selection_n_caret, :get_selection_n_caret
765
+
766
+ # Set the anchor position of the nth selection.
767
+ # @param selection [Integer]
768
+ # @param anchor [Integer]
769
+ # @return [void]
770
+ def set_selection_n_anchor(selection, anchor) end
771
+
772
+ # Return the anchor position of the nth selection.
773
+ # @param selection [Integer]
774
+ # @return [Integer]
775
+ def get_selection_n_anchor(selection) end
776
+ alias_method :selection_n_anchor, :get_selection_n_anchor
777
+
778
+ # Set the virtual space of the caret of the nth selection.
779
+ # @param selection [Integer]
780
+ # @param space [Integer]
781
+ # @return [void]
782
+ def set_selection_n_caret_virtual_space(selection, space) end
783
+
784
+ # Return the virtual space of the caret of the nth selection.
785
+ # @param selection [Integer]
786
+ # @return [Integer]
787
+ def get_selection_n_caret_virtual_space(selection) end
788
+ alias_method :selection_n_caret_virtual_space, :get_selection_n_caret_virtual_space
789
+
790
+ # Set the virtual space of the anchor of the nth selection.
791
+ # @param selection [Integer]
792
+ # @param space [Integer]
793
+ # @return [void]
794
+ def set_selection_n_anchor_virtual_space(selection, space) end
795
+
796
+ # Return the virtual space of the anchor of the nth selection.
797
+ # @param selection [Integer]
798
+ # @return [Integer]
799
+ def get_selection_n_anchor_virtual_space(selection) end
800
+ alias_method :selection_n_anchor_virtual_space, :get_selection_n_anchor_virtual_space
801
+
802
+ # Sets the position that starts the selection - this becomes the anchor.
803
+ # @param selection [Integer]
804
+ # @param anchor [Integer]
805
+ # @return [void]
806
+ def set_selection_n_start(selection, anchor) end
807
+
808
+ # Returns the position at the start of the selection.
809
+ # @param selection [Integer]
810
+ # @return [Integer]
811
+ def get_selection_n_start(selection) end
812
+ alias_method :selection_n_start, :get_selection_n_start
813
+
814
+ # Sets the position that ends the selection - this becomes the currentPosition.
815
+ # @param selection [Integer]
816
+ # @param caret [Integer]
817
+ # @return [void]
818
+ def set_selection_n_end(selection, caret) end
819
+
820
+ # Returns the position at the end of the selection.
821
+ # @param selection [Integer]
822
+ # @return [Integer]
823
+ def get_selection_n_end(selection) end
824
+ alias_method :selection_n_end, :get_selection_n_end
825
+
826
+ # Set the caret position of the rectangular selection.
827
+ # @param caret [Integer]
828
+ # @return [void]
829
+ def set_rectangular_selection_caret(caret) end
830
+ alias_method :rectangular_selection_caret=, :set_rectangular_selection_caret
831
+
832
+ # Return the caret position of the rectangular selection.
833
+ # @return [Integer]
834
+ def get_rectangular_selection_caret; end
835
+ alias_method :rectangular_selection_caret, :get_rectangular_selection_caret
836
+
837
+ # Set the anchor position of the rectangular selection.
838
+ # @param anchor [Integer]
839
+ # @return [void]
840
+ def set_rectangular_selection_anchor(anchor) end
841
+ alias_method :rectangular_selection_anchor=, :set_rectangular_selection_anchor
842
+
843
+ # Return the anchor position of the rectangular selection.
844
+ # @return [Integer]
845
+ def get_rectangular_selection_anchor; end
846
+ alias_method :rectangular_selection_anchor, :get_rectangular_selection_anchor
847
+
848
+ # Set the virtual space of the caret of the rectangular selection.
849
+ # @param space [Integer]
850
+ # @return [void]
851
+ def set_rectangular_selection_caret_virtual_space(space) end
852
+ alias_method :rectangular_selection_caret_virtual_space=, :set_rectangular_selection_caret_virtual_space
853
+
854
+ # Return the virtual space of the caret of the rectangular selection.
855
+ # @return [Integer]
856
+ def get_rectangular_selection_caret_virtual_space; end
857
+ alias_method :rectangular_selection_caret_virtual_space, :get_rectangular_selection_caret_virtual_space
858
+
859
+ # Set the virtual space of the anchor of the rectangular selection.
860
+ # @param space [Integer]
861
+ # @return [void]
862
+ def set_rectangular_selection_anchor_virtual_space(space) end
863
+ alias_method :rectangular_selection_anchor_virtual_space=, :set_rectangular_selection_anchor_virtual_space
864
+
865
+ # Return the virtual space of the anchor of the rectangular selection.
866
+ # @return [Integer]
867
+ def get_rectangular_selection_anchor_virtual_space; end
868
+ alias_method :rectangular_selection_anchor_virtual_space, :get_rectangular_selection_anchor_virtual_space
869
+
870
+ # Set options for virtual space behaviour.
871
+ # The input should be one of the wxSTC_VS_* constants.
872
+ # @param virtualSpaceOptions [Integer]
873
+ # @return [void]
874
+ def set_virtual_space_options(virtualSpaceOptions) end
875
+ alias_method :virtual_space_options=, :set_virtual_space_options
876
+
877
+ # Return options for virtual space behaviour.
878
+ # The return value will be one of the wxSTC_VS_* constants.
879
+ # @return [Integer]
880
+ def get_virtual_space_options; end
881
+ alias_method :virtual_space_options, :get_virtual_space_options
882
+
883
+ # On GTK+, allow selecting the modifier key to use for mouse-based rectangular selection.
884
+ # 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}.
885
+ # @param modifier [Integer]
886
+ # @return [void]
887
+ def set_rectangular_selection_modifier(modifier) end
888
+ alias_method :rectangular_selection_modifier=, :set_rectangular_selection_modifier
889
+
890
+ # Get the modifier key used for rectangular selection.
891
+ # The return value will be a bit list containing one or more of the wxSTC_KEYMOD_* constants.
892
+ # @return [Integer]
893
+ def get_rectangular_selection_modifier; end
894
+ alias_method :rectangular_selection_modifier, :get_rectangular_selection_modifier
895
+
896
+ # Set the foreground colour of additional selections.
897
+ # Must have previously called SetSelFore with non-zero first argument for this to have an effect.
898
+ # @param fore [Wx::Colour,String,Symbol]
899
+ # @return [void]
900
+ def set_additional_sel_foreground(fore) end
901
+ alias_method :additional_sel_foreground=, :set_additional_sel_foreground
902
+
903
+ # Set the background colour of additional selections.
904
+ # Must have previously called SetSelBack with non-zero first argument for this to have an effect.
905
+ # @param back [Wx::Colour,String,Symbol]
906
+ # @return [void]
907
+ def set_additional_sel_background(back) end
908
+ alias_method :additional_sel_background=, :set_additional_sel_background
909
+
910
+ # Set the alpha of the selection.
911
+ # @param alpha [Integer]
912
+ # @return [void]
913
+ def set_additional_sel_alpha(alpha) end
914
+ alias_method :additional_sel_alpha=, :set_additional_sel_alpha
915
+
916
+ # Get the alpha of the selection.
917
+ # @return [Integer]
918
+ def get_additional_sel_alpha; end
919
+ alias_method :additional_sel_alpha, :get_additional_sel_alpha
920
+
921
+ # Set the foreground colour of additional carets.
922
+ # @param fore [Wx::Colour,String,Symbol]
923
+ # @return [void]
924
+ def set_additional_caret_foreground(fore) end
925
+ alias_method :additional_caret_foreground=, :set_additional_caret_foreground
926
+
927
+ # Get the foreground colour of additional carets.
928
+ # @return [Wx::Colour]
929
+ def get_additional_caret_foreground; end
930
+ alias_method :additional_caret_foreground, :get_additional_caret_foreground
931
+
932
+ # Set the main selection to the next selection.
933
+ # @return [void]
934
+ def rotate_selection; end
935
+
936
+ # Swap that caret and anchor of the main selection.
937
+ # @return [void]
938
+ def swap_main_anchor_caret; end
939
+
940
+ # Add the next occurrence of the main selection to the set of selections as main.
941
+ # If the current selection is empty then select word around caret.
942
+ # @return [void]
943
+ def multiple_select_add_next; end
944
+
945
+ # Add each occurrence of the main selection in the target to the set of selections.
946
+ # If the current selection is empty then select word around caret.
947
+ # @return [void]
948
+ def multiple_select_add_each; end
949
+
950
+ # Show or hide the horizontal scroll bar.
951
+ # @param visible [true,false]
952
+ # @return [void]
953
+ def set_use_horizontal_scroll_bar(visible) end
954
+ alias_method :use_horizontal_scroll_bar=, :set_use_horizontal_scroll_bar
955
+
956
+ # Is the horizontal scroll bar visible?
957
+ # @return [true,false]
958
+ def get_use_horizontal_scroll_bar; end
959
+ alias_method :use_horizontal_scroll_bar, :get_use_horizontal_scroll_bar
960
+
961
+ # Retrieve the display line at the top of the display.
962
+ # @return [Integer]
963
+ def get_first_visible_line; end
964
+ alias_method :first_visible_line, :get_first_visible_line
965
+
966
+ # Scroll horizontally and vertically.
967
+ # @param columns [Integer]
968
+ # @param lines [Integer]
969
+ # @return [void]
970
+ def line_scroll(columns, lines) end
971
+
972
+ # Ensure the caret is visible.
973
+ # @return [void]
974
+ def ensure_caret_visible; end
975
+
976
+ # Scroll the argument positions and the range between them into view giving priority to the primary position then the secondary position.
977
+ # This may be used to make a search match visible.
978
+ # @param secondary [Integer]
979
+ # @param primary [Integer]
980
+ # @return [void]
981
+ def scroll_range(secondary, primary) end
982
+
983
+ # Sets the document width assumed for scrolling.
984
+ # @param pixelWidth [Integer]
985
+ # @return [void]
986
+ def set_scroll_width(pixelWidth) end
987
+ alias_method :scroll_width=, :set_scroll_width
988
+
989
+ # Retrieve the document width assumed for scrolling.
990
+ # @return [Integer]
991
+ def get_scroll_width; end
992
+ alias_method :scroll_width, :get_scroll_width
993
+
994
+ # Sets whether the maximum width line displayed is used to set scroll width.
995
+ # @param tracking [true,false]
996
+ # @return [void]
997
+ def set_scroll_width_tracking(tracking) end
998
+ alias_method :scroll_width_tracking=, :set_scroll_width_tracking
999
+
1000
+ # Retrieve whether the scroll width tracks wide lines.
1001
+ # @return [true,false]
1002
+ def get_scroll_width_tracking; end
1003
+ alias_method :scroll_width_tracking, :get_scroll_width_tracking
1004
+
1005
+ # Sets the scroll range so that maximum scroll position has the last line at the bottom of the view (default).
1006
+ # Setting this to false allows scrolling one page below the last line.
1007
+ # @param endAtLastLine [true,false]
1008
+ # @return [void]
1009
+ def set_end_at_last_line(endAtLastLine) end
1010
+ alias_method :end_at_last_line=, :set_end_at_last_line
1011
+
1012
+ # Retrieve whether the maximum scroll position has the last line at the bottom of the view.
1013
+ # @return [true,false]
1014
+ def get_end_at_last_line; end
1015
+ alias_method :end_at_last_line, :get_end_at_last_line
1016
+
1017
+ # Show or hide the vertical scroll bar.
1018
+ # @param visible [true,false]
1019
+ # @return [void]
1020
+ def set_use_vertical_scroll_bar(visible) end
1021
+ alias_method :use_vertical_scroll_bar=, :set_use_vertical_scroll_bar
1022
+
1023
+ # Is the vertical scroll bar visible?
1024
+ # @return [true,false]
1025
+ def get_use_vertical_scroll_bar; end
1026
+ alias_method :use_vertical_scroll_bar, :get_use_vertical_scroll_bar
1027
+
1028
+ # Scroll so that a display line is at the top of the display.
1029
+ # @param displayLine [Integer]
1030
+ # @return [void]
1031
+ def set_first_visible_line(displayLine) end
1032
+ alias_method :first_visible_line=, :set_first_visible_line
1033
+
1034
+ # Set the way the display area is determined when a particular line is to be moved to by Find, FindNext, GotoLine, etc.
1035
+ # The first argument should be a bit list containing one or more of the wxSTC_VISIBLE_* constants.
1036
+ # @param visiblePolicy [Integer]
1037
+ # @param visibleSlop [Integer]
1038
+ # @return [void]
1039
+ def set_visible_policy(visiblePolicy, visibleSlop) end
1040
+
1041
+ # Set the xOffset (ie, horizontal scroll position).
1042
+ # @param xOffset [Integer]
1043
+ # @return [void]
1044
+ def set_x_offset(xOffset) end
1045
+ alias_method :x_offset=, :set_x_offset
1046
+
1047
+ # Get the xOffset (ie, horizontal scroll position).
1048
+ # @return [Integer]
1049
+ def get_x_offset; end
1050
+ alias_method :x_offset, :get_x_offset
1051
+
1052
+ # Set the way the caret is kept visible when going sideways.
1053
+ # The exclusion zone is given in pixels.
1054
+ # The first argument should be a bit list containing one or more of the wxSTC_CARET_* constants.
1055
+ # @param caretPolicy [Integer]
1056
+ # @param caretSlop [Integer]
1057
+ # @return [void]
1058
+ def set_x_caret_policy(caretPolicy, caretSlop) end
1059
+
1060
+ # Set the way the line the caret is on is kept visible.
1061
+ # The exclusion zone is given in lines.
1062
+ # The first argument should be a bit list containing one or more of the wxSTC_CARET_* constants.
1063
+ # @param caretPolicy [Integer]
1064
+ # @param caretSlop [Integer]
1065
+ # @return [void]
1066
+ def set_y_caret_policy(caretPolicy, caretSlop) end
1067
+
1068
+ # Are white space characters currently visible? Returns one of {Wx::STC_WS_}* constants.
1069
+ # @return [Integer]
1070
+ def get_view_white_space; end
1071
+ alias_method :view_white_space, :get_view_white_space
1072
+
1073
+ # Make white space characters invisible, always visible or visible outside indentation.
1074
+ # The input should be one of the wxSTC_WS_* constants.
1075
+ # @param viewWS [Integer]
1076
+ # @return [void]
1077
+ def set_view_white_space(viewWS) end
1078
+ alias_method :view_white_space=, :set_view_white_space
1079
+
1080
+ # Retrieve the current tab draw mode.
1081
+ # Returns one of {Wx::STC_TD_}* constants.
1082
+ # @return [Integer]
1083
+ def get_tab_draw_mode; end
1084
+ alias_method :tab_draw_mode, :get_tab_draw_mode
1085
+
1086
+ # Set how tabs are drawn when visible.
1087
+ # The input should be one of the wxSTC_TD_* constants.
1088
+ # @param tabDrawMode [Integer]
1089
+ # @return [void]
1090
+ def set_tab_draw_mode(tabDrawMode) end
1091
+ alias_method :tab_draw_mode=, :set_tab_draw_mode
1092
+
1093
+ # Set the foreground colour of all whitespace and whether to use this setting.
1094
+ # @param useSetting [true,false]
1095
+ # @param fore [Wx::Colour,String,Symbol]
1096
+ # @return [void]
1097
+ def set_whitespace_foreground(useSetting, fore) end
1098
+
1099
+ # Set the background colour of all whitespace and whether to use this setting.
1100
+ # @param useSetting [true,false]
1101
+ # @param back [Wx::Colour,String,Symbol]
1102
+ # @return [void]
1103
+ def set_whitespace_background(useSetting, back) end
1104
+
1105
+ # Set the size of the dots used to mark space characters.
1106
+ # @param size [Integer]
1107
+ # @return [void]
1108
+ def set_whitespace_size(size) end
1109
+ alias_method :whitespace_size=, :set_whitespace_size
1110
+
1111
+ # Get the size of the dots used to mark space characters.
1112
+ # @return [Integer]
1113
+ def get_whitespace_size; end
1114
+ alias_method :whitespace_size, :get_whitespace_size
1115
+
1116
+ # Set extra ascent for each line.
1117
+ # @param extraAscent [Integer]
1118
+ # @return [void]
1119
+ def set_extra_ascent(extraAscent) end
1120
+ alias_method :extra_ascent=, :set_extra_ascent
1121
+
1122
+ # Get extra ascent for each line.
1123
+ # @return [Integer]
1124
+ def get_extra_ascent; end
1125
+ alias_method :extra_ascent, :get_extra_ascent
1126
+
1127
+ # Set extra descent for each line.
1128
+ # @param extraDescent [Integer]
1129
+ # @return [void]
1130
+ def set_extra_descent(extraDescent) end
1131
+ alias_method :extra_descent=, :set_extra_descent
1132
+
1133
+ # Get extra descent for each line.
1134
+ # @return [Integer]
1135
+ def get_extra_descent; end
1136
+ alias_method :extra_descent, :get_extra_descent
1137
+
1138
+ # Sets the cursor to one of the {Wx::STC_CURSOR}* values.
1139
+ # @param cursorType [Integer]
1140
+ # @return [void]
1141
+ def set_stc_cursor(cursorType) end
1142
+ alias_method :stc_cursor=, :set_stc_cursor
1143
+
1144
+ # Get cursor type.
1145
+ # The return value will be one of the wxSTC_CURSOR* constants.
1146
+ # @return [Integer]
1147
+ def get_stc_cursor; end
1148
+ alias_method :stc_cursor, :get_stc_cursor
1149
+
1150
+ # Set whether the mouse is captured when its button is pressed.
1151
+ # @param captures [true,false]
1152
+ # @return [void]
1153
+ def set_mouse_down_captures(captures) end
1154
+ alias_method :mouse_down_captures=, :set_mouse_down_captures
1155
+
1156
+ # Get whether mouse gets captured.
1157
+ # @return [true,false]
1158
+ def get_mouse_down_captures; end
1159
+ alias_method :mouse_down_captures, :get_mouse_down_captures
1160
+
1161
+ # Set whether the mouse wheel can be active outside the window.
1162
+ # @param captures [true,false]
1163
+ # @return [void]
1164
+ def set_mouse_wheel_captures(captures) end
1165
+ alias_method :mouse_wheel_captures=, :set_mouse_wheel_captures
1166
+
1167
+ # Get whether mouse wheel can be active outside the window.
1168
+ # @return [true,false]
1169
+ def get_mouse_wheel_captures; end
1170
+ alias_method :mouse_wheel_captures, :get_mouse_wheel_captures
1171
+
1172
+ # Convert all line endings in the document to one mode.
1173
+ # @param eolMode [Integer]
1174
+ # @return [void]
1175
+ def convert_eo_ls(eolMode) end
1176
+
1177
+ # Retrieve the current end of line mode - one of {Wx::STC::STC_EOL_CRLF}, {Wx::STC::STC_EOL_CR}, or {Wx::STC::STC_EOL_LF}.
1178
+ # @return [Integer]
1179
+ def get_eol_mode; end
1180
+ alias_method :eol_mode, :get_eol_mode
1181
+
1182
+ # Set the current end of line mode.
1183
+ # The input should be one of the wxSTC_EOL_* constants.
1184
+ # @param eolMode [Integer]
1185
+ # @return [void]
1186
+ def set_eol_mode(eolMode) end
1187
+ alias_method :eol_mode=, :set_eol_mode
1188
+
1189
+ # Are the end of line characters visible?
1190
+ # @return [true,false]
1191
+ def get_view_eol; end
1192
+ alias_method :view_eol, :get_view_eol
1193
+
1194
+ # Make the end of line characters visible or invisible.
1195
+ # @param visible [true,false]
1196
+ # @return [void]
1197
+ def set_view_eol(visible) end
1198
+ alias_method :view_eol=, :set_view_eol
1199
+
1200
+ # Set the line end types that the application wants to use.
1201
+ # May not be used if incompatible with lexer or encoding.
1202
+ # The input should be one of the wxSTC_LINE_END_TYPE_* constants.
1203
+ # @param lineEndBitSet [Integer]
1204
+ # @return [void]
1205
+ def set_line_end_types_allowed(lineEndBitSet) end
1206
+ alias_method :line_end_types_allowed=, :set_line_end_types_allowed
1207
+
1208
+ # Get the line end types currently allowed.
1209
+ # The return value will be one of the wxSTC_LINE_END_TYPE_* constants.
1210
+ # @return [Integer]
1211
+ def get_line_end_types_allowed; end
1212
+ alias_method :line_end_types_allowed, :get_line_end_types_allowed
1213
+
1214
+ # Get the line end types currently recognised.
1215
+ # May be a subset of the allowed types due to lexer limitation.
1216
+ # The return value will be one of the wxSTC_LINE_END_TYPE_* constants.
1217
+ # @return [Integer]
1218
+ def get_line_end_types_active; end
1219
+ alias_method :line_end_types_active, :get_line_end_types_active
1220
+
1221
+ # Bit set of LineEndType enumertion for which line ends beyond the standard LF, CR, and CRLF are supported by the lexer.
1222
+ # The return value will be a bit list containing one or more of the wxSTC_LINE_END_TYPE_* constants.
1223
+ # @return [Integer]
1224
+ def get_line_end_types_supported; end
1225
+ alias_method :line_end_types_supported, :get_line_end_types_supported
1226
+
1227
+ # Set the set of characters making up words for when moving or selecting by word.
1228
+ # First sets defaults like SetCharsDefault.
1229
+ # @param characters [String]
1230
+ # @return [void]
1231
+ def set_word_chars(characters) end
1232
+ alias_method :word_chars=, :set_word_chars
1233
+
1234
+ # Get the set of characters making up words for when moving or selecting by word.
1235
+ # @return [String]
1236
+ def get_word_chars; end
1237
+ alias_method :word_chars, :get_word_chars
1238
+
1239
+ # Get position of start of word.
1240
+ # @param pos [Integer]
1241
+ # @param onlyWordCharacters [true,false]
1242
+ # @return [Integer]
1243
+ def word_start_position(pos, onlyWordCharacters) end
1244
+
1245
+ # Get position of end of word.
1246
+ # @param pos [Integer]
1247
+ # @param onlyWordCharacters [true,false]
1248
+ # @return [Integer]
1249
+ def word_end_position(pos, onlyWordCharacters) end
1250
+
1251
+ # Is the range start..end considered a word?
1252
+ # @param start [Integer]
1253
+ # @param end_ [Integer]
1254
+ # @return [true,false]
1255
+ def is_range_word(start, end_) end
1256
+ alias_method :range_word?, :is_range_word
1257
+
1258
+ # Set the set of characters making up whitespace for when moving or selecting by word.
1259
+ # Should be called after SetWordChars.
1260
+ # @param characters [String]
1261
+ # @return [void]
1262
+ def set_whitespace_chars(characters) end
1263
+ alias_method :whitespace_chars=, :set_whitespace_chars
1264
+
1265
+ # Get the set of characters making up whitespace for when moving or selecting by word.
1266
+ # @return [String]
1267
+ def get_whitespace_chars; end
1268
+ alias_method :whitespace_chars, :get_whitespace_chars
1269
+
1270
+ # Set the set of characters making up punctuation characters Should be called after SetWordChars.
1271
+ # @param characters [String]
1272
+ # @return [void]
1273
+ def set_punctuation_chars(characters) end
1274
+ alias_method :punctuation_chars=, :set_punctuation_chars
1275
+
1276
+ # Get the set of characters making up punctuation characters.
1277
+ # @return [String]
1278
+ def get_punctuation_chars; end
1279
+ alias_method :punctuation_chars, :get_punctuation_chars
1280
+
1281
+ # Reset the set of characters for whitespace and word characters to the defaults.
1282
+ # @return [void]
1283
+ def set_chars_default; end
1284
+
1285
+ # Retrieve the position of the last correctly styled character.
1286
+ # @return [Integer]
1287
+ def get_end_styled; end
1288
+ alias_method :end_styled, :get_end_styled
1289
+
1290
+ # Set the current styling position to start.
1291
+ # @param start [Integer]
1292
+ # @return [void]
1293
+ def start_styling(start) end
1294
+
1295
+ # Change style from current styling position for length characters to a style and move the current styling position to after this newly styled segment.
1296
+ # @param length [Integer]
1297
+ # @param style [Integer]
1298
+ # @return [void]
1299
+ def set_styling(length, style) end
1300
+
1301
+ # Used to hold extra styling information for each line.
1302
+ # @param line [Integer]
1303
+ # @param state [Integer]
1304
+ # @return [void]
1305
+ def set_line_state(line, state) end
1306
+
1307
+ # Retrieve the extra styling information for a line.
1308
+ # @param line [Integer]
1309
+ # @return [Integer]
1310
+ def get_line_state(line) end
1311
+ alias_method :line_state, :get_line_state
1312
+
1313
+ # Retrieve the last line number that has line state.
1314
+ # @return [Integer]
1315
+ def get_max_line_state; end
1316
+ alias_method :max_line_state, :get_max_line_state
1317
+
1318
+ # Sets limits to idle styling.
1319
+ # The input should be one of the wxSTC_IDLESTYLING_* constants.
1320
+ # @param idleStyling [Integer]
1321
+ # @return [void]
1322
+ def set_idle_styling(idleStyling) end
1323
+ alias_method :idle_styling=, :set_idle_styling
1324
+
1325
+ # Retrieve the limits to idle styling.
1326
+ # The return value will be one of the wxSTC_IDLESTYLING_* constants.
1327
+ # @return [Integer]
1328
+ def get_idle_styling; end
1329
+ alias_method :idle_styling, :get_idle_styling
1330
+
1331
+ # Clear all the styles and make equivalent to the global default style.
1332
+ # @return [void]
1333
+ def style_clear_all; end
1334
+
1335
+ # Set the foreground colour of a style.
1336
+ # @param style [Integer]
1337
+ # @param fore [Wx::Colour,String,Symbol]
1338
+ # @return [void]
1339
+ def style_set_foreground(style, fore) end
1340
+
1341
+ # Set the background colour of a style.
1342
+ # @param style [Integer]
1343
+ # @param back [Wx::Colour,String,Symbol]
1344
+ # @return [void]
1345
+ def style_set_background(style, back) end
1346
+
1347
+ # Set a style to be bold or not.
1348
+ # @param style [Integer]
1349
+ # @param bold [true,false]
1350
+ # @return [void]
1351
+ def style_set_bold(style, bold) end
1352
+
1353
+ # Set a style to be italic or not.
1354
+ # @param style [Integer]
1355
+ # @param italic [true,false]
1356
+ # @return [void]
1357
+ def style_set_italic(style, italic) end
1358
+
1359
+ # Set the size of characters of a style.
1360
+ # @param style [Integer]
1361
+ # @param sizePoints [Integer]
1362
+ # @return [void]
1363
+ def style_set_size(style, sizePoints) end
1364
+
1365
+ # Set the font of a style.
1366
+ # @param style [Integer]
1367
+ # @param fontName [String]
1368
+ # @return [void]
1369
+ def style_set_face_name(style, fontName) end
1370
+
1371
+ # Set a style to have its end of line filled or not.
1372
+ # @param style [Integer]
1373
+ # @param eolFilled [true,false]
1374
+ # @return [void]
1375
+ def style_set_eol_filled(style, eolFilled) end
1376
+
1377
+ # Reset the default style to its state at startup.
1378
+ # @return [void]
1379
+ def style_reset_default; end
1380
+
1381
+ # Set a style to be underlined or not.
1382
+ # @param style [Integer]
1383
+ # @param underline [true,false]
1384
+ # @return [void]
1385
+ def style_set_underline(style, underline) end
1386
+
1387
+ # Get the foreground colour of a style.
1388
+ # @param style [Integer]
1389
+ # @return [Wx::Colour]
1390
+ def style_get_foreground(style) end
1391
+
1392
+ # Get the background colour of a style.
1393
+ # @param style [Integer]
1394
+ # @return [Wx::Colour]
1395
+ def style_get_background(style) end
1396
+
1397
+ # Get is a style bold or not.
1398
+ # @param style [Integer]
1399
+ # @return [true,false]
1400
+ def style_get_bold(style) end
1401
+
1402
+ # Get is a style italic or not.
1403
+ # @param style [Integer]
1404
+ # @return [true,false]
1405
+ def style_get_italic(style) end
1406
+
1407
+ # Get the size of characters of a style.
1408
+ # @param style [Integer]
1409
+ # @return [Integer]
1410
+ def style_get_size(style) end
1411
+
1412
+ # Get the font facename of a style.
1413
+ # @param style [Integer]
1414
+ # @return [String]
1415
+ def style_get_face_name(style) end
1416
+
1417
+ # Get is a style to have its end of line filled or not.
1418
+ # @param style [Integer]
1419
+ # @return [true,false]
1420
+ def style_get_eol_filled(style) end
1421
+
1422
+ # Get is a style underlined or not.
1423
+ # @param style [Integer]
1424
+ # @return [true,false]
1425
+ def style_get_underline(style) end
1426
+
1427
+ # Get is a style mixed case, or to force upper or lower case.
1428
+ # The return value will be one of the wxSTC_CASE_* constants.
1429
+ # @param style [Integer]
1430
+ # @return [Integer]
1431
+ def style_get_case(style) end
1432
+
1433
+ # Get the character get of the font in a style.
1434
+ # @param style [Integer]
1435
+ # @return [Integer]
1436
+ def style_get_character_set(style) end
1437
+
1438
+ # Get is a style visible or not.
1439
+ # @param style [Integer]
1440
+ # @return [true,false]
1441
+ def style_get_visible(style) end
1442
+
1443
+ # Get is a style changeable or not (read only).
1444
+ # Experimental feature, currently buggy.
1445
+ # @param style [Integer]
1446
+ # @return [true,false]
1447
+ def style_get_changeable(style) end
1448
+
1449
+ # Get is a style a hotspot or not.
1450
+ # @param style [Integer]
1451
+ # @return [true,false]
1452
+ def style_get_hot_spot(style) end
1453
+
1454
+ # Set a style to be mixed case, or to force upper or lower case.
1455
+ # The second argument should be one of the wxSTC_CASE_* constants.
1456
+ # @param style [Integer]
1457
+ # @param caseVisible [Integer]
1458
+ # @return [void]
1459
+ def style_set_case(style, caseVisible) end
1460
+
1461
+ # Set the size of characters of a style.
1462
+ # Size is in points multiplied by 100.
1463
+ # @param style [Integer]
1464
+ # @param sizeHundredthPoints [Integer]
1465
+ # @return [void]
1466
+ def style_set_size_fractional(style, sizeHundredthPoints) end
1467
+
1468
+ # Get the size of characters of a style in points multiplied by 100.
1469
+ # @param style [Integer]
1470
+ # @return [Integer]
1471
+ def style_get_size_fractional(style) end
1472
+
1473
+ # Set the weight of characters of a style.
1474
+ # The second argument can be an integer or one of the wxSTC_WEIGHT_* constants.
1475
+ # @param style [Integer]
1476
+ # @param weight [Integer]
1477
+ # @return [void]
1478
+ def style_set_weight(style, weight) end
1479
+
1480
+ # Get the weight of characters of a style.
1481
+ # The return value will be an integer that is possibly one of the wxSTC_WEIGHT_* constants.
1482
+ # @param style [Integer]
1483
+ # @return [Integer]
1484
+ def style_get_weight(style) end
1485
+
1486
+ # Set the character set of the font in a style.
1487
+ # Converts the Scintilla character set values to a {Wx::FontEncoding}.
1488
+ # @param style [Integer]
1489
+ # @param characterSet [Integer]
1490
+ # @return [void]
1491
+ def style_set_character_set(style, characterSet) end
1492
+
1493
+ # Set a style to be a hotspot or not.
1494
+ # @param style [Integer]
1495
+ # @param hotspot [true,false]
1496
+ # @return [void]
1497
+ def style_set_hot_spot(style, hotspot) end
1498
+
1499
+ # Set a style to be visible or not.
1500
+ # @param style [Integer]
1501
+ # @param visible [true,false]
1502
+ # @return [void]
1503
+ def style_set_visible(style, visible) end
1504
+
1505
+ # Set a style to be changeable or not (read only).
1506
+ # Experimental feature, currently buggy.
1507
+ # @param style [Integer]
1508
+ # @param changeable [true,false]
1509
+ # @return [void]
1510
+ def style_set_changeable(style, changeable) end
1511
+
1512
+ # Set the foreground colour of the main and additional selections and whether to use this setting.
1513
+ # @param useSetting [true,false]
1514
+ # @param fore [Wx::Colour,String,Symbol]
1515
+ # @return [void]
1516
+ def set_sel_foreground(useSetting, fore) end
1517
+
1518
+ # Set the background colour of the main and additional selections and whether to use this setting.
1519
+ # @param useSetting [true,false]
1520
+ # @param back [Wx::Colour,String,Symbol]
1521
+ # @return [void]
1522
+ def set_sel_background(useSetting, back) end
1523
+
1524
+ # Get the alpha of the selection.
1525
+ # @return [Integer]
1526
+ def get_sel_alpha; end
1527
+ alias_method :sel_alpha, :get_sel_alpha
1528
+
1529
+ # Set the alpha of the selection.
1530
+ # @param alpha [Integer]
1531
+ # @return [void]
1532
+ def set_sel_alpha(alpha) end
1533
+ alias_method :sel_alpha=, :set_sel_alpha
1534
+
1535
+ # Is the selection end of line filled?
1536
+ # @return [true,false]
1537
+ def get_sel_eol_filled; end
1538
+ alias_method :sel_eol_filled, :get_sel_eol_filled
1539
+
1540
+ # Set the selection to have its end of line filled or not.
1541
+ # @param filled [true,false]
1542
+ # @return [void]
1543
+ def set_sel_eol_filled(filled) end
1544
+ alias_method :sel_eol_filled=, :set_sel_eol_filled
1545
+
1546
+ # Set the foreground colour of the caret.
1547
+ # @param fore [Wx::Colour,String,Symbol]
1548
+ # @return [void]
1549
+ def set_caret_foreground(fore) end
1550
+ alias_method :caret_foreground=, :set_caret_foreground
1551
+
1552
+ # Get the time in milliseconds that the caret is on and off.
1553
+ # @return [Integer]
1554
+ def get_caret_period; end
1555
+ alias_method :caret_period, :get_caret_period
1556
+
1557
+ # Get the time in milliseconds that the caret is on and off.
1558
+ # 0 = steady on.
1559
+ # @param periodMilliseconds [Integer]
1560
+ # @return [void]
1561
+ def set_caret_period(periodMilliseconds) end
1562
+ alias_method :caret_period=, :set_caret_period
1563
+
1564
+ # Is the background of the line containing the caret in a different colour?
1565
+ # @return [true,false]
1566
+ def get_caret_line_visible; end
1567
+ alias_method :caret_line_visible, :get_caret_line_visible
1568
+
1569
+ # Display the background of the line containing the caret in a different colour.
1570
+ # @param show [true,false]
1571
+ # @return [void]
1572
+ def set_caret_line_visible(show) end
1573
+ alias_method :caret_line_visible=, :set_caret_line_visible
1574
+
1575
+ # Get the colour of the background of the line containing the caret.
1576
+ # @return [Wx::Colour]
1577
+ def get_caret_line_background; end
1578
+ alias_method :caret_line_background, :get_caret_line_background
1579
+
1580
+ # Set the colour of the background of the line containing the caret.
1581
+ # @param back [Wx::Colour,String,Symbol]
1582
+ # @return [void]
1583
+ def set_caret_line_background(back) end
1584
+ alias_method :caret_line_background=, :set_caret_line_background
1585
+
1586
+ # Get the foreground colour of the caret.
1587
+ # @return [Wx::Colour]
1588
+ def get_caret_foreground; end
1589
+ alias_method :caret_foreground, :get_caret_foreground
1590
+
1591
+ # Set the width of the insert mode caret.
1592
+ # @param pixelWidth [Integer]
1593
+ # @return [void]
1594
+ def set_caret_width(pixelWidth) end
1595
+ alias_method :caret_width=, :set_caret_width
1596
+
1597
+ # Returns the width of the insert mode caret.
1598
+ # @return [Integer]
1599
+ def get_caret_width; end
1600
+ alias_method :caret_width, :get_caret_width
1601
+
1602
+ # Set a fore colour for active hotspots.
1603
+ # @param useSetting [true,false]
1604
+ # @param fore [Wx::Colour,String,Symbol]
1605
+ # @return [void]
1606
+ def set_hotspot_active_foreground(useSetting, fore) end
1607
+
1608
+ # Get the fore colour for active hotspots.
1609
+ # @return [Wx::Colour]
1610
+ def get_hotspot_active_foreground; end
1611
+ alias_method :hotspot_active_foreground, :get_hotspot_active_foreground
1612
+
1613
+ # Set a back colour for active hotspots.
1614
+ # @param useSetting [true,false]
1615
+ # @param back [Wx::Colour,String,Symbol]
1616
+ # @return [void]
1617
+ def set_hotspot_active_background(useSetting, back) end
1618
+
1619
+ # Get the back colour for active hotspots.
1620
+ # @return [Wx::Colour]
1621
+ def get_hotspot_active_background; end
1622
+ alias_method :hotspot_active_background, :get_hotspot_active_background
1623
+
1624
+ # Enable / Disable underlining active hotspots.
1625
+ # @param underline [true,false]
1626
+ # @return [void]
1627
+ def set_hotspot_active_underline(underline) end
1628
+ alias_method :hotspot_active_underline=, :set_hotspot_active_underline
1629
+
1630
+ # Get whether underlining for active hotspots.
1631
+ # @return [true,false]
1632
+ def get_hotspot_active_underline; end
1633
+ alias_method :hotspot_active_underline, :get_hotspot_active_underline
1634
+
1635
+ # Limit hotspots to single line so hotspots on two lines don't merge.
1636
+ # @param singleLine [true,false]
1637
+ # @return [void]
1638
+ def set_hotspot_single_line(singleLine) end
1639
+ alias_method :hotspot_single_line=, :set_hotspot_single_line
1640
+
1641
+ # Get the HotspotSingleLine property.
1642
+ # @return [true,false]
1643
+ def get_hotspot_single_line; end
1644
+ alias_method :hotspot_single_line, :get_hotspot_single_line
1645
+
1646
+ # Can the caret preferred x position only be changed by explicit movement commands?
1647
+ # The return value will be one of the wxSTC_CARETSTICKY_* constants.
1648
+ # @return [Integer]
1649
+ def get_caret_sticky; end
1650
+ alias_method :caret_sticky, :get_caret_sticky
1651
+
1652
+ # Stop the caret preferred x position changing when the user types.
1653
+ # The input should be one of the wxSTC_CARETSTICKY_* constants.
1654
+ # @param useCaretStickyBehaviour [Integer]
1655
+ # @return [void]
1656
+ def set_caret_sticky(useCaretStickyBehaviour) end
1657
+ alias_method :caret_sticky=, :set_caret_sticky
1658
+
1659
+ # Switch between sticky and non-sticky: meant to be bound to a key.
1660
+ # @return [void]
1661
+ def toggle_caret_sticky; end
1662
+
1663
+ # Set background alpha of the caret line.
1664
+ # @param alpha [Integer]
1665
+ # @return [void]
1666
+ def set_caret_line_back_alpha(alpha) end
1667
+ alias_method :caret_line_back_alpha=, :set_caret_line_back_alpha
1668
+
1669
+ # Get the background alpha of the caret line.
1670
+ # @return [Integer]
1671
+ def get_caret_line_back_alpha; end
1672
+ alias_method :caret_line_back_alpha, :get_caret_line_back_alpha
1673
+
1674
+ # Set the style of the caret to be drawn.
1675
+ # The input should be one of the wxSTC_CARETSTYLE_* constants.
1676
+ # @param caretStyle [Integer]
1677
+ # @return [void]
1678
+ def set_caret_style(caretStyle) end
1679
+ alias_method :caret_style=, :set_caret_style
1680
+
1681
+ # Returns the current style of the caret.
1682
+ # The return value will be one of the wxSTC_CARETSTYLE_* constants.
1683
+ # @return [Integer]
1684
+ def get_caret_style; end
1685
+ alias_method :caret_style, :get_caret_style
1686
+
1687
+ # Is the caret line always visible?
1688
+ # @return [true,false]
1689
+ def get_caret_line_visible_always; end
1690
+ alias_method :caret_line_visible_always, :get_caret_line_visible_always
1691
+
1692
+ # Sets the caret line to always visible.
1693
+ # @param alwaysVisible [true,false]
1694
+ # @return [void]
1695
+ def set_caret_line_visible_always(alwaysVisible) end
1696
+ alias_method :caret_line_visible_always=, :set_caret_line_visible_always
1697
+
1698
+ # Change the way control characters are displayed: If symbol is < 32, keep the drawn way, else, use the given character.
1699
+ # @param symbol [Integer]
1700
+ # @return [void]
1701
+ def set_control_char_symbol(symbol) end
1702
+ alias_method :control_char_symbol=, :set_control_char_symbol
1703
+
1704
+ # Get the way control characters are displayed.
1705
+ # @return [Integer]
1706
+ def get_control_char_symbol; end
1707
+ alias_method :control_char_symbol, :get_control_char_symbol
1708
+
1709
+ # Set the way a character is drawn.
1710
+ # @param encodedCharacter [String]
1711
+ # @param representation [String]
1712
+ # @return [void]
1713
+ def set_representation(encodedCharacter, representation) end
1714
+
1715
+ # Set the way a character is drawn.
1716
+ # @param encodedCharacter [String]
1717
+ # @return [String]
1718
+ def get_representation(encodedCharacter) end
1719
+ alias_method :representation, :get_representation
1720
+
1721
+ # Remove a character representation.
1722
+ # @param encodedCharacter [String]
1723
+ # @return [void]
1724
+ def clear_representation(encodedCharacter) end
1725
+
1726
+ # Set a margin to be either numeric or symbolic.
1727
+ # The second argument should be one of the wxSTC_MARGIN_* constants.
1728
+ # @param margin [Integer]
1729
+ # @param marginType [Integer]
1730
+ # @return [void]
1731
+ def set_margin_type(margin, marginType) end
1732
+
1733
+ # Retrieve the type of a margin.
1734
+ # The return value will be one of the wxSTC_MARGIN_* constants.
1735
+ # @param margin [Integer]
1736
+ # @return [Integer]
1737
+ def get_margin_type(margin) end
1738
+ alias_method :margin_type, :get_margin_type
1739
+
1740
+ # Set the width of a margin to a width expressed in pixels.
1741
+ # @param margin [Integer]
1742
+ # @param pixelWidth [Integer]
1743
+ # @return [void]
1744
+ def set_margin_width(margin, pixelWidth) end
1745
+
1746
+ # Retrieve the width of a margin in pixels.
1747
+ # @param margin [Integer]
1748
+ # @return [Integer]
1749
+ def get_margin_width(margin) end
1750
+ alias_method :margin_width, :get_margin_width
1751
+
1752
+ # Set a mask that determines which markers are displayed in a margin.
1753
+ # @param margin [Integer]
1754
+ # @param mask [Integer]
1755
+ # @return [void]
1756
+ def set_margin_mask(margin, mask) end
1757
+
1758
+ # Retrieve the marker mask of a margin.
1759
+ # @param margin [Integer]
1760
+ # @return [Integer]
1761
+ def get_margin_mask(margin) end
1762
+ alias_method :margin_mask, :get_margin_mask
1763
+
1764
+ # Make a margin sensitive or insensitive to mouse clicks.
1765
+ # @param margin [Integer]
1766
+ # @param sensitive [true,false]
1767
+ # @return [void]
1768
+ def set_margin_sensitive(margin, sensitive) end
1769
+
1770
+ # Retrieve the mouse click sensitivity of a margin.
1771
+ # @param margin [Integer]
1772
+ # @return [true,false]
1773
+ def get_margin_sensitive(margin) end
1774
+ alias_method :margin_sensitive, :get_margin_sensitive
1775
+
1776
+ # Set the cursor shown when the mouse is inside a margin.
1777
+ # The second argument should be one of the wxSTC_CURSOR* constants.
1778
+ # @param margin [Integer]
1779
+ # @param cursor [Integer]
1780
+ # @return [void]
1781
+ def set_margin_cursor(margin, cursor) end
1782
+
1783
+ # Retrieve the cursor shown in a margin.
1784
+ # The return value will be one of the wxSTC_CURSOR* constants.
1785
+ # @param margin [Integer]
1786
+ # @return [Integer]
1787
+ def get_margin_cursor(margin) end
1788
+ alias_method :margin_cursor, :get_margin_cursor
1789
+
1790
+ # Set the background colour of a margin.
1791
+ # Only visible for {Wx::STC::STC_MARGIN_COLOUR}.
1792
+ # @param margin [Integer]
1793
+ # @param back [Wx::Colour,String,Symbol]
1794
+ # @return [void]
1795
+ def set_margin_background(margin, back) end
1796
+
1797
+ # Retrieve the background colour of a margin.
1798
+ # @param margin [Integer]
1799
+ # @return [Wx::Colour]
1800
+ def get_margin_background(margin) end
1801
+ alias_method :margin_background, :get_margin_background
1802
+
1803
+ # Allocate a non-standard number of margins.
1804
+ # @param margins [Integer]
1805
+ # @return [void]
1806
+ def set_margin_count(margins) end
1807
+ alias_method :margin_count=, :set_margin_count
1808
+
1809
+ # How many margins are there?.
1810
+ # @return [Integer]
1811
+ def get_margin_count; end
1812
+ alias_method :margin_count, :get_margin_count
1813
+
1814
+ # Sets the size in pixels of the left margin.
1815
+ # @param pixelWidth [Integer]
1816
+ # @return [void]
1817
+ def set_margin_left(pixelWidth) end
1818
+ alias_method :margin_left=, :set_margin_left
1819
+
1820
+ # Returns the size in pixels of the left margin.
1821
+ # @return [Integer]
1822
+ def get_margin_left; end
1823
+ alias_method :margin_left, :get_margin_left
1824
+
1825
+ # Sets the size in pixels of the right margin.
1826
+ # @param pixelWidth [Integer]
1827
+ # @return [void]
1828
+ def set_margin_right(pixelWidth) end
1829
+ alias_method :margin_right=, :set_margin_right
1830
+
1831
+ # Returns the size in pixels of the right margin.
1832
+ # @return [Integer]
1833
+ def get_margin_right; end
1834
+ alias_method :margin_right, :get_margin_right
1835
+
1836
+ # Set one of the colours used as a chequerboard pattern in the fold margin.
1837
+ # @param useSetting [true,false]
1838
+ # @param back [Wx::Colour,String,Symbol]
1839
+ # @return [void]
1840
+ def set_fold_margin_colour(useSetting, back) end
1841
+
1842
+ # Set the other colour used as a chequerboard pattern in the fold margin.
1843
+ # @param useSetting [true,false]
1844
+ # @param fore [Wx::Colour,String,Symbol]
1845
+ # @return [void]
1846
+ def set_fold_margin_hi_colour(useSetting, fore) end
1847
+
1848
+ # Set the text in the text margin for a line.
1849
+ # @param line [Integer]
1850
+ # @param text [String]
1851
+ # @return [void]
1852
+ def margin_set_text(line, text) end
1853
+
1854
+ # Get the text in the text margin for a line.
1855
+ # @param line [Integer]
1856
+ # @return [String]
1857
+ def margin_get_text(line) end
1858
+
1859
+ # Set the style number for the text margin for a line.
1860
+ # @param line [Integer]
1861
+ # @param style [Integer]
1862
+ # @return [void]
1863
+ def margin_set_style(line, style) end
1864
+
1865
+ # Get the style number for the text margin for a line.
1866
+ # @param line [Integer]
1867
+ # @return [Integer]
1868
+ def margin_get_style(line) end
1869
+
1870
+ # Set the style in the text margin for a line.
1871
+ # @param line [Integer]
1872
+ # @param styles [String]
1873
+ # @return [void]
1874
+ def margin_set_styles(line, styles) end
1875
+
1876
+ # Get the styles in the text margin for a line.
1877
+ # @param line [Integer]
1878
+ # @return [String]
1879
+ def margin_get_styles(line) end
1880
+
1881
+ # Clear the margin text on all lines.
1882
+ # @return [void]
1883
+ def margin_text_clear_all; end
1884
+
1885
+ # Get the start of the range of style numbers used for margin text.
1886
+ # @param style [Integer]
1887
+ # @return [void]
1888
+ def margin_set_style_offset(style) end
1889
+
1890
+ # Get the start of the range of style numbers used for margin text.
1891
+ # @return [Integer]
1892
+ def margin_get_style_offset; end
1893
+
1894
+ # Set the margin options.
1895
+ # The input should be one of the wxSTC_MARGINOPTION_* constants.
1896
+ # @param marginOptions [Integer]
1897
+ # @return [void]
1898
+ def set_margin_options(marginOptions) end
1899
+ alias_method :margin_options=, :set_margin_options
1900
+
1901
+ # Get the margin options.
1902
+ # The return value will be one of the wxSTC_MARGINOPTION_* constants.
1903
+ # @return [Integer]
1904
+ def get_margin_options; end
1905
+ alias_method :margin_options, :get_margin_options
1906
+
1907
+ # Set the annotation text for a line.
1908
+ # @param line [Integer]
1909
+ # @param text [String]
1910
+ # @return [void]
1911
+ def annotation_set_text(line, text) end
1912
+
1913
+ # Get the annotation text for a line.
1914
+ # @param line [Integer]
1915
+ # @return [String]
1916
+ def annotation_get_text(line) end
1917
+
1918
+ # Set the style number for the annotations for a line.
1919
+ # @param line [Integer]
1920
+ # @param style [Integer]
1921
+ # @return [void]
1922
+ def annotation_set_style(line, style) end
1923
+
1924
+ # Get the style number for the annotations for a line.
1925
+ # @param line [Integer]
1926
+ # @return [Integer]
1927
+ def annotation_get_style(line) end
1928
+
1929
+ # Set the annotation styles for a line.
1930
+ # @param line [Integer]
1931
+ # @param styles [String]
1932
+ # @return [void]
1933
+ def annotation_set_styles(line, styles) end
1934
+
1935
+ # Get the annotation styles for a line.
1936
+ # @param line [Integer]
1937
+ # @return [String]
1938
+ def annotation_get_styles(line) end
1939
+
1940
+ # Get the number of annotation lines for a line.
1941
+ # @param line [Integer]
1942
+ # @return [Integer]
1943
+ def annotation_get_lines(line) end
1944
+
1945
+ # Clear the annotations from all lines.
1946
+ # @return [void]
1947
+ def annotation_clear_all; end
1948
+
1949
+ # Set the visibility for the annotations for a view.
1950
+ # The input should be one of the wxSTC_ANNOTATION_* constants.
1951
+ # @param visible [Integer]
1952
+ # @return [void]
1953
+ def annotation_set_visible(visible) end
1954
+
1955
+ # Get the visibility for the annotations for a view.
1956
+ # The return value will be one of the wxSTC_ANNOTATION_* constants.
1957
+ # @return [Integer]
1958
+ def annotation_get_visible; end
1959
+
1960
+ # Get the start of the range of style numbers used for annotations.
1961
+ # @param style [Integer]
1962
+ # @return [void]
1963
+ def annotation_set_style_offset(style) end
1964
+
1965
+ # Get the start of the range of style numbers used for annotations.
1966
+ # @return [Integer]
1967
+ def annotation_get_style_offset; end
1968
+
1969
+ # Is drawing done first into a buffer or direct to the screen?
1970
+ # @return [true,false]
1971
+ def get_buffered_draw; end
1972
+ alias_method :buffered_draw, :get_buffered_draw
1973
+
1974
+ # If drawing is buffered then each line of text is drawn into a bitmap buffer before drawing it to the screen to avoid flicker.
1975
+ # @param buffered [true,false]
1976
+ # @return [void]
1977
+ def set_buffered_draw(buffered) end
1978
+ alias_method :buffered_draw=, :set_buffered_draw
1979
+
1980
+ # Set the code page used to interpret the bytes of the document as characters.
1981
+ # @param codePage [Integer]
1982
+ # @return [void]
1983
+ def set_code_page(codePage) end
1984
+ alias_method :code_page=, :set_code_page
1985
+
1986
+ # Is the IME displayed in a window or inline?
1987
+ # The return value will be one of the wxSTC_IME_* constants.
1988
+ # @return [Integer]
1989
+ def get_ime_interaction; end
1990
+ alias_method :ime_interaction, :get_ime_interaction
1991
+
1992
+ # Choose to display the IME in a winow or inline.
1993
+ # The input should be one of the wxSTC_IME_* constants.
1994
+ # @param imeInteraction [Integer]
1995
+ # @return [void]
1996
+ def set_ime_interaction(imeInteraction) end
1997
+ alias_method :ime_interaction=, :set_ime_interaction
1998
+
1999
+ # Get the code page used to interpret the bytes of the document as characters.
2000
+ # @return [Integer]
2001
+ def get_code_page; end
2002
+ alias_method :code_page, :get_code_page
2003
+
2004
+ # Sets the degree of caching of layout information.
2005
+ # The input should be one of the wxSTC_CACHE_* constants.
2006
+ # @param cacheMode [Integer]
2007
+ # @return [void]
2008
+ def set_layout_cache(cacheMode) end
2009
+ alias_method :layout_cache=, :set_layout_cache
2010
+
2011
+ # Is drawing done in two phases with backgrounds drawn before foregrounds?
2012
+ # @return [true,false]
2013
+ def get_two_phase_draw; end
2014
+ alias_method :two_phase_draw, :get_two_phase_draw
2015
+
2016
+ # In twoPhaseDraw mode, drawing is performed in two phases, first the background and then the foreground.
2017
+ # This avoids chopping off characters that overlap the next run.
2018
+ # @param twoPhase [true,false]
2019
+ # @return [void]
2020
+ def set_two_phase_draw(twoPhase) end
2021
+ alias_method :two_phase_draw=, :set_two_phase_draw
2022
+
2023
+ # How many phases is drawing done in?
2024
+ # The return value will be one of the wxSTC_PHASES_* constants.
2025
+ # @return [Integer]
2026
+ def get_phases_draw; end
2027
+ alias_method :phases_draw, :get_phases_draw
2028
+
2029
+ # In one phase draw, text is drawn in a series of rectangular blocks with no overlap.
2030
+ # 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.
2031
+ # The input should be one of the wxSTC_PHASES_* constants.
2032
+ # @param phases [Integer]
2033
+ # @return [void]
2034
+ def set_phases_draw(phases) end
2035
+ alias_method :phases_draw=, :set_phases_draw
2036
+
2037
+ # Choose the quality level for text.
2038
+ # The input should be one of the wxSTC_EFF_QUALITY_* constants. This method only has any effect with the {Wx::MSW} port and when technology has been set to {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}.
2039
+ # @param fontQuality [Integer]
2040
+ # @return [void]
2041
+ def set_font_quality(fontQuality) end
2042
+ alias_method :font_quality=, :set_font_quality
2043
+
2044
+ # Retrieve the quality level for text.
2045
+ # The return value will be one of the wxSTC_EFF_QUALITY_* constants.
2046
+ # @return [Integer]
2047
+ def get_font_quality; end
2048
+ alias_method :font_quality, :get_font_quality
2049
+
2050
+ # Change internal focus flag.
2051
+ # @param focus [true,false]
2052
+ # @return [void]
2053
+ def set_stc_focus(focus) end
2054
+ alias_method :stc_focus=, :set_stc_focus
2055
+
2056
+ # Get internal focus flag.
2057
+ # @return [true,false]
2058
+ def get_stc_focus; end
2059
+ alias_method :stc_focus, :get_stc_focus
2060
+
2061
+ # Set the technology used.
2062
+ # For the {Wx::MSW} 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.
2063
+ # @param technology [Integer]
2064
+ # @return [void]
2065
+ def set_technology(technology) end
2066
+ alias_method :technology=, :set_technology
2067
+
2068
+ # Get the tech.
2069
+ # The return value will be one of the wxSTC_TECHNOLOGY_* constants.
2070
+ # @return [Integer]
2071
+ def get_technology; end
2072
+ alias_method :technology, :get_technology
2073
+
2074
+ # Highlight the characters at two positions.
2075
+ # @param posA [Integer]
2076
+ # @param posB [Integer]
2077
+ # @return [void]
2078
+ def brace_highlight(posA, posB) end
2079
+
2080
+ # Use specified indicator to highlight matching braces instead of changing their style.
2081
+ # @param useSetting [true,false]
2082
+ # @param indicator [Integer]
2083
+ # @return [void]
2084
+ def brace_highlight_indicator(useSetting, indicator) end
2085
+
2086
+ # Highlight the character at a position indicating there is no matching brace.
2087
+ # @param pos [Integer]
2088
+ # @return [void]
2089
+ def brace_bad_light(pos) end
2090
+
2091
+ # Use specified indicator to highlight non matching brace instead of changing its style.
2092
+ # @param useSetting [true,false]
2093
+ # @param indicator [Integer]
2094
+ # @return [void]
2095
+ def brace_bad_light_indicator(useSetting, indicator) end
2096
+
2097
+ # Find the position of a matching brace or {Wx::STC::STC_INVALID_POSITION} if no match.
2098
+ # The maxReStyle must be 0 for now. It may be defined in a future release.
2099
+ # @param pos [Integer]
2100
+ # @param maxReStyle [Integer]
2101
+ # @return [Integer]
2102
+ def brace_match(pos, maxReStyle=0) end
2103
+
2104
+ # Change the visible size of a tab to be a multiple of the width of a space character.
2105
+ # @param tabWidth [Integer]
2106
+ # @return [void]
2107
+ def set_tab_width(tabWidth) end
2108
+ alias_method :tab_width=, :set_tab_width
2109
+
2110
+ # Retrieve the visible size of a tab.
2111
+ # @return [Integer]
2112
+ def get_tab_width; end
2113
+ alias_method :tab_width, :get_tab_width
2114
+
2115
+ # Clear explicit tabstops on a line.
2116
+ # @param line [Integer]
2117
+ # @return [void]
2118
+ def clear_tab_stops(line) end
2119
+
2120
+ # Add an explicit tab stop for a line.
2121
+ # @param line [Integer]
2122
+ # @param x [Integer]
2123
+ # @return [void]
2124
+ def add_tab_stop(line, x) end
2125
+
2126
+ # Find the next explicit tab stop position on a line after a position.
2127
+ # @param line [Integer]
2128
+ # @param x [Integer]
2129
+ # @return [Integer]
2130
+ def get_next_tab_stop(line, x) end
2131
+ alias_method :next_tab_stop, :get_next_tab_stop
2132
+
2133
+ # Set the number of spaces used for one level of indentation.
2134
+ # @param indentSize [Integer]
2135
+ # @return [void]
2136
+ def set_indent(indentSize) end
2137
+ alias_method :indent=, :set_indent
2138
+
2139
+ # Retrieve indentation size.
2140
+ # @return [Integer]
2141
+ def get_indent; end
2142
+ alias_method :indent, :get_indent
2143
+
2144
+ # Indentation will only use space characters if useTabs is false, otherwise it will use a combination of tabs and spaces.
2145
+ # @param useTabs [true,false]
2146
+ # @return [void]
2147
+ def set_use_tabs(useTabs) end
2148
+ alias_method :use_tabs=, :set_use_tabs
2149
+
2150
+ # Retrieve whether tabs will be used in indentation.
2151
+ # @return [true,false]
2152
+ def get_use_tabs; end
2153
+ alias_method :use_tabs, :get_use_tabs
2154
+
2155
+ # Change the indentation of a line to a number of columns.
2156
+ # @param line [Integer]
2157
+ # @param indentation [Integer]
2158
+ # @return [void]
2159
+ def set_line_indentation(line, indentation) end
2160
+
2161
+ # Retrieve the number of columns that a line is indented.
2162
+ # @param line [Integer]
2163
+ # @return [Integer]
2164
+ def get_line_indentation(line) end
2165
+ alias_method :line_indentation, :get_line_indentation
2166
+
2167
+ # Retrieve the position before the first non indentation character on a line.
2168
+ # @param line [Integer]
2169
+ # @return [Integer]
2170
+ def get_line_indent_position(line) end
2171
+ alias_method :line_indent_position, :get_line_indent_position
2172
+
2173
+ # Show or hide indentation guides.
2174
+ # The input should be one of the wxSTC_IV_* constants.
2175
+ # @param indentView [Integer]
2176
+ # @return [void]
2177
+ def set_indentation_guides(indentView) end
2178
+ alias_method :indentation_guides=, :set_indentation_guides
2179
+
2180
+ # Are the indentation guides visible?
2181
+ # The return value will be one of the wxSTC_IV_* constants.
2182
+ # @return [Integer]
2183
+ def get_indentation_guides; end
2184
+ alias_method :indentation_guides, :get_indentation_guides
2185
+
2186
+ # Set the highlighted indentation guide column.
2187
+ # 0 = no highlighted guide.
2188
+ # @param column [Integer]
2189
+ # @return [void]
2190
+ def set_highlight_guide(column) end
2191
+ alias_method :highlight_guide=, :set_highlight_guide
2192
+
2193
+ # Get the highlighted indentation guide column.
2194
+ # @return [Integer]
2195
+ def get_highlight_guide; end
2196
+ alias_method :highlight_guide, :get_highlight_guide
2197
+
2198
+ # Sets whether a tab pressed when caret is within indentation indents.
2199
+ # @param tabIndents [true,false]
2200
+ # @return [void]
2201
+ def set_tab_indents(tabIndents) end
2202
+ alias_method :tab_indents=, :set_tab_indents
2203
+
2204
+ # Does a tab pressed when caret is within indentation indent?
2205
+ # @return [true,false]
2206
+ def get_tab_indents; end
2207
+ alias_method :tab_indents, :get_tab_indents
2208
+
2209
+ # Sets whether a backspace pressed when caret is within indentation unindents.
2210
+ # @param bsUnIndents [true,false]
2211
+ # @return [void]
2212
+ def set_back_space_un_indents(bsUnIndents) end
2213
+ alias_method :back_space_un_indents=, :set_back_space_un_indents
2214
+
2215
+ # Does a backspace pressed when caret is within indentation unindent?
2216
+ # @return [true,false]
2217
+ def get_back_space_un_indents; end
2218
+ alias_method :back_space_un_indents, :get_back_space_un_indents
2219
+
2220
+ # Retrieve the line number at which a particular marker is located.
2221
+ # @param markerHandle [Integer]
2222
+ # @return [Integer]
2223
+ def marker_line_from_handle(markerHandle) end
2224
+
2225
+ # Delete a marker.
2226
+ # @param markerHandle [Integer]
2227
+ # @return [void]
2228
+ def marker_delete_handle(markerHandle) end
2229
+
2230
+ # Set the symbol used for a particular marker number, and optionally the fore and background colours.
2231
+ # The second argument should be one of the wxSTC_MARK_* constants.
2232
+ # @param markerNumber [Integer]
2233
+ # @param markerSymbol [Integer]
2234
+ # @param foreground [Wx::Colour,String,Symbol]
2235
+ # @param background [Wx::Colour,String,Symbol]
2236
+ # @return [void]
2237
+ def marker_define(markerNumber, markerSymbol, foreground=Wx::NULL_COLOUR, background=Wx::NULL_COLOUR) end
2238
+
2239
+ # Set the foreground colour used for a particular marker number.
2240
+ # @param markerNumber [Integer]
2241
+ # @param fore [Wx::Colour,String,Symbol]
2242
+ # @return [void]
2243
+ def marker_set_foreground(markerNumber, fore) end
2244
+
2245
+ # Set the background colour used for a particular marker number.
2246
+ # @param markerNumber [Integer]
2247
+ # @param back [Wx::Colour,String,Symbol]
2248
+ # @return [void]
2249
+ def marker_set_background(markerNumber, back) end
2250
+
2251
+ # Set the background colour used for a particular marker number when its folding block is selected.
2252
+ # @param markerNumber [Integer]
2253
+ # @param back [Wx::Colour,String,Symbol]
2254
+ # @return [void]
2255
+ def marker_set_background_selected(markerNumber, back) end
2256
+
2257
+ # Enable/disable highlight for current folding block (smallest one that contains the caret)
2258
+ # @param enabled [true,false]
2259
+ # @return [void]
2260
+ def marker_enable_highlight(enabled) end
2261
+
2262
+ # Add a marker to a line, returning an ID which can be used to find or delete the marker.
2263
+ # @param line [Integer]
2264
+ # @param markerNumber [Integer]
2265
+ # @return [Integer]
2266
+ def marker_add(line, markerNumber) end
2267
+
2268
+ # Delete a marker from a line.
2269
+ # @param line [Integer]
2270
+ # @param markerNumber [Integer]
2271
+ # @return [void]
2272
+ def marker_delete(line, markerNumber) end
2273
+
2274
+ # Delete all markers with a particular number from all lines.
2275
+ # @param markerNumber [Integer]
2276
+ # @return [void]
2277
+ def marker_delete_all(markerNumber) end
2278
+
2279
+ # Get a bit mask of all the markers set on a line.
2280
+ # @param line [Integer]
2281
+ # @return [Integer]
2282
+ def marker_get(line) end
2283
+
2284
+ # Find the next line at or after lineStart that includes a marker in mask.
2285
+ # Return -1 when no more lines.
2286
+ # @param lineStart [Integer]
2287
+ # @param markerMask [Integer]
2288
+ # @return [Integer]
2289
+ def marker_next(lineStart, markerMask) end
2290
+
2291
+ # Find the previous line before lineStart that includes a marker in mask.
2292
+ # @param lineStart [Integer]
2293
+ # @param markerMask [Integer]
2294
+ # @return [Integer]
2295
+ def marker_previous(lineStart, markerMask) end
2296
+
2297
+ # Define a marker from a bitmap.
2298
+ # @param markerNumber [Integer]
2299
+ # @param xpmData [char]
2300
+ # @return [void]
2301
+ def marker_define_pixmap(markerNumber, xpmData) end
2302
+
2303
+ # Add a set of markers to a line.
2304
+ # @param line [Integer]
2305
+ # @param markerSet [Integer]
2306
+ # @return [void]
2307
+ def marker_add_set(line, markerSet) end
2308
+
2309
+ # Set the alpha used for a marker that is drawn in the text area, not the margin.
2310
+ # @param markerNumber [Integer]
2311
+ # @param alpha [Integer]
2312
+ # @return [void]
2313
+ def marker_set_alpha(markerNumber, alpha) end
2314
+
2315
+ # Which symbol was defined for markerNumber with MarkerDefine.
2316
+ # The return value will be one of the wxSTC_MARK_* constants.
2317
+ # @param markerNumber [Integer]
2318
+ # @return [Integer]
2319
+ def get_marker_symbol_defined(markerNumber) end
2320
+ alias_method :marker_symbol_defined, :get_marker_symbol_defined
2321
+
2322
+ # Set the width for future RGBA image data.
2323
+ # @param width [Integer]
2324
+ # @return [void]
2325
+ def rgba_image_set_width(width) end
2326
+
2327
+ # Set the height for future RGBA image data.
2328
+ # @param height [Integer]
2329
+ # @return [void]
2330
+ def rgba_image_set_height(height) end
2331
+
2332
+ # Set the scale factor in percent for future RGBA image data.
2333
+ # @param scalePercent [Integer]
2334
+ # @return [void]
2335
+ def rgba_image_set_scale(scalePercent) end
2336
+
2337
+ # Define a marker from RGBA data.
2338
+ # It has the width and height from RGBAImageSetWidth/Height
2339
+ # @param markerNumber [Integer]
2340
+ # @param pixels [unsigned char]
2341
+ # @return [void]
2342
+ def marker_define_rgba_image(markerNumber, pixels) end
2343
+
2344
+ # Set an indicator to plain, squiggle or TT.
2345
+ # The second argument should be one of the wxSTC_INDIC_* constants.
2346
+ # @param indicator [Integer]
2347
+ # @param indicatorStyle [Integer]
2348
+ # @return [void]
2349
+ def indicator_set_style(indicator, indicatorStyle) end
2350
+
2351
+ # Retrieve the style of an indicator.
2352
+ # The return value will be one of the wxSTC_INDIC_* constants.
2353
+ # @param indicator [Integer]
2354
+ # @return [Integer]
2355
+ def indicator_get_style(indicator) end
2356
+
2357
+ # Set the foreground colour of an indicator.
2358
+ # @param indicator [Integer]
2359
+ # @param fore [Wx::Colour,String,Symbol]
2360
+ # @return [void]
2361
+ def indicator_set_foreground(indicator, fore) end
2362
+
2363
+ # Retrieve the foreground colour of an indicator.
2364
+ # @param indicator [Integer]
2365
+ # @return [Wx::Colour]
2366
+ def indicator_get_foreground(indicator) end
2367
+
2368
+ # Set an indicator to draw under text or over(default).
2369
+ # @param indicator [Integer]
2370
+ # @param under [true,false]
2371
+ # @return [void]
2372
+ def indicator_set_under(indicator, under) end
2373
+
2374
+ # Retrieve whether indicator drawn under or over text.
2375
+ # @param indicator [Integer]
2376
+ # @return [true,false]
2377
+ def indicator_get_under(indicator) end
2378
+
2379
+ # Set a hover indicator to plain, squiggle or TT.
2380
+ # @param indicator [Integer]
2381
+ # @param indicatorStyle [Integer]
2382
+ # @return [void]
2383
+ def indicator_set_hover_style(indicator, indicatorStyle) end
2384
+
2385
+ # Retrieve the hover style of an indicator.
2386
+ # @param indicator [Integer]
2387
+ # @return [Integer]
2388
+ def indicator_get_hover_style(indicator) end
2389
+
2390
+ # Set the foreground hover colour of an indicator.
2391
+ # @param indicator [Integer]
2392
+ # @param fore [Wx::Colour,String,Symbol]
2393
+ # @return [void]
2394
+ def indicator_set_hover_foreground(indicator, fore) end
2395
+
2396
+ # Retrieve the foreground hover colour of an indicator.
2397
+ # @param indicator [Integer]
2398
+ # @return [Wx::Colour]
2399
+ def indicator_get_hover_foreground(indicator) end
2400
+
2401
+ # Set the attributes of an indicator.
2402
+ # The second argument should be a bit list containing one or more of the wxSTC_INDICFLAG_* constants.
2403
+ # @param indicator [Integer]
2404
+ # @param flags [Integer]
2405
+ # @return [void]
2406
+ def indicator_set_flags(indicator, flags) end
2407
+
2408
+ # Retrieve the attributes of an indicator.
2409
+ # The return value will be a bit list containing one or more of the wxSTC_INDICFLAG_* constants.
2410
+ # @param indicator [Integer]
2411
+ # @return [Integer]
2412
+ def indicator_get_flags(indicator) end
2413
+
2414
+ # Set the indicator used for IndicatorFillRange and IndicatorClearRange.
2415
+ # @param indicator [Integer]
2416
+ # @return [void]
2417
+ def set_indicator_current(indicator) end
2418
+ alias_method :indicator_current=, :set_indicator_current
2419
+
2420
+ # Get the current indicator.
2421
+ # @return [Integer]
2422
+ def get_indicator_current; end
2423
+ alias_method :indicator_current, :get_indicator_current
2424
+
2425
+ # Set the value used for IndicatorFillRange.
2426
+ # @param value [Integer]
2427
+ # @return [void]
2428
+ def set_indicator_value(value) end
2429
+ alias_method :indicator_value=, :set_indicator_value
2430
+
2431
+ # Get the current indicator value.
2432
+ # @return [Integer]
2433
+ def get_indicator_value; end
2434
+ alias_method :indicator_value, :get_indicator_value
2435
+
2436
+ # Turn an indicator on over a range.
2437
+ # @param start [Integer]
2438
+ # @param lengthFill [Integer]
2439
+ # @return [void]
2440
+ def indicator_fill_range(start, lengthFill) end
2441
+
2442
+ # Turn an indicator off over a range.
2443
+ # @param start [Integer]
2444
+ # @param lengthClear [Integer]
2445
+ # @return [void]
2446
+ def indicator_clear_range(start, lengthClear) end
2447
+
2448
+ # Are any indicators present at pos?
2449
+ # @param pos [Integer]
2450
+ # @return [Integer]
2451
+ def indicator_all_on_for(pos) end
2452
+
2453
+ # What value does a particular indicator have at a position?
2454
+ # @param indicator [Integer]
2455
+ # @param pos [Integer]
2456
+ # @return [Integer]
2457
+ def indicator_value_at(indicator, pos) end
2458
+
2459
+ # Where does a particular indicator start?
2460
+ # @param indicator [Integer]
2461
+ # @param pos [Integer]
2462
+ # @return [Integer]
2463
+ def indicator_start(indicator, pos) end
2464
+
2465
+ # Where does a particular indicator end?
2466
+ # @param indicator [Integer]
2467
+ # @param pos [Integer]
2468
+ # @return [Integer]
2469
+ def indicator_end(indicator, pos) end
2470
+
2471
+ # Set the alpha fill colour of the given indicator.
2472
+ # @param indicator [Integer]
2473
+ # @param alpha [Integer]
2474
+ # @return [void]
2475
+ def indicator_set_alpha(indicator, alpha) end
2476
+
2477
+ # Get the alpha fill colour of the given indicator.
2478
+ # @param indicator [Integer]
2479
+ # @return [Integer]
2480
+ def indicator_get_alpha(indicator) end
2481
+
2482
+ # Set the alpha outline colour of the given indicator.
2483
+ # @param indicator [Integer]
2484
+ # @param alpha [Integer]
2485
+ # @return [void]
2486
+ def indicator_set_outline_alpha(indicator, alpha) end
2487
+
2488
+ # Get the alpha outline colour of the given indicator.
2489
+ # @param indicator [Integer]
2490
+ # @return [Integer]
2491
+ def indicator_get_outline_alpha(indicator) end
2492
+
2493
+ # Display an auto-completion list.
2494
+ # The lengthEntered parameter indicates how many characters before the caret should be used to provide context.
2495
+ # @param lengthEntered [Integer]
2496
+ # @param itemList [String]
2497
+ # @return [void]
2498
+ def auto_comp_show(lengthEntered, itemList) end
2499
+
2500
+ # Remove the auto-completion list from the screen.
2501
+ # @return [void]
2502
+ def auto_comp_cancel; end
2503
+
2504
+ # Is there an auto-completion list visible?
2505
+ # @return [true,false]
2506
+ def auto_comp_active; end
2507
+
2508
+ # Retrieve the position of the caret when the auto-completion list was displayed.
2509
+ # @return [Integer]
2510
+ def auto_comp_pos_start; end
2511
+
2512
+ # User has selected an item so remove the list and insert the selection.
2513
+ # @return [void]
2514
+ def auto_comp_complete; end
2515
+
2516
+ # Define a set of character that when typed cancel the auto-completion list.
2517
+ # @param characterSet [String]
2518
+ # @return [void]
2519
+ def auto_comp_stops(characterSet) end
2520
+
2521
+ # Change the separator character in the string setting up an auto-completion list.
2522
+ # Default is space but can be changed if items contain space.
2523
+ # @param separatorCharacter [Integer]
2524
+ # @return [void]
2525
+ def auto_comp_set_separator(separatorCharacter) end
2526
+
2527
+ # Retrieve the auto-completion list separator character.
2528
+ # @return [Integer]
2529
+ def auto_comp_get_separator; end
2530
+
2531
+ # Select the item in the auto-completion list that starts with a string.
2532
+ # @param select [String]
2533
+ # @return [void]
2534
+ def auto_comp_select(select) end
2535
+
2536
+ # Should the auto-completion list be cancelled if the user backspaces to a position before where the box was created.
2537
+ # @param cancel [true,false]
2538
+ # @return [void]
2539
+ def auto_comp_set_cancel_at_start(cancel) end
2540
+
2541
+ # Retrieve whether auto-completion cancelled by backspacing before start.
2542
+ # @return [true,false]
2543
+ def auto_comp_get_cancel_at_start; end
2544
+
2545
+ # Define a set of characters that when typed will cause the autocompletion to choose the selected item.
2546
+ # @param characterSet [String]
2547
+ # @return [void]
2548
+ def auto_comp_set_fill_ups(characterSet) end
2549
+
2550
+ # Should a single item auto-completion list automatically choose the item.
2551
+ # @param chooseSingle [true,false]
2552
+ # @return [void]
2553
+ def auto_comp_set_choose_single(chooseSingle) end
2554
+
2555
+ # Retrieve whether a single item auto-completion list automatically choose the item.
2556
+ # @return [true,false]
2557
+ def auto_comp_get_choose_single; end
2558
+
2559
+ # Set whether case is significant when performing auto-completion searches.
2560
+ # @param ignoreCase [true,false]
2561
+ # @return [void]
2562
+ def auto_comp_set_ignore_case(ignoreCase) end
2563
+
2564
+ # Retrieve state of ignore case flag.
2565
+ # @return [true,false]
2566
+ def auto_comp_get_ignore_case; end
2567
+
2568
+ # Set whether or not autocompletion is hidden automatically when nothing matches.
2569
+ # @param autoHide [true,false]
2570
+ # @return [void]
2571
+ def auto_comp_set_auto_hide(autoHide) end
2572
+
2573
+ # Retrieve whether or not autocompletion is hidden automatically when nothing matches.
2574
+ # @return [true,false]
2575
+ def auto_comp_get_auto_hide; end
2576
+
2577
+ # Set whether or not autocompletion deletes any word characters after the inserted text upon completion.
2578
+ # @param dropRestOfWord [true,false]
2579
+ # @return [void]
2580
+ def auto_comp_set_drop_rest_of_word(dropRestOfWord) end
2581
+
2582
+ # Retrieve whether or not autocompletion deletes any word characters after the inserted text upon completion.
2583
+ # @return [true,false]
2584
+ def auto_comp_get_drop_rest_of_word; end
2585
+
2586
+ # Register an image for use in autocompletion lists.
2587
+ # @param type [Integer]
2588
+ # @param bmp [Wx::Bitmap]
2589
+ # @return [void]
2590
+ def register_image(type, bmp) end
2591
+
2592
+ # Clear all the registered images.
2593
+ # @return [void]
2594
+ def clear_registered_images; end
2595
+
2596
+ # Retrieve the auto-completion list type-separator character.
2597
+ # @return [Integer]
2598
+ def auto_comp_get_type_separator; end
2599
+
2600
+ # Change the type-separator character in the string setting up an auto-completion list.
2601
+ # Default is '?' but can be changed if items contain '?'.
2602
+ # @param separatorCharacter [Integer]
2603
+ # @return [void]
2604
+ def auto_comp_set_type_separator(separatorCharacter) end
2605
+
2606
+ # Set the maximum width, in characters, of auto-completion and user lists.
2607
+ # Set to 0 to autosize to fit longest item, which is the default.
2608
+ # @param characterCount [Integer]
2609
+ # @return [void]
2610
+ def auto_comp_set_max_width(characterCount) end
2611
+
2612
+ # Get the maximum width, in characters, of auto-completion and user lists.
2613
+ # @return [Integer]
2614
+ def auto_comp_get_max_width; end
2615
+
2616
+ # Set the maximum height, in rows, of auto-completion and user lists.
2617
+ # The default is 5 rows.
2618
+ # @param rowCount [Integer]
2619
+ # @return [void]
2620
+ def auto_comp_set_max_height(rowCount) end
2621
+
2622
+ # Set the maximum height, in rows, of auto-completion and user lists.
2623
+ # @return [Integer]
2624
+ def auto_comp_get_max_height; end
2625
+
2626
+ # Get currently selected item position in the auto-completion list.
2627
+ # @return [Integer]
2628
+ def auto_comp_get_current; end
2629
+
2630
+ # Get currently selected item text in the auto-completion list.
2631
+ # @return [String]
2632
+ def auto_comp_get_current_text; end
2633
+
2634
+ # Set auto-completion case insensitive behaviour to either prefer case-sensitive matches or have no preference.
2635
+ # The input should be one of the wxSTC_CASEINSENSITIVEBEHAVIOUR_* constants.
2636
+ # @param behaviour [Integer]
2637
+ # @return [void]
2638
+ def auto_comp_set_case_insensitive_behaviour(behaviour) end
2639
+
2640
+ # Get auto-completion case insensitive behaviour.
2641
+ # The return value will be one of the wxSTC_CASEINSENSITIVEBEHAVIOUR_* constants.
2642
+ # @return [Integer]
2643
+ def auto_comp_get_case_insensitive_behaviour; end
2644
+
2645
+ # Change the effect of autocompleting when there are multiple selections.
2646
+ # The input should be one of the wxSTC_MULTIAUTOC_* constants.
2647
+ # @param multi [Integer]
2648
+ # @return [void]
2649
+ def auto_comp_set_multi(multi) end
2650
+
2651
+ # Retrieve the effect of autocompleting when there are multiple selections.
2652
+ # The return value will be one of the wxSTC_MULTIAUTOC_* constants.
2653
+ # @return [Integer]
2654
+ def auto_comp_get_multi; end
2655
+
2656
+ # Set the way autocompletion lists are ordered.
2657
+ # The input should be one of the wxSTC_ORDER_* constants.
2658
+ # @param order [Integer]
2659
+ # @return [void]
2660
+ def auto_comp_set_order(order) end
2661
+
2662
+ # Get the way autocompletion lists are ordered.
2663
+ # The return value will be one of the wxSTC_ORDER_* constants.
2664
+ # @return [Integer]
2665
+ def auto_comp_get_order; end
2666
+
2667
+ # Register an RGBA image for use in autocompletion lists.
2668
+ # It has the width and height from RGBAImageSetWidth/Height
2669
+ # @param type [Integer]
2670
+ # @param pixels [unsigned char]
2671
+ # @return [void]
2672
+ def register_rgba_image(type, pixels) end
2673
+
2674
+ # Display a list of strings and send notification when user chooses one.
2675
+ # @param listType [Integer]
2676
+ # @param itemList [String]
2677
+ # @return [void]
2678
+ def user_list_show(listType, itemList) end
2679
+
2680
+ # Show a call tip containing a definition near position pos.
2681
+ # @param pos [Integer]
2682
+ # @param definition [String]
2683
+ # @return [void]
2684
+ def call_tip_show(pos, definition) end
2685
+
2686
+ # Remove the call tip from the screen.
2687
+ # @return [void]
2688
+ def call_tip_cancel; end
2689
+
2690
+ # Is there an active call tip?
2691
+ # @return [true,false]
2692
+ def call_tip_active; end
2693
+
2694
+ # Retrieve the position where the caret was before displaying the call tip.
2695
+ # @return [Integer]
2696
+ def call_tip_pos_at_start; end
2697
+
2698
+ # Set the start position in order to change when backspacing removes the calltip.
2699
+ # @param posStart [Integer]
2700
+ # @return [void]
2701
+ def call_tip_set_pos_at_start(posStart) end
2702
+
2703
+ # Highlight a segment of the definition.
2704
+ # @param highlightStart [Integer]
2705
+ # @param highlightEnd [Integer]
2706
+ # @return [void]
2707
+ def call_tip_set_highlight(highlightStart, highlightEnd) end
2708
+
2709
+ # Set the background colour for the call tip.
2710
+ # @param back [Wx::Colour,String,Symbol]
2711
+ # @return [void]
2712
+ def call_tip_set_background(back) end
2713
+
2714
+ # Set the foreground colour for the call tip.
2715
+ # @param fore [Wx::Colour,String,Symbol]
2716
+ # @return [void]
2717
+ def call_tip_set_foreground(fore) end
2718
+
2719
+ # Set the foreground colour for the highlighted part of the call tip.
2720
+ # @param fore [Wx::Colour,String,Symbol]
2721
+ # @return [void]
2722
+ def call_tip_set_foreground_highlight(fore) end
2723
+
2724
+ # Enable use of {Wx::STC::STC_STYLE_CALLTIP} and set call tip tab size in pixels.
2725
+ # @param tabSize [Integer]
2726
+ # @return [void]
2727
+ def call_tip_use_style(tabSize) end
2728
+
2729
+ # Set position of calltip, above or below text.
2730
+ # @param above [true,false]
2731
+ # @return [void]
2732
+ def call_tip_set_position(above) end
2733
+
2734
+ # Move caret down one line.
2735
+ # @return [void]
2736
+ def line_down; end
2737
+
2738
+ # Move caret down one line extending selection to new caret position.
2739
+ # @return [void]
2740
+ def line_down_extend; end
2741
+
2742
+ # Move caret up one line.
2743
+ # @return [void]
2744
+ def line_up; end
2745
+
2746
+ # Move caret up one line extending selection to new caret position.
2747
+ # @return [void]
2748
+ def line_up_extend; end
2749
+
2750
+ # Move caret left one character.
2751
+ # @return [void]
2752
+ def char_left; end
2753
+
2754
+ # Move caret left one character extending selection to new caret position.
2755
+ # @return [void]
2756
+ def char_left_extend; end
2757
+
2758
+ # Move caret right one character.
2759
+ # @return [void]
2760
+ def char_right; end
2761
+
2762
+ # Move caret right one character extending selection to new caret position.
2763
+ # @return [void]
2764
+ def char_right_extend; end
2765
+
2766
+ # Move caret left one word.
2767
+ # @return [void]
2768
+ def word_left; end
2769
+
2770
+ # Move caret left one word extending selection to new caret position.
2771
+ # @return [void]
2772
+ def word_left_extend; end
2773
+
2774
+ # Move caret right one word.
2775
+ # @return [void]
2776
+ def word_right; end
2777
+
2778
+ # Move caret right one word extending selection to new caret position.
2779
+ # @return [void]
2780
+ def word_right_extend; end
2781
+
2782
+ # Move caret to first position on line.
2783
+ # @return [void]
2784
+ def home; end
2785
+
2786
+ # Move caret to first position on line extending selection to new caret position.
2787
+ # @return [void]
2788
+ def home_extend; end
2789
+
2790
+ # Move caret to last position on line.
2791
+ # @return [void]
2792
+ def line_end; end
2793
+
2794
+ # Move caret to last position on line extending selection to new caret position.
2795
+ # @return [void]
2796
+ def line_end_extend; end
2797
+
2798
+ # Move caret to first position in document.
2799
+ # @return [void]
2800
+ def document_start; end
2801
+
2802
+ # Move caret to first position in document extending selection to new caret position.
2803
+ # @return [void]
2804
+ def document_start_extend; end
2805
+
2806
+ # Move caret to last position in document.
2807
+ # @return [void]
2808
+ def document_end; end
2809
+
2810
+ # Move caret to last position in document extending selection to new caret position.
2811
+ # @return [void]
2812
+ def document_end_extend; end
2813
+
2814
+ # Move caret one page up.
2815
+ # @return [void]
2816
+ def page_up; end
2817
+
2818
+ # Move caret one page up extending selection to new caret position.
2819
+ # @return [void]
2820
+ def page_up_extend; end
2821
+
2822
+ # Move caret one page down.
2823
+ # @return [void]
2824
+ def page_down; end
2825
+
2826
+ # Move caret one page down extending selection to new caret position.
2827
+ # @return [void]
2828
+ def page_down_extend; end
2829
+
2830
+ # Switch from insert to overtype mode or the reverse.
2831
+ # @return [void]
2832
+ def edit_toggle_overtype; end
2833
+
2834
+ # Cancel any modes such as call tip or auto-completion list display.
2835
+ # @return [void]
2836
+ def cancel; end
2837
+
2838
+ # Delete the selection or if no selection, the character before the caret.
2839
+ # @return [void]
2840
+ def delete_back; end
2841
+
2842
+ # If selection is empty or all on one line replace the selection with a tab character.
2843
+ # If more than one line selected, indent the lines.
2844
+ # @return [void]
2845
+ def tab; end
2846
+
2847
+ # Dedent the selected lines.
2848
+ # @return [void]
2849
+ def back_tab; end
2850
+
2851
+ # Insert a new line, may use a CRLF, CR or LF depending on EOL mode.
2852
+ # @return [void]
2853
+ def new_line; end
2854
+
2855
+ # Insert a Form Feed character.
2856
+ # @return [void]
2857
+ def form_feed; end
2858
+
2859
+ # Move caret to before first visible character on line.
2860
+ # If already there move to first character on line.
2861
+ # @return [void]
2862
+ def vc_home; end
2863
+
2864
+ # Like VCHome but extending selection to new caret position.
2865
+ # @return [void]
2866
+ def vc_home_extend; end
2867
+
2868
+ # Delete the word to the left of the caret.
2869
+ # @return [void]
2870
+ def del_word_left; end
2871
+
2872
+ # Delete the word to the right of the caret.
2873
+ # @return [void]
2874
+ def del_word_right; end
2875
+
2876
+ # Delete the word to the right of the caret, but not the trailing non-word characters.
2877
+ # @return [void]
2878
+ def del_word_right_end; end
2879
+
2880
+ # Cut the line containing the caret.
2881
+ # @return [void]
2882
+ def line_cut; end
2883
+
2884
+ # Delete the line containing the caret.
2885
+ # @return [void]
2886
+ def line_delete; end
2887
+
2888
+ # Switch the current line with the previous.
2889
+ # @return [void]
2890
+ def line_transpose; end
2891
+
2892
+ # Duplicate the current line.
2893
+ # @return [void]
2894
+ def line_duplicate; end
2895
+
2896
+ # Transform the selection to lower case.
2897
+ # @return [void]
2898
+ def lower_case; end
2899
+
2900
+ # Transform the selection to upper case.
2901
+ # @return [void]
2902
+ def upper_case; end
2903
+
2904
+ # Scroll the document down, keeping the caret visible.
2905
+ # @return [void]
2906
+ def line_scroll_down; end
2907
+
2908
+ # Scroll the document up, keeping the caret visible.
2909
+ # @return [void]
2910
+ def line_scroll_up; end
2911
+
2912
+ # Delete the selection or if no selection, the character before the caret.
2913
+ # Will not delete the character before at the start of a line.
2914
+ # @return [void]
2915
+ def delete_back_not_line; end
2916
+
2917
+ # Move caret to first position on display line.
2918
+ # @return [void]
2919
+ def home_display; end
2920
+
2921
+ # Move caret to first position on display line extending selection to new caret position.
2922
+ # @return [void]
2923
+ def home_display_extend; end
2924
+
2925
+ # Move caret to last position on display line.
2926
+ # @return [void]
2927
+ def line_end_display; end
2928
+
2929
+ # Move caret to last position on display line extending selection to new caret position.
2930
+ # @return [void]
2931
+ def line_end_display_extend; end
2932
+
2933
+ # Like Home but when word-wrap is enabled goes first to start of display line HomeDisplay, then to start of document line Home.
2934
+ # @return [void]
2935
+ def home_wrap; end
2936
+
2937
+ # Like HomeExtend but when word-wrap is enabled extends first to start of display line HomeDisplayExtend, then to start of document line HomeExtend.
2938
+ # @return [void]
2939
+ def home_wrap_extend; end
2940
+
2941
+ # Like LineEnd but when word-wrap is enabled goes first to end of display line LineEndDisplay, then to start of document line LineEnd.
2942
+ # @return [void]
2943
+ def line_end_wrap; end
2944
+
2945
+ # Like LineEndExtend but when word-wrap is enabled extends first to end of display line LineEndDisplayExtend, then to start of document line LineEndExtend.
2946
+ # @return [void]
2947
+ def line_end_wrap_extend; end
2948
+
2949
+ # Like VCHome but when word-wrap is enabled goes first to start of display line VCHomeDisplay, then behaves like VCHome.
2950
+ # @return [void]
2951
+ def vc_home_wrap; end
2952
+
2953
+ # Like VCHomeExtend but when word-wrap is enabled extends first to start of display line VCHomeDisplayExtend, then behaves like VCHomeExtend.
2954
+ # @return [void]
2955
+ def vc_home_wrap_extend; end
2956
+
2957
+ # Copy the line containing the caret.
2958
+ # @return [void]
2959
+ def line_copy; end
2960
+
2961
+ # Move to the previous change in capitalisation.
2962
+ # @return [void]
2963
+ def word_part_left; end
2964
+
2965
+ # Move to the previous change in capitalisation extending selection to new caret position.
2966
+ # @return [void]
2967
+ def word_part_left_extend; end
2968
+
2969
+ # Move to the change next in capitalisation.
2970
+ # @return [void]
2971
+ def word_part_right; end
2972
+
2973
+ # Move to the next change in capitalisation extending selection to new caret position.
2974
+ # @return [void]
2975
+ def word_part_right_extend; end
2976
+
2977
+ # Delete back from the current position to the start of the line.
2978
+ # @return [void]
2979
+ def del_line_left; end
2980
+
2981
+ # Delete forwards from the current position to the end of the line.
2982
+ # @return [void]
2983
+ def del_line_right; end
2984
+
2985
+ # Move caret down one paragraph (delimited by empty lines).
2986
+ # @return [void]
2987
+ def para_down; end
2988
+
2989
+ # Extend selection down one paragraph (delimited by empty lines).
2990
+ # @return [void]
2991
+ def para_down_extend; end
2992
+
2993
+ # Move caret up one paragraph (delimited by empty lines).
2994
+ # @return [void]
2995
+ def para_up; end
2996
+
2997
+ # Extend selection up one paragraph (delimited by empty lines).
2998
+ # @return [void]
2999
+ def para_up_extend; end
3000
+
3001
+ # Move caret down one line, extending rectangular selection to new caret position.
3002
+ # @return [void]
3003
+ def line_down_rect_extend; end
3004
+
3005
+ # Move caret up one line, extending rectangular selection to new caret position.
3006
+ # @return [void]
3007
+ def line_up_rect_extend; end
3008
+
3009
+ # Move caret left one character, extending rectangular selection to new caret position.
3010
+ # @return [void]
3011
+ def char_left_rect_extend; end
3012
+
3013
+ # Move caret right one character, extending rectangular selection to new caret position.
3014
+ # @return [void]
3015
+ def char_right_rect_extend; end
3016
+
3017
+ # Move caret to first position on line, extending rectangular selection to new caret position.
3018
+ # @return [void]
3019
+ def home_rect_extend; end
3020
+
3021
+ # Move caret to before first visible character on line.
3022
+ # If already there move to first character on line. In either case, extend rectangular selection to new caret position.
3023
+ # @return [void]
3024
+ def vc_home_rect_extend; end
3025
+
3026
+ # Move caret to last position on line, extending rectangular selection to new caret position.
3027
+ # @return [void]
3028
+ def line_end_rect_extend; end
3029
+
3030
+ # Move caret one page up, extending rectangular selection to new caret position.
3031
+ # @return [void]
3032
+ def page_up_rect_extend; end
3033
+
3034
+ # Move caret one page down, extending rectangular selection to new caret position.
3035
+ # @return [void]
3036
+ def page_down_rect_extend; end
3037
+
3038
+ # Move caret to top of page, or one page up if already at top of page.
3039
+ # @return [void]
3040
+ def stuttered_page_up; end
3041
+
3042
+ # Move caret to top of page, or one page up if already at top of page, extending selection to new caret position.
3043
+ # @return [void]
3044
+ def stuttered_page_up_extend; end
3045
+
3046
+ # Move caret to bottom of page, or one page down if already at bottom of page.
3047
+ # @return [void]
3048
+ def stuttered_page_down; end
3049
+
3050
+ # Move caret to bottom of page, or one page down if already at bottom of page, extending selection to new caret position.
3051
+ # @return [void]
3052
+ def stuttered_page_down_extend; end
3053
+
3054
+ # Move caret left one word, position cursor at end of word.
3055
+ # @return [void]
3056
+ def word_left_end; end
3057
+
3058
+ # Move caret left one word, position cursor at end of word, extending selection to new caret position.
3059
+ # @return [void]
3060
+ def word_left_end_extend; end
3061
+
3062
+ # Move caret right one word, position cursor at end of word.
3063
+ # @return [void]
3064
+ def word_right_end; end
3065
+
3066
+ # Move caret right one word, position cursor at end of word, extending selection to new caret position.
3067
+ # @return [void]
3068
+ def word_right_end_extend; end
3069
+
3070
+ # Duplicate the selection.
3071
+ # If selection empty duplicate the line containing the caret.
3072
+ # @return [void]
3073
+ def selection_duplicate; end
3074
+
3075
+ # Centre current line in window.
3076
+ # @return [void]
3077
+ def vertical_centre_caret; end
3078
+
3079
+ # Scroll to start of document.
3080
+ # @return [void]
3081
+ def scroll_to_start; end
3082
+
3083
+ # Scroll to end of document.
3084
+ # @return [void]
3085
+ def scroll_to_end; end
3086
+
3087
+ # Move caret to before first visible character on display line.
3088
+ # If already there move to first character on display line.
3089
+ # @return [void]
3090
+ def vc_home_display; end
3091
+
3092
+ # Like VCHomeDisplay but extending selection to new caret position.
3093
+ # @return [void]
3094
+ def vc_home_display_extend; end
3095
+
3096
+ # When key+modifier combination keyDefinition is pressed perform sciCommand.
3097
+ # 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.
3098
+ # @param key [Integer]
3099
+ # @param modifiers [Integer]
3100
+ # @param cmd [Integer]
3101
+ # @return [void]
3102
+ def cmd_key_assign(key, modifiers, cmd) end
3103
+
3104
+ # When key+modifier combination keyDefinition is pressed do nothing.
3105
+ # The second argument should be a bit list containing one or more of the wxSTC_KEYMOD_* constants.
3106
+ # @param key [Integer]
3107
+ # @param modifiers [Integer]
3108
+ # @return [void]
3109
+ def cmd_key_clear(key, modifiers) end
3110
+
3111
+ # Drop all key mappings.
3112
+ # @return [void]
3113
+ def cmd_key_clear_all; end
3114
+
3115
+ # Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button on certain areas.
3116
+ # The input should be one of the wxSTC_POPUP_* constants. 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.
3117
+ # @param popUpMode [Integer]
3118
+ # @return [void]
3119
+ def use_pop_up(popUpMode) end
3120
+
3121
+ # Start notifying the container of all key presses and commands.
3122
+ # @return [void]
3123
+ def start_record; end
3124
+
3125
+ # Stop notifying the container of all key presses and commands.
3126
+ # @return [void]
3127
+ def stop_record; end
3128
+
3129
+ # Sets the print magnification added to the point size of each style for printing.
3130
+ # @param magnification [Integer]
3131
+ # @return [void]
3132
+ def set_print_magnification(magnification) end
3133
+ alias_method :print_magnification=, :set_print_magnification
3134
+
3135
+ # Returns the print magnification.
3136
+ # @return [Integer]
3137
+ def get_print_magnification; end
3138
+ alias_method :print_magnification, :get_print_magnification
3139
+
3140
+ # Modify colours when printing for clearer printed text.
3141
+ # The input should be one of the wxSTC_PRINT_* constants.
3142
+ # @param mode [Integer]
3143
+ # @return [void]
3144
+ def set_print_colour_mode(mode) end
3145
+ alias_method :print_colour_mode=, :set_print_colour_mode
3146
+
3147
+ # Returns the print colour mode.
3148
+ # The return value will be one of the wxSTC_PRINT_* constants.
3149
+ # @return [Integer]
3150
+ def get_print_colour_mode; end
3151
+ alias_method :print_colour_mode, :get_print_colour_mode
3152
+
3153
+ # On Windows, will draw the document into a display context such as a printer.
3154
+ # @param doDraw [true,false]
3155
+ # @param startPos [Integer]
3156
+ # @param endPos [Integer]
3157
+ # @param draw [Wx::DC]
3158
+ # @param target [Wx::DC]
3159
+ # @param renderRect [Wx::Rect]
3160
+ # @param pageRect [Wx::Rect]
3161
+ # @return [Integer]
3162
+ def format_range(doDraw, startPos, endPos, draw, target, renderRect, pageRect) end
3163
+
3164
+ # Set printing to line wrapped ({Wx::STC::STC_WRAP_WORD}) or not line wrapped ({Wx::STC::STC_WRAP_NONE}).
3165
+ # @param wrapMode [Integer]
3166
+ # @return [void]
3167
+ def set_print_wrap_mode(wrapMode) end
3168
+ alias_method :print_wrap_mode=, :set_print_wrap_mode
3169
+
3170
+ # Is printing line wrapped?
3171
+ # The return value will be one of the wxSTC_WRAP_* constants.
3172
+ # @return [Integer]
3173
+ def get_print_wrap_mode; end
3174
+ alias_method :print_wrap_mode, :get_print_wrap_mode
3175
+
3176
+ # Return a position which, to avoid performance costs, should not be within the range of a call to GetRangePointer.
3177
+ # @return [Integer]
3178
+ def get_gap_position; end
3179
+ alias_method :gap_position, :get_gap_position
3180
+
3181
+ # Find the display line of a document line taking hidden lines into account.
3182
+ # @param docLine [Integer]
3183
+ # @return [Integer]
3184
+ def visible_from_doc_line(docLine) end
3185
+
3186
+ # Find the document line of a display line taking hidden lines into account.
3187
+ # @param displayLine [Integer]
3188
+ # @return [Integer]
3189
+ def doc_line_from_visible(displayLine) end
3190
+
3191
+ # Set the fold level of a line.
3192
+ # This encodes an integer level along with flags indicating whether the line is a header and whether it is effectively white space.
3193
+ # @param line [Integer]
3194
+ # @param level [Integer]
3195
+ # @return [void]
3196
+ def set_fold_level(line, level) end
3197
+
3198
+ # Retrieve the fold level of a line.
3199
+ # @param line [Integer]
3200
+ # @return [Integer]
3201
+ def get_fold_level(line) end
3202
+ alias_method :fold_level, :get_fold_level
3203
+
3204
+ # Find the last child line of a header line.
3205
+ # @param line [Integer]
3206
+ # @param level [Integer]
3207
+ # @return [Integer]
3208
+ def get_last_child(line, level) end
3209
+ alias_method :last_child, :get_last_child
3210
+
3211
+ # Find the parent line of a child line.
3212
+ # @param line [Integer]
3213
+ # @return [Integer]
3214
+ def get_fold_parent(line) end
3215
+ alias_method :fold_parent, :get_fold_parent
3216
+
3217
+ # Make a range of lines visible.
3218
+ # @param lineStart [Integer]
3219
+ # @param lineEnd [Integer]
3220
+ # @return [void]
3221
+ def show_lines(lineStart, lineEnd) end
3222
+
3223
+ # Make a range of lines invisible.
3224
+ # @param lineStart [Integer]
3225
+ # @param lineEnd [Integer]
3226
+ # @return [void]
3227
+ def hide_lines(lineStart, lineEnd) end
3228
+
3229
+ # Is a line visible?
3230
+ # @param line [Integer]
3231
+ # @return [true,false]
3232
+ def get_line_visible(line) end
3233
+ alias_method :line_visible, :get_line_visible
3234
+
3235
+ # Are all lines visible?
3236
+ # @return [true,false]
3237
+ def get_all_lines_visible; end
3238
+ alias_method :all_lines_visible, :get_all_lines_visible
3239
+
3240
+ # Show the children of a header line.
3241
+ # @param line [Integer]
3242
+ # @param expanded [true,false]
3243
+ # @return [void]
3244
+ def set_fold_expanded(line, expanded) end
3245
+
3246
+ # Is a header line expanded?
3247
+ # @param line [Integer]
3248
+ # @return [true,false]
3249
+ def get_fold_expanded(line) end
3250
+ alias_method :fold_expanded, :get_fold_expanded
3251
+
3252
+ # Switch a header line between expanded and contracted.
3253
+ # @param line [Integer]
3254
+ # @return [void]
3255
+ def toggle_fold(line) end
3256
+
3257
+ # Switch a header line between expanded and contracted and show some text after the line.
3258
+ # @param line [Integer]
3259
+ # @param text [String]
3260
+ # @return [void]
3261
+ def toggle_fold_show_text(line, text) end
3262
+
3263
+ # Set the style of fold display text.
3264
+ # The input should be one of the wxSTC_FOLDDISPLAYTEXT_* constants.
3265
+ # @param style [Integer]
3266
+ # @return [void]
3267
+ def fold_display_text_set_style(style) end
3268
+
3269
+ # Expand or contract a fold header.
3270
+ # The second argument should be one of the wxSTC_FOLDACTION_* constants.
3271
+ # @param line [Integer]
3272
+ # @param action [Integer]
3273
+ # @return [void]
3274
+ def fold_line(line, action) end
3275
+
3276
+ # Expand or contract a fold header and its children.
3277
+ # The second argument should be one of the wxSTC_FOLDACTION_* constants.
3278
+ # @param line [Integer]
3279
+ # @param action [Integer]
3280
+ # @return [void]
3281
+ def fold_children(line, action) end
3282
+
3283
+ # Expand a fold header and all children.
3284
+ # Use the level argument instead of the line's current level.
3285
+ # @param line [Integer]
3286
+ # @param level [Integer]
3287
+ # @return [void]
3288
+ def expand_children(line, level) end
3289
+
3290
+ # Expand or contract all fold headers.
3291
+ # The input should be one of the wxSTC_FOLDACTION_* constants.
3292
+ # @param action [Integer]
3293
+ # @return [void]
3294
+ def fold_all(action) end
3295
+
3296
+ # Ensure a particular line is visible by expanding any header line hiding it.
3297
+ # @param line [Integer]
3298
+ # @return [void]
3299
+ def ensure_visible(line) end
3300
+
3301
+ # Set automatic folding behaviours.
3302
+ # The input should be a bit list containing one or more of the wxSTC_AUTOMATICFOLD_* constants.
3303
+ # @param automaticFold [Integer]
3304
+ # @return [void]
3305
+ def set_automatic_fold(automaticFold) end
3306
+ alias_method :automatic_fold=, :set_automatic_fold
3307
+
3308
+ # Get automatic folding behaviours.
3309
+ # The return value will be a bit list containing one or more of the wxSTC_AUTOMATICFOLD_* constants.
3310
+ # @return [Integer]
3311
+ def get_automatic_fold; end
3312
+ alias_method :automatic_fold, :get_automatic_fold
3313
+
3314
+ # Set some style options for folding.
3315
+ # The second argument should be a bit list containing one or more of the wxSTC_FOLDFLAG_* constants.
3316
+ # @param flags [Integer]
3317
+ # @return [void]
3318
+ def set_fold_flags(flags) end
3319
+ alias_method :fold_flags=, :set_fold_flags
3320
+
3321
+ # Ensure a particular line is visible by expanding any header line hiding it.
3322
+ # Use the currently set visibility policy to determine which range to display.
3323
+ # @param line [Integer]
3324
+ # @return [void]
3325
+ def ensure_visible_enforce_policy(line) end
3326
+
3327
+ # Find the next line at or after lineStart that is a contracted fold header line.
3328
+ # Return -1 when no more lines.
3329
+ # @param lineStart [Integer]
3330
+ # @return [Integer]
3331
+ def contracted_fold_next(lineStart) end
3332
+
3333
+ # The number of display lines needed to wrap a document line.
3334
+ # @param docLine [Integer]
3335
+ # @return [Integer]
3336
+ def wrap_count(docLine) end
3337
+
3338
+ # Sets whether text is word wrapped.
3339
+ # The input should be one of the wxSTC_WRAP_* constants.
3340
+ # @param wrapMode [Integer]
3341
+ # @return [void]
3342
+ def set_wrap_mode(wrapMode) end
3343
+ alias_method :wrap_mode=, :set_wrap_mode
3344
+
3345
+ # Retrieve whether text is word wrapped.
3346
+ # The return value will be one of the wxSTC_WRAP_* constants.
3347
+ # @return [Integer]
3348
+ def get_wrap_mode; end
3349
+ alias_method :wrap_mode, :get_wrap_mode
3350
+
3351
+ # Set the display mode of visual flags for wrapped lines.
3352
+ # The input should be a bit list containing one or more of the wxSTC_WRAPVISUALFLAG_* constants.
3353
+ # @param wrapVisualFlags [Integer]
3354
+ # @return [void]
3355
+ def set_wrap_visual_flags(wrapVisualFlags) end
3356
+ alias_method :wrap_visual_flags=, :set_wrap_visual_flags
3357
+
3358
+ # Retrieve the display mode of visual flags for wrapped lines.
3359
+ # The return value will be a bit list containing one or more of the wxSTC_WRAPVISUALFLAG_* constants.
3360
+ # @return [Integer]
3361
+ def get_wrap_visual_flags; end
3362
+ alias_method :wrap_visual_flags, :get_wrap_visual_flags
3363
+
3364
+ # Set the location of visual flags for wrapped lines.
3365
+ # The input should be a bit list containing one or more of the wxSTC_WRAPVISUALFLAGLOC_* constants.
3366
+ # @param wrapVisualFlagsLocation [Integer]
3367
+ # @return [void]
3368
+ def set_wrap_visual_flags_location(wrapVisualFlagsLocation) end
3369
+ alias_method :wrap_visual_flags_location=, :set_wrap_visual_flags_location
3370
+
3371
+ # Retrieve the location of visual flags for wrapped lines.
3372
+ # The return value will be a bit list containing one or more of the wxSTC_WRAPVISUALFLAGLOC_* constants.
3373
+ # @return [Integer]
3374
+ def get_wrap_visual_flags_location; end
3375
+ alias_method :wrap_visual_flags_location, :get_wrap_visual_flags_location
3376
+
3377
+ # Set the start indent for wrapped lines.
3378
+ # @param indent [Integer]
3379
+ # @return [void]
3380
+ def set_wrap_start_indent(indent) end
3381
+ alias_method :wrap_start_indent=, :set_wrap_start_indent
3382
+
3383
+ # Retrieve the start indent for wrapped lines.
3384
+ # @return [Integer]
3385
+ def get_wrap_start_indent; end
3386
+ alias_method :wrap_start_indent, :get_wrap_start_indent
3387
+
3388
+ # Sets how wrapped sublines are placed.
3389
+ # Default is {Wx::STC::STC_WRAPINDENT_FIXED}.
3390
+ # The input should be one of the wxSTC_WRAPINDENT_* constants.
3391
+ # @param wrapIndentMode [Integer]
3392
+ # @return [void]
3393
+ def set_wrap_indent_mode(wrapIndentMode) end
3394
+ alias_method :wrap_indent_mode=, :set_wrap_indent_mode
3395
+
3396
+ # Retrieve how wrapped sublines are placed.
3397
+ # Default is {Wx::STC::STC_WRAPINDENT_FIXED}.
3398
+ # The return value will be one of the wxSTC_WRAPINDENT_* constants.
3399
+ # @return [Integer]
3400
+ def get_wrap_indent_mode; end
3401
+ alias_method :wrap_indent_mode, :get_wrap_indent_mode
3402
+
3403
+ # Retrieve the degree of caching of layout information.
3404
+ # The return value will be one of the wxSTC_CACHE_* constants.
3405
+ # @return [Integer]
3406
+ def get_layout_cache; end
3407
+ alias_method :layout_cache, :get_layout_cache
3408
+
3409
+ # Join the lines in the target.
3410
+ # @return [void]
3411
+ def lines_join; end
3412
+
3413
+ # Split the lines in the target into lines that are less wide than pixelWidth where possible.
3414
+ # @param pixelWidth [Integer]
3415
+ # @return [void]
3416
+ def lines_split(pixelWidth) end
3417
+
3418
+ # Set number of entries in position cache.
3419
+ # @param size [Integer]
3420
+ # @return [void]
3421
+ def set_position_cache_size(size) end
3422
+ alias_method :position_cache_size=, :set_position_cache_size
3423
+
3424
+ # How many entries are allocated to the position cache?
3425
+ # @return [Integer]
3426
+ def get_position_cache_size; end
3427
+ alias_method :position_cache_size, :get_position_cache_size
3428
+
3429
+ # Magnify the displayed text by increasing the sizes by 1 point.
3430
+ # @return [void]
3431
+ def zoom_in; end
3432
+
3433
+ # Make the displayed text smaller by decreasing the sizes by 1 point.
3434
+ # @return [void]
3435
+ def zoom_out; end
3436
+
3437
+ # Set the zoom level.
3438
+ # This number of points is added to the size of all fonts. It may be positive to magnify or negative to reduce.
3439
+ # @param zoomInPoints [Integer]
3440
+ # @return [void]
3441
+ def set_zoom(zoomInPoints) end
3442
+ alias_method :zoom=, :set_zoom
3443
+
3444
+ # Retrieve the zoom level.
3445
+ # @return [Integer]
3446
+ def get_zoom; end
3447
+ alias_method :zoom, :get_zoom
3448
+
3449
+ # Retrieve the column number which text should be kept within.
3450
+ # @return [Integer]
3451
+ def get_edge_column; end
3452
+ alias_method :edge_column, :get_edge_column
3453
+
3454
+ # Set the column number of the edge.
3455
+ # If text goes past the edge then it is highlighted.
3456
+ # @param column [Integer]
3457
+ # @return [void]
3458
+ def set_edge_column(column) end
3459
+ alias_method :edge_column=, :set_edge_column
3460
+
3461
+ # Retrieve the edge highlight mode.
3462
+ # The return value will be one of the wxSTC_EDGE_* constants.
3463
+ # @return [Integer]
3464
+ def get_edge_mode; end
3465
+ alias_method :edge_mode, :get_edge_mode
3466
+
3467
+ # 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}).
3468
+ # The input should be one of the wxSTC_EDGE_* constants.
3469
+ # @param edgeMode [Integer]
3470
+ # @return [void]
3471
+ def set_edge_mode(edgeMode) end
3472
+ alias_method :edge_mode=, :set_edge_mode
3473
+
3474
+ # Retrieve the colour used in edge indication.
3475
+ # @return [Wx::Colour]
3476
+ def get_edge_colour; end
3477
+ alias_method :edge_colour, :get_edge_colour
3478
+
3479
+ # Change the colour used in edge indication.
3480
+ # @param edgeColour [Wx::Colour,String,Symbol]
3481
+ # @return [void]
3482
+ def set_edge_colour(edgeColour) end
3483
+ alias_method :edge_colour=, :set_edge_colour
3484
+
3485
+ # Add a new vertical edge to the view.
3486
+ # @param column [Integer]
3487
+ # @param edgeColour [Wx::Colour,String,Symbol]
3488
+ # @return [void]
3489
+ def multi_edge_add_line(column, edgeColour) end
3490
+
3491
+ # Clear all vertical edges.
3492
+ # @return [void]
3493
+ def multi_edge_clear_all; end
3494
+
3495
+ # Indicate that the internal state of a lexer has changed over a range and therefore there may be a need to redraw.
3496
+ # @param start [Integer]
3497
+ # @param end_ [Integer]
3498
+ # @return [Integer]
3499
+ def change_lexer_state(start, end_) end
3500
+
3501
+ # Set the lexing language of the document.
3502
+ # The input should be one of the wxSTC_LEX_* constants.
3503
+ # @param lexer [Integer]
3504
+ # @return [void]
3505
+ def set_lexer(lexer) end
3506
+ alias_method :lexer=, :set_lexer
3507
+
3508
+ # Retrieve the lexing language of the document.
3509
+ # The return value will be one of the wxSTC_LEX_* constants.
3510
+ # @return [Integer]
3511
+ def get_lexer; end
3512
+ alias_method :lexer, :get_lexer
3513
+
3514
+ # Colourise a segment of the document using the current lexing language.
3515
+ # @param start [Integer]
3516
+ # @param end_ [Integer]
3517
+ # @return [void]
3518
+ def colourise(start, end_) end
3519
+
3520
+ # Set up a value that may be used by a lexer for some optional feature.
3521
+ # @param key [String]
3522
+ # @param value [String]
3523
+ # @return [void]
3524
+ def set_property(key, value) end
3525
+
3526
+ # Set up the key words used by the lexer.
3527
+ # @param keyWordSet [Integer]
3528
+ # @param keyWords [String]
3529
+ # @return [void]
3530
+ def set_key_words(keyWordSet, keyWords) end
3531
+
3532
+ # Set the lexing language of the document based on string name.
3533
+ # @param language [String]
3534
+ # @return [void]
3535
+ def set_lexer_language(language) end
3536
+ alias_method :lexer_language=, :set_lexer_language
3537
+
3538
+ # Load a lexer library (dll / so).
3539
+ # @param path [String]
3540
+ # @return [void]
3541
+ def load_lexer_library(path) end
3542
+
3543
+ # Retrieve a "property" value previously set with SetProperty.
3544
+ # @param key [String]
3545
+ # @return [String]
3546
+ def get_property(key) end
3547
+ alias_method :property, :get_property
3548
+
3549
+ # Retrieve a "property" value previously set with SetProperty, with "$()" variable replacement on returned buffer.
3550
+ # @param key [String]
3551
+ # @return [String]
3552
+ def get_property_expanded(key) end
3553
+ alias_method :property_expanded, :get_property_expanded
3554
+
3555
+ # Retrieve a "property" value previously set with SetProperty, interpreted as an int AFTER any "$()" variable replacement.
3556
+ # @param key [String]
3557
+ # @param defaultValue [Integer]
3558
+ # @return [Integer]
3559
+ def get_property_int(key, defaultValue=0) end
3560
+ alias_method :property_int, :get_property_int
3561
+
3562
+ # Retrieve the lexing language of the document.
3563
+ # @return [String]
3564
+ def get_lexer_language; end
3565
+ alias_method :lexer_language, :get_lexer_language
3566
+
3567
+ # Retrieve a '\n' separated list of properties understood by the current lexer.
3568
+ # @return [String]
3569
+ def property_names; end
3570
+
3571
+ # Retrieve the type of a property.
3572
+ # The return value will be one of the wxSTC_TYPE_* constants.
3573
+ # @param name [String]
3574
+ # @return [Integer]
3575
+ def property_type(name) end
3576
+
3577
+ # Describe a property.
3578
+ # @param name [String]
3579
+ # @return [String]
3580
+ def describe_property(name) end
3581
+
3582
+ # Retrieve a '\n' separated list of descriptions of the keyword sets understood by the current lexer.
3583
+ # @return [String]
3584
+ def describe_key_word_sets; end
3585
+
3586
+ # Allocate a set of sub styles for a particular base style, returning start of range.
3587
+ # @param styleBase [Integer]
3588
+ # @param numberStyles [Integer]
3589
+ # @return [Integer]
3590
+ def allocate_sub_styles(styleBase, numberStyles) end
3591
+
3592
+ # The starting style number for the sub styles associated with a base style.
3593
+ # @param styleBase [Integer]
3594
+ # @return [Integer]
3595
+ def get_sub_styles_start(styleBase) end
3596
+ alias_method :sub_styles_start, :get_sub_styles_start
3597
+
3598
+ # The number of sub styles associated with a base style.
3599
+ # @param styleBase [Integer]
3600
+ # @return [Integer]
3601
+ def get_sub_styles_length(styleBase) end
3602
+ alias_method :sub_styles_length, :get_sub_styles_length
3603
+
3604
+ # For a sub style, return the base style, else return the argument.
3605
+ # @param subStyle [Integer]
3606
+ # @return [Integer]
3607
+ def get_style_from_sub_style(subStyle) end
3608
+ alias_method :style_from_sub_style, :get_style_from_sub_style
3609
+
3610
+ # For a secondary style, return the primary style, else return the argument.
3611
+ # @param style [Integer]
3612
+ # @return [Integer]
3613
+ def get_primary_style_from_style(style) end
3614
+ alias_method :primary_style_from_style, :get_primary_style_from_style
3615
+
3616
+ # Free allocated sub styles.
3617
+ # @return [void]
3618
+ def free_sub_styles; end
3619
+
3620
+ # Set the identifiers that are shown in a particular style.
3621
+ # @param style [Integer]
3622
+ # @param identifiers [String]
3623
+ # @return [void]
3624
+ def set_identifiers(style, identifiers) end
3625
+
3626
+ # Where styles are duplicated by a feature such as active/inactive code return the distance between the two types.
3627
+ # @return [Integer]
3628
+ def distance_to_secondary_styles; end
3629
+
3630
+ # Get the set of base styles that can be extended with sub styles.
3631
+ # @return [String]
3632
+ def get_sub_style_bases; end
3633
+ alias_method :sub_style_bases, :get_sub_style_bases
3634
+
3635
+ # Sets the time the mouse must sit still to generate a mouse dwell event.
3636
+ # The input should be a time in milliseconds or {Wx::STC::STC_TIME_FOREVER}.
3637
+ # @param periodMilliseconds [Integer]
3638
+ # @return [void]
3639
+ def set_mouse_dwell_time(periodMilliseconds) end
3640
+ alias_method :mouse_dwell_time=, :set_mouse_dwell_time
3641
+
3642
+ # Retrieve the time the mouse must sit still to generate a mouse dwell event.
3643
+ # The return value will be a time in milliseconds or {Wx::STC::STC_TIME_FOREVER}.
3644
+ # @return [Integer]
3645
+ def get_mouse_dwell_time; end
3646
+ alias_method :mouse_dwell_time, :get_mouse_dwell_time
3647
+
3648
+ # Set which document modification events are sent to the container.
3649
+ # 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.
3650
+ # @param eventMask [Integer]
3651
+ # @return [void]
3652
+ def set_mod_event_mask(eventMask) end
3653
+ alias_method :mod_event_mask=, :set_mod_event_mask
3654
+
3655
+ # Get which document modification events are sent to the container.
3656
+ # 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}.
3657
+ # @return [Integer]
3658
+ def get_mod_event_mask; end
3659
+ alias_method :mod_event_mask, :get_mod_event_mask
3660
+
3661
+ # Set the identifier reported as idFrom in notification messages.
3662
+ # @param identifier [Integer]
3663
+ # @return [void]
3664
+ def set_identifier(identifier) end
3665
+ alias_method :identifier=, :set_identifier
3666
+
3667
+ # Get the identifier.
3668
+ # @return [Integer]
3669
+ def get_identifier; end
3670
+ alias_method :identifier, :get_identifier
3671
+
3672
+ # Returns the line number of the line with the caret.
3673
+ # @return [Integer]
3674
+ def get_current_line; end
3675
+ alias_method :current_line, :get_current_line
3676
+
3677
+ # Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:
3678
+ # 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
3679
+ # @param styleNum [Integer]
3680
+ # @param spec [String]
3681
+ # @return [void]
3682
+ def style_set_spec(styleNum, spec) end
3683
+
3684
+ # Get the font of a style.
3685
+ # @param style [Integer]
3686
+ # @return [Wx::Font]
3687
+ def style_get_font(style) end
3688
+
3689
+ # Set style size, face, bold, italic, and underline attributes from a {Wx::Font}'s attributes.
3690
+ # @param styleNum [Integer]
3691
+ # @param font [Wx::Font]
3692
+ # @return [void]
3693
+ def style_set_font(styleNum, font) end
3694
+
3695
+ # Set all font style attributes at once.
3696
+ # @param styleNum [Integer]
3697
+ # @param size [Integer]
3698
+ # @param faceName [String]
3699
+ # @param bold [true,false]
3700
+ # @param italic [true,false]
3701
+ # @param underline [true,false]
3702
+ # @param encoding [FontEncoding]
3703
+ # @return [void]
3704
+ def style_set_font_attr(styleNum, size, faceName, bold, italic, underline, encoding=Wx::FONTENCODING_DEFAULT) end
3705
+
3706
+ # Set the font encoding to be used by a style.
3707
+ # @param style [Integer]
3708
+ # @param encoding [FontEncoding]
3709
+ # @return [void]
3710
+ def style_set_font_encoding(style, encoding) end
3711
+
3712
+ # Perform one of the operations defined by the {Wx::STC_CMD_}* constants.
3713
+ # @param cmd [Integer]
3714
+ # @return [void]
3715
+ def cmd_key_execute(cmd) end
3716
+
3717
+ # Set the left and right margin in the edit area, measured in pixels.
3718
+ # @param left [Integer]
3719
+ # @param right [Integer]
3720
+ # @return [void]
3721
+ def set_margins(left, right) end
3722
+
3723
+ # Scroll enough to make the given line visible.
3724
+ # @param line [Integer]
3725
+ # @return [void]
3726
+ def scroll_to_line(line) end
3727
+
3728
+ # Scroll enough to make the given column visible.
3729
+ # @param column [Integer]
3730
+ # @return [void]
3731
+ def scroll_to_column(column) end
3732
+
3733
+ # Scintilla API call.
3734
+ # @param msg [Integer]
3735
+ # @param wp [Integer]
3736
+ # @param lp [Integer]
3737
+ # @return [Integer]
3738
+ def send_msg(msg, wp=0, lp=0) end
3739
+
3740
+ # Set the vertical scrollbar to use instead of the one that's built-in.
3741
+ # @param bar [Wx::ScrollBar]
3742
+ # @return [void]
3743
+ def set_v_scroll_bar(bar) end
3744
+ alias_method :v_scroll_bar=, :set_v_scroll_bar
3745
+
3746
+ # Set the horizontal scrollbar to use instead of the one that's built-in.
3747
+ # @param bar [Wx::ScrollBar]
3748
+ # @return [void]
3749
+ def set_h_scroll_bar(bar) end
3750
+ alias_method :h_scroll_bar=, :set_h_scroll_bar
3751
+
3752
+ # Can be used to prevent the EVT_CHAR handler from adding the char.
3753
+ # @return [true,false]
3754
+ def get_last_keydown_processed; end
3755
+ alias_method :last_keydown_processed, :get_last_keydown_processed
3756
+
3757
+ # Returns the line number of the line with the caret.
3758
+ # @param val [true,false]
3759
+ # @return [void]
3760
+ def set_last_keydown_processed(val) end
3761
+ alias_method :last_keydown_processed=, :set_last_keydown_processed
3762
+
3763
+ # Write the contents of the editor to filename.
3764
+ # @param filename [String]
3765
+ # @return [true,false]
3766
+ def save_file(filename) end
3767
+
3768
+ # Load the contents of filename into the editor.
3769
+ # @param filename [String]
3770
+ # @return [true,false]
3771
+ def load_file(filename) end
3772
+
3773
+ # Allow for simulating a DnD DragEnter.
3774
+ # @param x [Integer]
3775
+ # @param y [Integer]
3776
+ # @param defaultRes [DragResult]
3777
+ # @return [DragResult]
3778
+ def do_drag_enter(x, y, defaultRes) end
3779
+
3780
+ # Allow for simulating a DnD DragOver.
3781
+ # @param x [Integer]
3782
+ # @param y [Integer]
3783
+ # @param defaultRes [DragResult]
3784
+ # @return [DragResult]
3785
+ def do_drag_over(x, y, defaultRes) end
3786
+
3787
+ # Allow for simulating a DnD DragLeave.
3788
+ # @return [void]
3789
+ def do_drag_leave; end
3790
+
3791
+ # Allow for simulating a DnD DropText.
3792
+ # @param x [Integer]
3793
+ # @param y [Integer]
3794
+ # @param data [String]
3795
+ # @return [true,false]
3796
+ def do_drop_text(x, y, data) end
3797
+
3798
+ # Specify whether anti-aliased fonts should be used.
3799
+ # This will have no effect on some platforms, but on some ({Wx::Mac} for example) can greatly improve performance.
3800
+ # @param useAA [true,false]
3801
+ # @return [void]
3802
+ def set_use_anti_aliasing(useAA) end
3803
+ alias_method :use_anti_aliasing=, :set_use_anti_aliasing
3804
+
3805
+ # Returns the current UseAntiAliasing setting.
3806
+ # @return [true,false]
3807
+ def get_use_anti_aliasing; end
3808
+ alias_method :use_anti_aliasing, :get_use_anti_aliasing
3809
+
3810
+ # Clear annotations from the given line.
3811
+ # @param line [Integer]
3812
+ # @return [void]
3813
+ def annotation_clear_line(line) end
3814
+
3815
+ # Define a marker with a {Wx::Bitmap}.
3816
+ # @param markerNumber [Integer]
3817
+ # @param bmp [Wx::Bitmap]
3818
+ # @return [void]
3819
+ def marker_define_bitmap(markerNumber, bmp) end
3820
+
3821
+ # Writes the text into the text control at the current insertion position.
3822
+ # 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.
3823
+ # @param text [String] Text to write to the text control.
3824
+ # @return [void]
3825
+ def write_text(text) end
3826
+
3827
+ # Removes the text starting at the first given position up to (but not including) the character at the last position.
3828
+ # This function puts the current insertion point position at to as a side effect.
3829
+ # @param from [Integer] The first position.
3830
+ # @param to [Integer] The last position.
3831
+ # @return [void]
3832
+ def remove(from, to) end
3833
+
3834
+ # Replaces the text starting at the first position up to (but not including) the character at the last position with the given text.
3835
+ # This function puts the current insertion point position at to as a side effect.
3836
+ # @param from [Integer] The first position.
3837
+ # @param to [Integer] The last position.
3838
+ # @param value [String] The value to replace the existing text with.
3839
+ # @return [void]
3840
+ def replace(from, to, value) end
3841
+
3842
+ # Sets the insertion point at the given position.
3843
+ # @param pos [Integer] Position to set, in the range from 0 to {Wx::STC::StyledTextCtrl#get_last_position} inclusive.
3844
+ # @return [void]
3845
+ def set_insertion_point(pos) end
3846
+ alias_method :insertion_point=, :set_insertion_point
3847
+
3848
+ # Returns the insertion point, or cursor, position.
3849
+ # 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}.
3850
+ # 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.
3851
+ # 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:
3852
+ #
3853
+ # wxString GetCurrentChar(wxTextCtrl *tc)
3854
+ # {
3855
+ # long pos = tc->GetInsertionPoint();
3856
+ # if ( pos == tc->GetLastPosition() )
3857
+ # return wxString();
3858
+ #
3859
+ # return tc->GetRange(pos, pos + 1);
3860
+ # }
3861
+ # @return [Integer]
3862
+ def get_insertion_point; end
3863
+ alias_method :insertion_point, :get_insertion_point
3864
+
3865
+ # Returns the zero based index of the last position in the text control, which is equal to the number of characters in the control.
3866
+ # @return [Integer]
3867
+ def get_last_position; end
3868
+ alias_method :last_position, :get_last_position
3869
+
3870
+ # Selects the text starting at the first position up to (but not including) the character at the last position.
3871
+ # If both parameters are equal to -1 all text in the control is selected.
3872
+ # Notice that the insertion point will be moved to from by this function.
3873
+ # @see Wx::STC::StyledTextCtrl#select_all
3874
+ # @param from [Integer] The first position.
3875
+ # @param to [Integer] The last position.
3876
+ # @return [void]
3877
+ def set_selection(from, to) end
3878
+
3879
+ # Deselects selected text in the control.
3880
+ # @return [void]
3881
+ def select_none; end
3882
+
3883
+ # Gets the current selection span.
3884
+ # 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.
3885
+ #
3886
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this method takes no parameters and returns a 2-element list (from, to).
3887
+ # @return [Array(Integer, Integer)]
3888
+ def get_selection; end
3889
+ alias_method :selection, :get_selection
3890
+
3891
+ # Returns true if the controls contents may be edited by user (note that it always can be changed by the program).
3892
+ # 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}.
3893
+ # @return [true,false]
3894
+ def is_editable; end
3895
+ alias_method :editable?, :is_editable
3896
+
3897
+ # Makes the text item editable or read-only, overriding the <b>{Wx::TE_READONLY}</b> flag.
3898
+ #
3899
+ # @see Wx::STC::StyledTextCtrl#is_editable
3900
+ # @param editable [true,false] If true, the control is editable. If false, the control is read-only.
3901
+ # @return [void]
3902
+ def set_editable(editable) end
3903
+ alias_method :editable=, :set_editable
3904
+
3905
+ # Gets the length of the specified line, not including any trailing newline character(s).
3906
+ # The length of the line, or -1 if lineNo was invalid.
3907
+ # @param lineNo [Integer] Line number (starting from zero).
3908
+ # @return [Integer]
3909
+ def get_line_length(lineNo) end
3910
+
3911
+ # Returns the contents of a given line in the text control, not including any trailing newline character(s).
3912
+ # The contents of the line.
3913
+ # @param lineNo [Integer] The line number, starting from zero.
3914
+ # @return [String]
3915
+ def get_line_text(lineNo) end
3916
+ alias_method :line_text, :get_line_text
3917
+
3918
+ # Returns the number of lines in the text control buffer.
3919
+ # 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 {Wx::GTK} and {Wx::OSX}/Cocoa ports while it is the number of physical lines, i.e. the count of lines actually shown in the control, in {Wx::MSW}. Because of this discrepancy, it is not recommended to use this function.
3920
+ # 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.
3921
+ # @return [Integer]
3922
+ def get_number_of_lines; end
3923
+ alias_method :number_of_lines, :get_number_of_lines
3924
+
3925
+ # Returns true if the text has been modified by user.
3926
+ # Note that calling {Wx::STC::StyledTextCtrl#set_value} doesn't make the control modified.
3927
+ # @see Wx::STC::StyledTextCtrl#mark_dirty
3928
+ # @return [true,false]
3929
+ def is_modified; end
3930
+ alias_method :modified?, :is_modified
3931
+
3932
+ # Mark text as modified (dirty).
3933
+ #
3934
+ # @see Wx::STC::StyledTextCtrl#is_modified
3935
+ # @return [void]
3936
+ def mark_dirty; end
3937
+
3938
+ # Resets the internal modified flag as if the current changes had been saved.
3939
+ # @return [void]
3940
+ def discard_edits; end
3941
+
3942
+ # This method is inherited from {Wx::TextAreaBase} but is not implemented in {Wx::STC::StyledTextCtrl}.
3943
+ # @param start [Integer]
3944
+ # @param end_ [Integer]
3945
+ # @param style [Wx::TextAttr]
3946
+ # @return [true,false]
3947
+ def set_style(start, end_, style) end
3948
+
3949
+ # This method is inherited from {Wx::TextAreaBase} but is not implemented in {Wx::STC::StyledTextCtrl}.
3950
+ # @param position [Integer]
3951
+ # @param style [Wx::TextAttr]
3952
+ # @return [true,false]
3953
+ def get_style(position, style) end
3954
+ alias_method :style, :get_style
3955
+
3956
+ # This method is inherited from {Wx::TextAreaBase} but is not implemented in {Wx::STC::StyledTextCtrl}.
3957
+ # @param style [Wx::TextAttr]
3958
+ # @return [true,false]
3959
+ def set_default_style(style) end
3960
+ alias_method :default_style=, :set_default_style
3961
+
3962
+ # Converts the given zero based column and line number to a position.
3963
+ # The position value, or -1 if x or y was invalid.
3964
+ # @param x [Integer] The column number.
3965
+ # @param y [Integer] The line number.
3966
+ # @return [Integer]
3967
+ def xy_to_position(x, y) end
3968
+
3969
+ # Converts given position to a zero-based column, line number pair.
3970
+ # true on success, false on failure (most likely due to a too large position parameter).
3971
+ #
3972
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this function takes only the pos argument and returns a 2-element list (x, y).
3973
+ # @see Wx::STC::StyledTextCtrl#xy_to_position
3974
+ # @param pos [Integer] Position.
3975
+ # @return [Array(true,false,Array(Integer, Integer))]
3976
+ def position_to_xy(pos) end
3977
+
3978
+ # Makes the line containing the given position visible.
3979
+ # @param pos [Integer] The position that should be visible.
3980
+ # @return [void]
3981
+ def show_position(pos) end
3982
+
3983
+ # Finds the row and column of the character at the specified point.
3984
+ # 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.
3985
+ # Please note that this function is currently only implemented in {Wx::Univ}, {Wx::MSW} and {Wx::GTK2} ports and always returns {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} in the other ports.
3986
+ # <b>{Wx::Perl} Note:</b> In {Wx::Perl} this function takes only the pt argument and returns a 3-element list (result, col, row).
3987
+ # @see Wx::STC::StyledTextCtrl#position_to_xy
3988
+ # @see Wx::STC::StyledTextCtrl#xy_to_position
3989
+ # @param pt [Array(Integer, Integer), Wx::Point] The position of the point to check, in window device coordinates.
3990
+ # @return [Array(TextCtrlHitTestResult,Array(Integer, Integer))]
3991
+ def hit_test(pt) end
3992
+
3993
+ # Returns the version of the Scintilla library used by this control.
3994
+ # @return [Wx::VersionInfo]
3995
+ def self.get_library_version_info; end
3996
+
3997
+ end # StyledTextCtrl
3998
+
3999
+
4000
+ end