1#[repr(C)]
4#[derive(Debug, Copy, Clone)]
5pub struct Fl_Widget {
6 _unused: [u8; 0],
7}
8pub type Fl_Callback = ::core::option::Option<
9 unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
10>;
11pub type custom_handler_callback = ::core::option::Option<
12 unsafe extern "C" fn(
13 arg1: *mut Fl_Widget,
14 arg2: ::core::ffi::c_int,
15 arg3: *mut ::core::ffi::c_void,
16 ) -> ::core::ffi::c_int,
17>;
18pub type custom_draw_callback = ::core::option::Option<
19 unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
20>;
21pub type Fl_Text_Modify_Cb = ::core::option::Option<
22 unsafe extern "C" fn(
23 pos: ::core::ffi::c_int,
24 nInserted: ::core::ffi::c_int,
25 nDeleted: ::core::ffi::c_int,
26 nRestyled: ::core::ffi::c_int,
27 deletedText: *const ::core::ffi::c_char,
28 cbArg: *mut ::core::ffi::c_void,
29 ),
30>;
31#[repr(C)]
32#[derive(Debug, Copy, Clone)]
33pub struct Fl_Text_Buffer {
34 _unused: [u8; 0],
35}
36unsafe extern "C" {
37 pub fn Fl_Text_Buffer_new() -> *mut Fl_Text_Buffer;
38}
39unsafe extern "C" {
40 pub fn Fl_Text_Buffer_delete(arg1: *mut Fl_Text_Buffer);
41}
42unsafe extern "C" {
43 pub fn Fl_Text_Buffer_text(self_: *mut Fl_Text_Buffer) -> *const ::core::ffi::c_char;
44}
45unsafe extern "C" {
46 pub fn Fl_Text_Buffer_set_text(self_: *mut Fl_Text_Buffer, txt: *const ::core::ffi::c_char);
47}
48unsafe extern "C" {
49 pub fn Fl_Text_Buffer_append(self_: *mut Fl_Text_Buffer, txt: *const ::core::ffi::c_char);
50}
51unsafe extern "C" {
52 pub fn Fl_Text_Buffer_append_bytes(
53 self_: *mut Fl_Text_Buffer,
54 txt: *const ::core::ffi::c_char,
55 len: ::core::ffi::c_int,
56 );
57}
58unsafe extern "C" {
59 pub fn Fl_Text_Buffer_remove(
60 self_: *mut Fl_Text_Buffer,
61 start: ::core::ffi::c_int,
62 end: ::core::ffi::c_int,
63 );
64}
65unsafe extern "C" {
66 pub fn Fl_Text_Buffer_length(self_: *const Fl_Text_Buffer) -> ::core::ffi::c_int;
67}
68unsafe extern "C" {
69 pub fn Fl_Text_Buffer_text_range(
70 self_: *const Fl_Text_Buffer,
71 start: ::core::ffi::c_int,
72 end: ::core::ffi::c_int,
73 ) -> *mut ::core::ffi::c_char;
74}
75unsafe extern "C" {
76 pub fn Fl_Text_Buffer_insert(
77 self_: *mut Fl_Text_Buffer,
78 pos: ::core::ffi::c_int,
79 text: *const ::core::ffi::c_char,
80 );
81}
82unsafe extern "C" {
83 pub fn Fl_Text_Buffer_replace(
84 self_: *mut Fl_Text_Buffer,
85 start: ::core::ffi::c_int,
86 end: ::core::ffi::c_int,
87 text: *const ::core::ffi::c_char,
88 );
89}
90unsafe extern "C" {
91 pub fn Fl_Text_Buffer_copy(
92 self_: *mut Fl_Text_Buffer,
93 fromBuf: *mut Fl_Text_Buffer,
94 fromStart: ::core::ffi::c_int,
95 fromEnd: ::core::ffi::c_int,
96 toPos: ::core::ffi::c_int,
97 );
98}
99unsafe extern "C" {
100 pub fn Fl_Text_Buffer_undo(
101 self_: *mut Fl_Text_Buffer,
102 cp: *mut ::core::ffi::c_int,
103 ) -> ::core::ffi::c_int;
104}
105unsafe extern "C" {
106 pub fn Fl_Text_Buffer_canUndo(self_: *mut Fl_Text_Buffer, flag: ::core::ffi::c_char);
107}
108unsafe extern "C" {
109 pub fn Fl_Text_Buffer_can_undo(self_: *const Fl_Text_Buffer) -> ::core::ffi::c_int;
110}
111unsafe extern "C" {
112 pub fn Fl_Text_Buffer_load_file(
113 self_: *mut Fl_Text_Buffer,
114 file: *const ::core::ffi::c_char,
115 ) -> ::core::ffi::c_int;
116}
117unsafe extern "C" {
118 pub fn Fl_Text_Buffer_save_file(
119 self_: *mut Fl_Text_Buffer,
120 file: *const ::core::ffi::c_char,
121 ) -> ::core::ffi::c_int;
122}
123unsafe extern "C" {
124 pub fn Fl_Text_Buffer_tab_distance(self_: *const Fl_Text_Buffer) -> ::core::ffi::c_int;
125}
126unsafe extern "C" {
127 pub fn Fl_Text_Buffer_set_tab_distance(self_: *mut Fl_Text_Buffer, tabDist: ::core::ffi::c_int);
128}
129unsafe extern "C" {
130 pub fn Fl_Text_Buffer_select(
131 self_: *mut Fl_Text_Buffer,
132 start: ::core::ffi::c_int,
133 end: ::core::ffi::c_int,
134 );
135}
136unsafe extern "C" {
137 pub fn Fl_Text_Buffer_selected(self_: *const Fl_Text_Buffer) -> ::core::ffi::c_int;
138}
139unsafe extern "C" {
140 pub fn Fl_Text_Buffer_unselect(self_: *mut Fl_Text_Buffer);
141}
142unsafe extern "C" {
143 pub fn Fl_Text_Buffer_selection_position(
144 self_: *mut Fl_Text_Buffer,
145 start: *mut ::core::ffi::c_int,
146 end: *mut ::core::ffi::c_int,
147 ) -> ::core::ffi::c_int;
148}
149unsafe extern "C" {
150 pub fn Fl_Text_Buffer_selection_text(self_: *mut Fl_Text_Buffer) -> *mut ::core::ffi::c_char;
151}
152unsafe extern "C" {
153 pub fn Fl_Text_Buffer_remove_selection(self_: *mut Fl_Text_Buffer);
154}
155unsafe extern "C" {
156 pub fn Fl_Text_Buffer_replace_selection(
157 self_: *mut Fl_Text_Buffer,
158 text: *const ::core::ffi::c_char,
159 );
160}
161unsafe extern "C" {
162 pub fn Fl_Text_Buffer_secondary_select(
163 self_: *mut Fl_Text_Buffer,
164 start: ::core::ffi::c_int,
165 end: ::core::ffi::c_int,
166 );
167}
168unsafe extern "C" {
169 pub fn Fl_Text_Buffer_secondary_selected(self_: *mut Fl_Text_Buffer) -> ::core::ffi::c_int;
170}
171unsafe extern "C" {
172 pub fn Fl_Text_Buffer_secondary_unselect(self_: *mut Fl_Text_Buffer);
173}
174unsafe extern "C" {
175 pub fn Fl_Text_Buffer_secondary_selection_position(
176 self_: *mut Fl_Text_Buffer,
177 start: *mut ::core::ffi::c_int,
178 end: *mut ::core::ffi::c_int,
179 ) -> ::core::ffi::c_int;
180}
181unsafe extern "C" {
182 pub fn Fl_Text_Buffer_secondary_selection_text(
183 self_: *mut Fl_Text_Buffer,
184 ) -> *mut ::core::ffi::c_char;
185}
186unsafe extern "C" {
187 pub fn Fl_Text_Buffer_remove_secondary_selection(self_: *mut Fl_Text_Buffer);
188}
189unsafe extern "C" {
190 pub fn Fl_Text_Buffer_replace_secondary_selection(
191 self_: *mut Fl_Text_Buffer,
192 text: *const ::core::ffi::c_char,
193 );
194}
195unsafe extern "C" {
196 pub fn Fl_Text_Buffer_highlight(
197 self_: *mut Fl_Text_Buffer,
198 start: ::core::ffi::c_int,
199 end: ::core::ffi::c_int,
200 );
201}
202unsafe extern "C" {
203 pub fn Fl_Text_Buffer_is_highlighted(self_: *mut Fl_Text_Buffer) -> ::core::ffi::c_int;
204}
205unsafe extern "C" {
206 pub fn Fl_Text_Buffer_unhighlight(self_: *mut Fl_Text_Buffer);
207}
208unsafe extern "C" {
209 pub fn Fl_Text_Buffer_highlight_position(
210 self_: *mut Fl_Text_Buffer,
211 start: *mut ::core::ffi::c_int,
212 end: *mut ::core::ffi::c_int,
213 ) -> ::core::ffi::c_int;
214}
215unsafe extern "C" {
216 pub fn Fl_Text_Buffer_highlight_text(self_: *mut Fl_Text_Buffer) -> *mut ::core::ffi::c_char;
217}
218unsafe extern "C" {
219 pub fn Fl_Text_Buffer_line_text(
220 self_: *const Fl_Text_Buffer,
221 pos: ::core::ffi::c_int,
222 ) -> *mut ::core::ffi::c_char;
223}
224unsafe extern "C" {
225 pub fn Fl_Text_Buffer_line_start(
226 self_: *const Fl_Text_Buffer,
227 pos: ::core::ffi::c_int,
228 ) -> ::core::ffi::c_int;
229}
230unsafe extern "C" {
231 pub fn Fl_Text_Buffer_word_start(
232 self_: *const Fl_Text_Buffer,
233 pos: ::core::ffi::c_int,
234 ) -> ::core::ffi::c_int;
235}
236unsafe extern "C" {
237 pub fn Fl_Text_Buffer_word_end(
238 self_: *const Fl_Text_Buffer,
239 pos: ::core::ffi::c_int,
240 ) -> ::core::ffi::c_int;
241}
242unsafe extern "C" {
243 pub fn Fl_Text_Buffer_count_lines(
244 self_: *const Fl_Text_Buffer,
245 startPos: ::core::ffi::c_int,
246 endPos: ::core::ffi::c_int,
247 ) -> ::core::ffi::c_int;
248}
249unsafe extern "C" {
250 pub fn Fl_Text_Buffer_add_modify_callback(
251 self_: *mut Fl_Text_Buffer,
252 bufModifiedCB: Fl_Text_Modify_Cb,
253 cbArg: *mut ::core::ffi::c_void,
254 );
255}
256unsafe extern "C" {
257 pub fn Fl_Text_Buffer_remove_modify_callback(
258 self_: *mut Fl_Text_Buffer,
259 bufModifiedCB: Fl_Text_Modify_Cb,
260 cbArg: *mut ::core::ffi::c_void,
261 );
262}
263unsafe extern "C" {
264 pub fn Fl_Text_Buffer_call_modify_callbacks(self_: *mut Fl_Text_Buffer);
265}
266unsafe extern "C" {
267 pub fn Fl_Text_Buffer_search_forward(
268 self_: *const Fl_Text_Buffer,
269 start_pos: ::core::ffi::c_int,
270 search_string: *const ::core::ffi::c_char,
271 found_pos: *mut ::core::ffi::c_int,
272 match_case: ::core::ffi::c_int,
273 ) -> ::core::ffi::c_int;
274}
275unsafe extern "C" {
276 pub fn Fl_Text_Buffer_search_backward(
277 self_: *const Fl_Text_Buffer,
278 start_pos: ::core::ffi::c_int,
279 search_string: *const ::core::ffi::c_char,
280 found_pos: *mut ::core::ffi::c_int,
281 match_case: ::core::ffi::c_int,
282 ) -> ::core::ffi::c_int;
283}
284unsafe extern "C" {
285 pub fn Fl_Text_Buffer_findchar_forward(
286 self_: *const Fl_Text_Buffer,
287 start_pos: ::core::ffi::c_int,
288 search_char: ::core::ffi::c_uint,
289 found_pos: *mut ::core::ffi::c_int,
290 ) -> ::core::ffi::c_int;
291}
292unsafe extern "C" {
293 pub fn Fl_Text_Buffer_findchar_backward(
294 self_: *const Fl_Text_Buffer,
295 start_pos: ::core::ffi::c_int,
296 search_char: ::core::ffi::c_uint,
297 found_pos: *mut ::core::ffi::c_int,
298 ) -> ::core::ffi::c_int;
299}
300unsafe extern "C" {
301 pub fn Fl_Text_Buffer_redo(
302 self_: *mut Fl_Text_Buffer,
303 cp: *mut ::core::ffi::c_int,
304 ) -> ::core::ffi::c_int;
305}
306unsafe extern "C" {
307 pub fn Fl_Text_Buffer_can_redo(self_: *const Fl_Text_Buffer) -> ::core::ffi::c_int;
308}
309#[repr(C)]
310#[derive(Debug, Copy, Clone)]
311pub struct Fl_Text_Display {
312 _unused: [u8; 0],
313}
314unsafe extern "C" {
315 pub fn Fl_Text_Display_new(
316 x: ::core::ffi::c_int,
317 y: ::core::ffi::c_int,
318 width: ::core::ffi::c_int,
319 height: ::core::ffi::c_int,
320 title: *const ::core::ffi::c_char,
321 ) -> *mut Fl_Text_Display;
322}
323unsafe extern "C" {
324 pub fn Fl_Text_Display_x(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
325}
326unsafe extern "C" {
327 pub fn Fl_Text_Display_y(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
328}
329unsafe extern "C" {
330 pub fn Fl_Text_Display_width(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
331}
332unsafe extern "C" {
333 pub fn Fl_Text_Display_height(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
334}
335unsafe extern "C" {
336 pub fn Fl_Text_Display_label(arg1: *mut Fl_Text_Display) -> *const ::core::ffi::c_char;
337}
338unsafe extern "C" {
339 pub fn Fl_Text_Display_set_label(arg1: *mut Fl_Text_Display, title: *const ::core::ffi::c_char);
340}
341unsafe extern "C" {
342 pub fn Fl_Text_Display_redraw(arg1: *mut Fl_Text_Display);
343}
344unsafe extern "C" {
345 pub fn Fl_Text_Display_show(arg1: *mut Fl_Text_Display);
346}
347unsafe extern "C" {
348 pub fn Fl_Text_Display_hide(arg1: *mut Fl_Text_Display);
349}
350unsafe extern "C" {
351 pub fn Fl_Text_Display_activate(arg1: *mut Fl_Text_Display);
352}
353unsafe extern "C" {
354 pub fn Fl_Text_Display_deactivate(arg1: *mut Fl_Text_Display);
355}
356unsafe extern "C" {
357 pub fn Fl_Text_Display_redraw_label(arg1: *mut Fl_Text_Display);
358}
359unsafe extern "C" {
360 pub fn Fl_Text_Display_resize(
361 arg1: *mut Fl_Text_Display,
362 x: ::core::ffi::c_int,
363 y: ::core::ffi::c_int,
364 width: ::core::ffi::c_int,
365 height: ::core::ffi::c_int,
366 );
367}
368unsafe extern "C" {
369 pub fn Fl_Text_Display_widget_resize(
370 arg1: *mut Fl_Text_Display,
371 x: ::core::ffi::c_int,
372 y: ::core::ffi::c_int,
373 width: ::core::ffi::c_int,
374 height: ::core::ffi::c_int,
375 );
376}
377unsafe extern "C" {
378 pub fn Fl_Text_Display_tooltip(arg1: *mut Fl_Text_Display) -> *const ::core::ffi::c_char;
379}
380unsafe extern "C" {
381 pub fn Fl_Text_Display_set_tooltip(arg1: *mut Fl_Text_Display, txt: *const ::core::ffi::c_char);
382}
383unsafe extern "C" {
384 pub fn Fl_Text_Display_get_type(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
385}
386unsafe extern "C" {
387 pub fn Fl_Text_Display_set_type(arg1: *mut Fl_Text_Display, typ: ::core::ffi::c_int);
388}
389unsafe extern "C" {
390 pub fn Fl_Text_Display_color(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_uint;
391}
392unsafe extern "C" {
393 pub fn Fl_Text_Display_set_color(arg1: *mut Fl_Text_Display, color: ::core::ffi::c_uint);
394}
395unsafe extern "C" {
396 pub fn Fl_Text_Display_measure_label(
397 arg1: *const Fl_Text_Display,
398 arg2: *mut ::core::ffi::c_int,
399 arg3: *mut ::core::ffi::c_int,
400 );
401}
402unsafe extern "C" {
403 pub fn Fl_Text_Display_label_color(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_uint;
404}
405unsafe extern "C" {
406 pub fn Fl_Text_Display_set_label_color(arg1: *mut Fl_Text_Display, color: ::core::ffi::c_uint);
407}
408unsafe extern "C" {
409 pub fn Fl_Text_Display_label_font(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
410}
411unsafe extern "C" {
412 pub fn Fl_Text_Display_set_label_font(arg1: *mut Fl_Text_Display, font: ::core::ffi::c_int);
413}
414unsafe extern "C" {
415 pub fn Fl_Text_Display_label_size(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
416}
417unsafe extern "C" {
418 pub fn Fl_Text_Display_set_label_size(arg1: *mut Fl_Text_Display, sz: ::core::ffi::c_int);
419}
420unsafe extern "C" {
421 pub fn Fl_Text_Display_label_type(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
422}
423unsafe extern "C" {
424 pub fn Fl_Text_Display_set_label_type(arg1: *mut Fl_Text_Display, typ: ::core::ffi::c_int);
425}
426unsafe extern "C" {
427 pub fn Fl_Text_Display_box(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
428}
429unsafe extern "C" {
430 pub fn Fl_Text_Display_set_box(arg1: *mut Fl_Text_Display, typ: ::core::ffi::c_int);
431}
432unsafe extern "C" {
433 pub fn Fl_Text_Display_changed(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
434}
435unsafe extern "C" {
436 pub fn Fl_Text_Display_set_changed(arg1: *mut Fl_Text_Display);
437}
438unsafe extern "C" {
439 pub fn Fl_Text_Display_clear_changed(arg1: *mut Fl_Text_Display);
440}
441unsafe extern "C" {
442 pub fn Fl_Text_Display_align(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
443}
444unsafe extern "C" {
445 pub fn Fl_Text_Display_set_align(arg1: *mut Fl_Text_Display, typ: ::core::ffi::c_int);
446}
447unsafe extern "C" {
448 pub fn Fl_Text_Display_delete(arg1: *mut Fl_Text_Display);
449}
450unsafe extern "C" {
451 pub fn Fl_Text_Display_set_image(arg1: *mut Fl_Text_Display, arg2: *mut ::core::ffi::c_void);
452}
453unsafe extern "C" {
454 pub fn Fl_Text_Display_handle(
455 self_: *mut Fl_Text_Display,
456 cb: custom_handler_callback,
457 data: *mut ::core::ffi::c_void,
458 );
459}
460unsafe extern "C" {
461 pub fn Fl_Text_Display_handle_event(
462 self_: *mut Fl_Text_Display,
463 event: ::core::ffi::c_int,
464 ) -> ::core::ffi::c_int;
465}
466unsafe extern "C" {
467 pub fn Fl_Text_Display_draw(
468 self_: *mut Fl_Text_Display,
469 cb: custom_draw_callback,
470 data: *mut ::core::ffi::c_void,
471 );
472}
473unsafe extern "C" {
474 pub fn Fl_Text_Display_resize_callback(
475 self_: *mut Fl_Text_Display,
476 cb: ::core::option::Option<
477 unsafe extern "C" fn(
478 arg1: *mut Fl_Widget,
479 x: ::core::ffi::c_int,
480 y: ::core::ffi::c_int,
481 w: ::core::ffi::c_int,
482 h: ::core::ffi::c_int,
483 arg2: *mut ::core::ffi::c_void,
484 ),
485 >,
486 data: *mut ::core::ffi::c_void,
487 );
488}
489unsafe extern "C" {
490 pub fn Fl_Text_Display_set_when(arg1: *mut Fl_Text_Display, arg2: ::core::ffi::c_int);
491}
492unsafe extern "C" {
493 pub fn Fl_Text_Display_when(arg1: *const Fl_Text_Display) -> ::core::ffi::c_int;
494}
495unsafe extern "C" {
496 pub fn Fl_Text_Display_image(arg1: *const Fl_Text_Display) -> *const ::core::ffi::c_void;
497}
498unsafe extern "C" {
499 pub fn Fl_Text_Display_parent(self_: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
500}
501unsafe extern "C" {
502 pub fn Fl_Text_Display_selection_color(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_uint;
503}
504unsafe extern "C" {
505 pub fn Fl_Text_Display_set_selection_color(
506 arg1: *mut Fl_Text_Display,
507 color: ::core::ffi::c_uint,
508 );
509}
510unsafe extern "C" {
511 pub fn Fl_Text_Display_do_callback(arg1: *mut Fl_Text_Display);
512}
513unsafe extern "C" {
514 pub fn Fl_Text_Display_inside(
515 self_: *const Fl_Text_Display,
516 arg1: *mut ::core::ffi::c_void,
517 ) -> ::core::ffi::c_int;
518}
519unsafe extern "C" {
520 pub fn Fl_Text_Display_window(arg1: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
521}
522unsafe extern "C" {
523 pub fn Fl_Text_Display_top_window(arg1: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
524}
525unsafe extern "C" {
526 pub fn Fl_Text_Display_takes_events(arg1: *const Fl_Text_Display) -> ::core::ffi::c_int;
527}
528unsafe extern "C" {
529 pub fn Fl_Text_Display_user_data(arg1: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
530}
531unsafe extern "C" {
532 pub fn Fl_Text_Display_take_focus(self_: *mut Fl_Text_Display) -> ::core::ffi::c_int;
533}
534unsafe extern "C" {
535 pub fn Fl_Text_Display_set_visible_focus(self_: *mut Fl_Text_Display);
536}
537unsafe extern "C" {
538 pub fn Fl_Text_Display_clear_visible_focus(self_: *mut Fl_Text_Display);
539}
540unsafe extern "C" {
541 pub fn Fl_Text_Display_visible_focus(self_: *mut Fl_Text_Display, v: ::core::ffi::c_int);
542}
543unsafe extern "C" {
544 pub fn Fl_Text_Display_has_visible_focus(self_: *mut Fl_Text_Display) -> ::core::ffi::c_uint;
545}
546unsafe extern "C" {
547 pub fn Fl_Text_Display_set_user_data(
548 arg1: *mut Fl_Text_Display,
549 data: *mut ::core::ffi::c_void,
550 );
551}
552unsafe extern "C" {
553 pub fn Fl_Text_Display_draw_data(self_: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
554}
555unsafe extern "C" {
556 pub fn Fl_Text_Display_handle_data(self_: *const Fl_Text_Display) -> *mut ::core::ffi::c_void;
557}
558unsafe extern "C" {
559 pub fn Fl_Text_Display_set_draw_data(
560 self_: *mut Fl_Text_Display,
561 data: *mut ::core::ffi::c_void,
562 );
563}
564unsafe extern "C" {
565 pub fn Fl_Text_Display_set_handle_data(
566 self_: *mut Fl_Text_Display,
567 data: *mut ::core::ffi::c_void,
568 );
569}
570unsafe extern "C" {
571 pub fn Fl_Text_Display_damage(self_: *const Fl_Text_Display) -> ::core::ffi::c_uchar;
572}
573unsafe extern "C" {
574 pub fn Fl_Text_Display_set_damage(self_: *mut Fl_Text_Display, flag: ::core::ffi::c_uchar);
575}
576unsafe extern "C" {
577 pub fn Fl_Text_Display_set_damage_area(
578 self_: *mut Fl_Text_Display,
579 flag: ::core::ffi::c_uchar,
580 x: ::core::ffi::c_int,
581 y: ::core::ffi::c_int,
582 w: ::core::ffi::c_int,
583 h: ::core::ffi::c_int,
584 );
585}
586unsafe extern "C" {
587 pub fn Fl_Text_Display_clear_damage(self_: *mut Fl_Text_Display);
588}
589unsafe extern "C" {
590 pub fn Fl_Text_Display_as_window(self_: *mut Fl_Text_Display) -> *mut ::core::ffi::c_void;
591}
592unsafe extern "C" {
593 pub fn Fl_Text_Display_as_group(self_: *mut Fl_Text_Display) -> *mut ::core::ffi::c_void;
594}
595unsafe extern "C" {
596 pub fn Fl_Text_Display_set_deimage(arg1: *mut Fl_Text_Display, arg2: *mut ::core::ffi::c_void);
597}
598unsafe extern "C" {
599 pub fn Fl_Text_Display_deimage(arg1: *const Fl_Text_Display) -> *const ::core::ffi::c_void;
600}
601unsafe extern "C" {
602 pub fn Fl_Text_Display_set_callback(
603 arg1: *mut Fl_Text_Display,
604 arg2: Fl_Callback,
605 arg3: *mut ::core::ffi::c_void,
606 );
607}
608unsafe extern "C" {
609 pub fn Fl_Text_Display_visible(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
610}
611unsafe extern "C" {
612 pub fn Fl_Text_Display_visible_r(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
613}
614unsafe extern "C" {
615 pub fn Fl_Text_Display_active(self_: *const Fl_Text_Display) -> ::core::ffi::c_uint;
616}
617unsafe extern "C" {
618 pub fn Fl_Text_Display_active_r(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
619}
620unsafe extern "C" {
621 pub fn Fl_Text_Display_callback(self_: *const Fl_Text_Display) -> Fl_Callback;
622}
623unsafe extern "C" {
624 pub fn Fl_Text_Display_set_deletion_callback(
625 self_: *mut Fl_Text_Display,
626 arg1: ::core::option::Option<
627 unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
628 >,
629 data: *mut ::core::ffi::c_void,
630 );
631}
632unsafe extern "C" {
633 pub fn Fl_Text_Display_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Text_Display;
634}
635unsafe extern "C" {
636 pub fn Fl_Text_Display_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Text_Display;
637}
638unsafe extern "C" {
639 pub fn Fl_Text_Display_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
640}
641unsafe extern "C" {
642 pub fn Fl_Text_Display_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
643}
644unsafe extern "C" {
645 pub fn Fl_Text_Display_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
646}
647unsafe extern "C" {
648 pub fn Fl_Text_Display_init(arg1: *mut Fl_Text_Display);
649}
650unsafe extern "C" {
651 pub fn Fl_Text_Display_get_buffer(arg1: *mut Fl_Text_Display) -> *mut Fl_Text_Buffer;
652}
653unsafe extern "C" {
654 pub fn Fl_Text_Display_set_buffer(arg1: *mut Fl_Text_Display, arg2: *mut Fl_Text_Buffer);
655}
656unsafe extern "C" {
657 pub fn Fl_Text_Display_get_style_buffer(arg1: *mut Fl_Text_Display) -> *mut Fl_Text_Buffer;
658}
659unsafe extern "C" {
660 pub fn Fl_Text_Display_text_font(arg1: *const Fl_Text_Display) -> ::core::ffi::c_int;
661}
662unsafe extern "C" {
663 pub fn Fl_Text_Display_set_text_font(arg1: *mut Fl_Text_Display, s: ::core::ffi::c_int);
664}
665unsafe extern "C" {
666 pub fn Fl_Text_Display_text_size(arg1: *const Fl_Text_Display) -> ::core::ffi::c_int;
667}
668unsafe extern "C" {
669 pub fn Fl_Text_Display_set_text_size(arg1: *mut Fl_Text_Display, s: ::core::ffi::c_int);
670}
671unsafe extern "C" {
672 pub fn Fl_Text_Display_text_color(arg1: *const Fl_Text_Display) -> ::core::ffi::c_uint;
673}
674unsafe extern "C" {
675 pub fn Fl_Text_Display_set_text_color(arg1: *mut Fl_Text_Display, n: ::core::ffi::c_uint);
676}
677unsafe extern "C" {
678 pub fn Fl_Text_Display_scroll(
679 arg1: *mut Fl_Text_Display,
680 topLineNum: ::core::ffi::c_int,
681 horizOffset: ::core::ffi::c_int,
682 );
683}
684unsafe extern "C" {
685 pub fn Fl_Text_Display_insert(arg1: *mut Fl_Text_Display, text: *const ::core::ffi::c_char);
686}
687unsafe extern "C" {
688 pub fn Fl_Text_Display_set_insert_position(
689 arg1: *mut Fl_Text_Display,
690 newPos: ::core::ffi::c_int,
691 );
692}
693unsafe extern "C" {
694 pub fn Fl_Text_Display_insert_position(arg1: *const Fl_Text_Display) -> ::core::ffi::c_int;
695}
696unsafe extern "C" {
697 pub fn Fl_Text_Display_position_to_xy(
698 self_: *const Fl_Text_Display,
699 pos: ::core::ffi::c_int,
700 x: *mut ::core::ffi::c_int,
701 y: *mut ::core::ffi::c_int,
702 ) -> ::core::ffi::c_int;
703}
704unsafe extern "C" {
705 pub fn Fl_Text_Display_count_lines(
706 arg1: *const Fl_Text_Display,
707 start: ::core::ffi::c_int,
708 end: ::core::ffi::c_int,
709 start_pos_is_line_start: ::core::ffi::c_int,
710 ) -> ::core::ffi::c_int;
711}
712unsafe extern "C" {
713 pub fn Fl_Text_Display_move_right(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
714}
715unsafe extern "C" {
716 pub fn Fl_Text_Display_move_left(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
717}
718unsafe extern "C" {
719 pub fn Fl_Text_Display_move_up(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
720}
721unsafe extern "C" {
722 pub fn Fl_Text_Display_move_down(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
723}
724unsafe extern "C" {
725 pub fn Fl_Text_Display_show_cursor(arg1: *mut Fl_Text_Display, boolean: ::core::ffi::c_int);
726}
727unsafe extern "C" {
728 pub fn Fl_Text_Display_set_highlight_data(
729 self_: *mut Fl_Text_Display,
730 sbuff: *mut ::core::ffi::c_void,
731 color: *mut ::core::ffi::c_uint,
732 font: *mut ::core::ffi::c_int,
733 fontsz: *mut ::core::ffi::c_int,
734 attr: *mut ::core::ffi::c_uint,
735 bgcolor: *mut ::core::ffi::c_uint,
736 sz: ::core::ffi::c_int,
737 );
738}
739unsafe extern "C" {
740 pub fn Fl_Text_Display_set_cursor_style(arg1: *mut Fl_Text_Display, style: ::core::ffi::c_int);
741}
742unsafe extern "C" {
743 pub fn Fl_Text_Display_set_cursor_color(arg1: *mut Fl_Text_Display, color: ::core::ffi::c_uint);
744}
745unsafe extern "C" {
746 pub fn Fl_Text_Display_set_scrollbar_size(
747 arg1: *mut Fl_Text_Display,
748 newSize: ::core::ffi::c_int,
749 );
750}
751unsafe extern "C" {
752 pub fn Fl_Text_Display_set_scrollbar_align(
753 arg1: *mut Fl_Text_Display,
754 align: ::core::ffi::c_int,
755 );
756}
757unsafe extern "C" {
758 pub fn Fl_Text_Display_cursor_style(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
759}
760unsafe extern "C" {
761 pub fn Fl_Text_Display_cursor_color(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_uint;
762}
763unsafe extern "C" {
764 pub fn Fl_Text_Display_scrollbar_size(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
765}
766unsafe extern "C" {
767 pub fn Fl_Text_Display_scrollbar_align(arg1: *mut Fl_Text_Display) -> ::core::ffi::c_int;
768}
769unsafe extern "C" {
770 pub fn Fl_Text_Display_line_start(
771 self_: *const Fl_Text_Display,
772 pos: ::core::ffi::c_int,
773 ) -> ::core::ffi::c_int;
774}
775unsafe extern "C" {
776 pub fn Fl_Text_Display_line_end(
777 self_: *const Fl_Text_Display,
778 startPos: ::core::ffi::c_int,
779 startPosIsLineStart: ::core::ffi::c_int,
780 ) -> ::core::ffi::c_int;
781}
782unsafe extern "C" {
783 pub fn Fl_Text_Display_skip_lines(
784 self_: *mut Fl_Text_Display,
785 startPos: ::core::ffi::c_int,
786 nLines: ::core::ffi::c_int,
787 startPosIsLineStart: ::core::ffi::c_int,
788 ) -> ::core::ffi::c_int;
789}
790unsafe extern "C" {
791 pub fn Fl_Text_Display_rewind_lines(
792 self_: *mut Fl_Text_Display,
793 startPos: ::core::ffi::c_int,
794 nLines: ::core::ffi::c_int,
795 ) -> ::core::ffi::c_int;
796}
797unsafe extern "C" {
798 pub fn Fl_Text_Display_next_word(self_: *mut Fl_Text_Display);
799}
800unsafe extern "C" {
801 pub fn Fl_Text_Display_previous_word(self_: *mut Fl_Text_Display);
802}
803unsafe extern "C" {
804 pub fn Fl_Text_Display_word_start(
805 self_: *const Fl_Text_Display,
806 pos: ::core::ffi::c_int,
807 ) -> ::core::ffi::c_int;
808}
809unsafe extern "C" {
810 pub fn Fl_Text_Display_word_end(
811 self_: *const Fl_Text_Display,
812 pos: ::core::ffi::c_int,
813 ) -> ::core::ffi::c_int;
814}
815unsafe extern "C" {
816 pub fn Fl_Text_Display_x_to_col(self_: *const Fl_Text_Display, x: f64) -> f64;
817}
818unsafe extern "C" {
819 pub fn Fl_Text_Display_col_to_x(self_: *const Fl_Text_Display, col: f64) -> f64;
820}
821unsafe extern "C" {
822 pub fn Fl_Text_Display_set_linenumber_width(
823 self_: *mut Fl_Text_Display,
824 width: ::core::ffi::c_int,
825 );
826}
827unsafe extern "C" {
828 pub fn Fl_Text_Display_linenumber_width(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
829}
830unsafe extern "C" {
831 pub fn Fl_Text_Display_set_linenumber_font(
832 self_: *mut Fl_Text_Display,
833 val: ::core::ffi::c_int,
834 );
835}
836unsafe extern "C" {
837 pub fn Fl_Text_Display_linenumber_font(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
838}
839unsafe extern "C" {
840 pub fn Fl_Text_Display_set_linenumber_size(
841 self_: *mut Fl_Text_Display,
842 val: ::core::ffi::c_int,
843 );
844}
845unsafe extern "C" {
846 pub fn Fl_Text_Display_linenumber_size(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
847}
848unsafe extern "C" {
849 pub fn Fl_Text_Display_set_linenumber_fgcolor(
850 self_: *mut Fl_Text_Display,
851 val: ::core::ffi::c_uint,
852 );
853}
854unsafe extern "C" {
855 pub fn Fl_Text_Display_linenumber_fgcolor(self_: *const Fl_Text_Display)
856 -> ::core::ffi::c_uint;
857}
858unsafe extern "C" {
859 pub fn Fl_Text_Display_set_linenumber_bgcolor(
860 self_: *mut Fl_Text_Display,
861 val: ::core::ffi::c_uint,
862 );
863}
864unsafe extern "C" {
865 pub fn Fl_Text_Display_linenumber_bgcolor(self_: *const Fl_Text_Display)
866 -> ::core::ffi::c_uint;
867}
868unsafe extern "C" {
869 pub fn Fl_Text_Display_set_linenumber_align(
870 self_: *mut Fl_Text_Display,
871 val: ::core::ffi::c_int,
872 );
873}
874unsafe extern "C" {
875 pub fn Fl_Text_Display_linenumber_align(self_: *const Fl_Text_Display) -> ::core::ffi::c_int;
876}
877unsafe extern "C" {
878 pub fn Fl_Text_Display_in_selection(
879 self_: *const Fl_Text_Display,
880 x: ::core::ffi::c_int,
881 y: ::core::ffi::c_int,
882 ) -> ::core::ffi::c_int;
883}
884unsafe extern "C" {
885 pub fn Fl_Text_Display_wrap_mode(
886 self_: *mut Fl_Text_Display,
887 wrap: ::core::ffi::c_int,
888 wrap_margin: ::core::ffi::c_int,
889 );
890}
891unsafe extern "C" {
892 pub fn Fl_Text_Display_wrapped_column(
893 self_: *const Fl_Text_Display,
894 row: ::core::ffi::c_int,
895 column: ::core::ffi::c_int,
896 ) -> ::core::ffi::c_int;
897}
898unsafe extern "C" {
899 pub fn Fl_Text_Display_wrapped_row(
900 self_: *const Fl_Text_Display,
901 row: ::core::ffi::c_int,
902 ) -> ::core::ffi::c_int;
903}
904unsafe extern "C" {
905 pub fn Fl_Text_Display_set_grammar_underline_color(
906 self_: *mut Fl_Text_Display,
907 color: ::core::ffi::c_uint,
908 );
909}
910unsafe extern "C" {
911 pub fn Fl_Text_Display_grammar_underline_color(
912 self_: *const Fl_Text_Display,
913 ) -> ::core::ffi::c_uint;
914}
915unsafe extern "C" {
916 pub fn Fl_Text_Display_set_spelling_underline_color(
917 self_: *mut Fl_Text_Display,
918 color: ::core::ffi::c_uint,
919 );
920}
921unsafe extern "C" {
922 pub fn Fl_Text_Display_spelling_underline_color(
923 self_: *const Fl_Text_Display,
924 ) -> ::core::ffi::c_uint;
925}
926unsafe extern "C" {
927 pub fn Fl_Text_Display_set_secondary_selection_color(
928 self_: *mut Fl_Text_Display,
929 color: ::core::ffi::c_uint,
930 );
931}
932unsafe extern "C" {
933 pub fn Fl_Text_Display_secondary_selection_color(
934 self_: *const Fl_Text_Display,
935 ) -> ::core::ffi::c_uint;
936}
937unsafe extern "C" {
938 pub fn Fl_Text_Display_show_insert_position(self_: *mut Fl_Text_Display);
939}
940unsafe extern "C" {
941 pub fn Fl_Text_Display_overstrike(
942 self_: *mut Fl_Text_Display,
943 text: *const ::core::ffi::c_char,
944 );
945}
946#[repr(C)]
947#[derive(Debug, Copy, Clone)]
948pub struct Fl_Text_Editor {
949 _unused: [u8; 0],
950}
951unsafe extern "C" {
952 pub fn Fl_Text_Editor_new(
953 x: ::core::ffi::c_int,
954 y: ::core::ffi::c_int,
955 width: ::core::ffi::c_int,
956 height: ::core::ffi::c_int,
957 title: *const ::core::ffi::c_char,
958 ) -> *mut Fl_Text_Editor;
959}
960unsafe extern "C" {
961 pub fn Fl_Text_Editor_x(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
962}
963unsafe extern "C" {
964 pub fn Fl_Text_Editor_y(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
965}
966unsafe extern "C" {
967 pub fn Fl_Text_Editor_width(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
968}
969unsafe extern "C" {
970 pub fn Fl_Text_Editor_height(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
971}
972unsafe extern "C" {
973 pub fn Fl_Text_Editor_label(arg1: *mut Fl_Text_Editor) -> *const ::core::ffi::c_char;
974}
975unsafe extern "C" {
976 pub fn Fl_Text_Editor_set_label(arg1: *mut Fl_Text_Editor, title: *const ::core::ffi::c_char);
977}
978unsafe extern "C" {
979 pub fn Fl_Text_Editor_redraw(arg1: *mut Fl_Text_Editor);
980}
981unsafe extern "C" {
982 pub fn Fl_Text_Editor_show(arg1: *mut Fl_Text_Editor);
983}
984unsafe extern "C" {
985 pub fn Fl_Text_Editor_hide(arg1: *mut Fl_Text_Editor);
986}
987unsafe extern "C" {
988 pub fn Fl_Text_Editor_activate(arg1: *mut Fl_Text_Editor);
989}
990unsafe extern "C" {
991 pub fn Fl_Text_Editor_deactivate(arg1: *mut Fl_Text_Editor);
992}
993unsafe extern "C" {
994 pub fn Fl_Text_Editor_redraw_label(arg1: *mut Fl_Text_Editor);
995}
996unsafe extern "C" {
997 pub fn Fl_Text_Editor_resize(
998 arg1: *mut Fl_Text_Editor,
999 x: ::core::ffi::c_int,
1000 y: ::core::ffi::c_int,
1001 width: ::core::ffi::c_int,
1002 height: ::core::ffi::c_int,
1003 );
1004}
1005unsafe extern "C" {
1006 pub fn Fl_Text_Editor_widget_resize(
1007 arg1: *mut Fl_Text_Editor,
1008 x: ::core::ffi::c_int,
1009 y: ::core::ffi::c_int,
1010 width: ::core::ffi::c_int,
1011 height: ::core::ffi::c_int,
1012 );
1013}
1014unsafe extern "C" {
1015 pub fn Fl_Text_Editor_tooltip(arg1: *mut Fl_Text_Editor) -> *const ::core::ffi::c_char;
1016}
1017unsafe extern "C" {
1018 pub fn Fl_Text_Editor_set_tooltip(arg1: *mut Fl_Text_Editor, txt: *const ::core::ffi::c_char);
1019}
1020unsafe extern "C" {
1021 pub fn Fl_Text_Editor_get_type(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1022}
1023unsafe extern "C" {
1024 pub fn Fl_Text_Editor_set_type(arg1: *mut Fl_Text_Editor, typ: ::core::ffi::c_int);
1025}
1026unsafe extern "C" {
1027 pub fn Fl_Text_Editor_color(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_uint;
1028}
1029unsafe extern "C" {
1030 pub fn Fl_Text_Editor_set_color(arg1: *mut Fl_Text_Editor, color: ::core::ffi::c_uint);
1031}
1032unsafe extern "C" {
1033 pub fn Fl_Text_Editor_measure_label(
1034 arg1: *const Fl_Text_Editor,
1035 arg2: *mut ::core::ffi::c_int,
1036 arg3: *mut ::core::ffi::c_int,
1037 );
1038}
1039unsafe extern "C" {
1040 pub fn Fl_Text_Editor_label_color(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_uint;
1041}
1042unsafe extern "C" {
1043 pub fn Fl_Text_Editor_set_label_color(arg1: *mut Fl_Text_Editor, color: ::core::ffi::c_uint);
1044}
1045unsafe extern "C" {
1046 pub fn Fl_Text_Editor_label_font(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1047}
1048unsafe extern "C" {
1049 pub fn Fl_Text_Editor_set_label_font(arg1: *mut Fl_Text_Editor, font: ::core::ffi::c_int);
1050}
1051unsafe extern "C" {
1052 pub fn Fl_Text_Editor_label_size(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1053}
1054unsafe extern "C" {
1055 pub fn Fl_Text_Editor_set_label_size(arg1: *mut Fl_Text_Editor, sz: ::core::ffi::c_int);
1056}
1057unsafe extern "C" {
1058 pub fn Fl_Text_Editor_label_type(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1059}
1060unsafe extern "C" {
1061 pub fn Fl_Text_Editor_set_label_type(arg1: *mut Fl_Text_Editor, typ: ::core::ffi::c_int);
1062}
1063unsafe extern "C" {
1064 pub fn Fl_Text_Editor_box(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1065}
1066unsafe extern "C" {
1067 pub fn Fl_Text_Editor_set_box(arg1: *mut Fl_Text_Editor, typ: ::core::ffi::c_int);
1068}
1069unsafe extern "C" {
1070 pub fn Fl_Text_Editor_changed(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1071}
1072unsafe extern "C" {
1073 pub fn Fl_Text_Editor_set_changed(arg1: *mut Fl_Text_Editor);
1074}
1075unsafe extern "C" {
1076 pub fn Fl_Text_Editor_clear_changed(arg1: *mut Fl_Text_Editor);
1077}
1078unsafe extern "C" {
1079 pub fn Fl_Text_Editor_align(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1080}
1081unsafe extern "C" {
1082 pub fn Fl_Text_Editor_set_align(arg1: *mut Fl_Text_Editor, typ: ::core::ffi::c_int);
1083}
1084unsafe extern "C" {
1085 pub fn Fl_Text_Editor_delete(arg1: *mut Fl_Text_Editor);
1086}
1087unsafe extern "C" {
1088 pub fn Fl_Text_Editor_set_image(arg1: *mut Fl_Text_Editor, arg2: *mut ::core::ffi::c_void);
1089}
1090unsafe extern "C" {
1091 pub fn Fl_Text_Editor_handle(
1092 self_: *mut Fl_Text_Editor,
1093 cb: custom_handler_callback,
1094 data: *mut ::core::ffi::c_void,
1095 );
1096}
1097unsafe extern "C" {
1098 pub fn Fl_Text_Editor_handle_event(
1099 self_: *mut Fl_Text_Editor,
1100 event: ::core::ffi::c_int,
1101 ) -> ::core::ffi::c_int;
1102}
1103unsafe extern "C" {
1104 pub fn Fl_Text_Editor_draw(
1105 self_: *mut Fl_Text_Editor,
1106 cb: custom_draw_callback,
1107 data: *mut ::core::ffi::c_void,
1108 );
1109}
1110unsafe extern "C" {
1111 pub fn Fl_Text_Editor_resize_callback(
1112 self_: *mut Fl_Text_Editor,
1113 cb: ::core::option::Option<
1114 unsafe extern "C" fn(
1115 arg1: *mut Fl_Widget,
1116 x: ::core::ffi::c_int,
1117 y: ::core::ffi::c_int,
1118 w: ::core::ffi::c_int,
1119 h: ::core::ffi::c_int,
1120 arg2: *mut ::core::ffi::c_void,
1121 ),
1122 >,
1123 data: *mut ::core::ffi::c_void,
1124 );
1125}
1126unsafe extern "C" {
1127 pub fn Fl_Text_Editor_set_when(arg1: *mut Fl_Text_Editor, arg2: ::core::ffi::c_int);
1128}
1129unsafe extern "C" {
1130 pub fn Fl_Text_Editor_when(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1131}
1132unsafe extern "C" {
1133 pub fn Fl_Text_Editor_image(arg1: *const Fl_Text_Editor) -> *const ::core::ffi::c_void;
1134}
1135unsafe extern "C" {
1136 pub fn Fl_Text_Editor_parent(self_: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1137}
1138unsafe extern "C" {
1139 pub fn Fl_Text_Editor_selection_color(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_uint;
1140}
1141unsafe extern "C" {
1142 pub fn Fl_Text_Editor_set_selection_color(
1143 arg1: *mut Fl_Text_Editor,
1144 color: ::core::ffi::c_uint,
1145 );
1146}
1147unsafe extern "C" {
1148 pub fn Fl_Text_Editor_do_callback(arg1: *mut Fl_Text_Editor);
1149}
1150unsafe extern "C" {
1151 pub fn Fl_Text_Editor_inside(
1152 self_: *const Fl_Text_Editor,
1153 arg1: *mut ::core::ffi::c_void,
1154 ) -> ::core::ffi::c_int;
1155}
1156unsafe extern "C" {
1157 pub fn Fl_Text_Editor_window(arg1: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1158}
1159unsafe extern "C" {
1160 pub fn Fl_Text_Editor_top_window(arg1: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1161}
1162unsafe extern "C" {
1163 pub fn Fl_Text_Editor_takes_events(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1164}
1165unsafe extern "C" {
1166 pub fn Fl_Text_Editor_user_data(arg1: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1167}
1168unsafe extern "C" {
1169 pub fn Fl_Text_Editor_take_focus(self_: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1170}
1171unsafe extern "C" {
1172 pub fn Fl_Text_Editor_set_visible_focus(self_: *mut Fl_Text_Editor);
1173}
1174unsafe extern "C" {
1175 pub fn Fl_Text_Editor_clear_visible_focus(self_: *mut Fl_Text_Editor);
1176}
1177unsafe extern "C" {
1178 pub fn Fl_Text_Editor_visible_focus(self_: *mut Fl_Text_Editor, v: ::core::ffi::c_int);
1179}
1180unsafe extern "C" {
1181 pub fn Fl_Text_Editor_has_visible_focus(self_: *mut Fl_Text_Editor) -> ::core::ffi::c_uint;
1182}
1183unsafe extern "C" {
1184 pub fn Fl_Text_Editor_set_user_data(arg1: *mut Fl_Text_Editor, data: *mut ::core::ffi::c_void);
1185}
1186unsafe extern "C" {
1187 pub fn Fl_Text_Editor_draw_data(self_: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1188}
1189unsafe extern "C" {
1190 pub fn Fl_Text_Editor_handle_data(self_: *const Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1191}
1192unsafe extern "C" {
1193 pub fn Fl_Text_Editor_set_draw_data(self_: *mut Fl_Text_Editor, data: *mut ::core::ffi::c_void);
1194}
1195unsafe extern "C" {
1196 pub fn Fl_Text_Editor_set_handle_data(
1197 self_: *mut Fl_Text_Editor,
1198 data: *mut ::core::ffi::c_void,
1199 );
1200}
1201unsafe extern "C" {
1202 pub fn Fl_Text_Editor_damage(self_: *const Fl_Text_Editor) -> ::core::ffi::c_uchar;
1203}
1204unsafe extern "C" {
1205 pub fn Fl_Text_Editor_set_damage(self_: *mut Fl_Text_Editor, flag: ::core::ffi::c_uchar);
1206}
1207unsafe extern "C" {
1208 pub fn Fl_Text_Editor_set_damage_area(
1209 self_: *mut Fl_Text_Editor,
1210 flag: ::core::ffi::c_uchar,
1211 x: ::core::ffi::c_int,
1212 y: ::core::ffi::c_int,
1213 w: ::core::ffi::c_int,
1214 h: ::core::ffi::c_int,
1215 );
1216}
1217unsafe extern "C" {
1218 pub fn Fl_Text_Editor_clear_damage(self_: *mut Fl_Text_Editor);
1219}
1220unsafe extern "C" {
1221 pub fn Fl_Text_Editor_as_window(self_: *mut Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1222}
1223unsafe extern "C" {
1224 pub fn Fl_Text_Editor_as_group(self_: *mut Fl_Text_Editor) -> *mut ::core::ffi::c_void;
1225}
1226unsafe extern "C" {
1227 pub fn Fl_Text_Editor_set_deimage(arg1: *mut Fl_Text_Editor, arg2: *mut ::core::ffi::c_void);
1228}
1229unsafe extern "C" {
1230 pub fn Fl_Text_Editor_deimage(arg1: *const Fl_Text_Editor) -> *const ::core::ffi::c_void;
1231}
1232unsafe extern "C" {
1233 pub fn Fl_Text_Editor_set_callback(
1234 arg1: *mut Fl_Text_Editor,
1235 arg2: Fl_Callback,
1236 arg3: *mut ::core::ffi::c_void,
1237 );
1238}
1239unsafe extern "C" {
1240 pub fn Fl_Text_Editor_visible(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1241}
1242unsafe extern "C" {
1243 pub fn Fl_Text_Editor_visible_r(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1244}
1245unsafe extern "C" {
1246 pub fn Fl_Text_Editor_active(self_: *const Fl_Text_Editor) -> ::core::ffi::c_uint;
1247}
1248unsafe extern "C" {
1249 pub fn Fl_Text_Editor_active_r(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1250}
1251unsafe extern "C" {
1252 pub fn Fl_Text_Editor_callback(self_: *const Fl_Text_Editor) -> Fl_Callback;
1253}
1254unsafe extern "C" {
1255 pub fn Fl_Text_Editor_set_deletion_callback(
1256 self_: *mut Fl_Text_Editor,
1257 arg1: ::core::option::Option<
1258 unsafe extern "C" fn(arg1: *mut Fl_Widget, arg2: *mut ::core::ffi::c_void),
1259 >,
1260 data: *mut ::core::ffi::c_void,
1261 );
1262}
1263unsafe extern "C" {
1264 pub fn Fl_Text_Editor_from_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Text_Editor;
1265}
1266unsafe extern "C" {
1267 pub fn Fl_Text_Editor_from_derived_dyn_ptr(ptr: *mut Fl_Widget) -> *mut Fl_Text_Editor;
1268}
1269unsafe extern "C" {
1270 pub fn Fl_Text_Editor_super_draw(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1271}
1272unsafe extern "C" {
1273 pub fn Fl_Text_Editor_super_draw_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1274}
1275unsafe extern "C" {
1276 pub fn Fl_Text_Editor_super_handle_first(ptr: *mut Fl_Widget, flag: ::core::ffi::c_int);
1277}
1278unsafe extern "C" {
1279 pub fn Fl_Text_Editor_init(arg1: *mut Fl_Text_Editor);
1280}
1281unsafe extern "C" {
1282 pub fn Fl_Text_Editor_get_buffer(arg1: *mut Fl_Text_Editor) -> *mut Fl_Text_Buffer;
1283}
1284unsafe extern "C" {
1285 pub fn Fl_Text_Editor_set_buffer(arg1: *mut Fl_Text_Editor, arg2: *mut Fl_Text_Buffer);
1286}
1287unsafe extern "C" {
1288 pub fn Fl_Text_Editor_get_style_buffer(arg1: *mut Fl_Text_Editor) -> *mut Fl_Text_Buffer;
1289}
1290unsafe extern "C" {
1291 pub fn Fl_Text_Editor_text_font(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1292}
1293unsafe extern "C" {
1294 pub fn Fl_Text_Editor_set_text_font(arg1: *mut Fl_Text_Editor, s: ::core::ffi::c_int);
1295}
1296unsafe extern "C" {
1297 pub fn Fl_Text_Editor_text_size(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1298}
1299unsafe extern "C" {
1300 pub fn Fl_Text_Editor_set_text_size(arg1: *mut Fl_Text_Editor, s: ::core::ffi::c_int);
1301}
1302unsafe extern "C" {
1303 pub fn Fl_Text_Editor_text_color(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_uint;
1304}
1305unsafe extern "C" {
1306 pub fn Fl_Text_Editor_set_text_color(arg1: *mut Fl_Text_Editor, n: ::core::ffi::c_uint);
1307}
1308unsafe extern "C" {
1309 pub fn Fl_Text_Editor_scroll(
1310 arg1: *mut Fl_Text_Editor,
1311 topLineNum: ::core::ffi::c_int,
1312 horizOffset: ::core::ffi::c_int,
1313 );
1314}
1315unsafe extern "C" {
1316 pub fn Fl_Text_Editor_insert(arg1: *mut Fl_Text_Editor, text: *const ::core::ffi::c_char);
1317}
1318unsafe extern "C" {
1319 pub fn Fl_Text_Editor_set_insert_position(
1320 arg1: *mut Fl_Text_Editor,
1321 newPos: ::core::ffi::c_int,
1322 );
1323}
1324unsafe extern "C" {
1325 pub fn Fl_Text_Editor_insert_position(arg1: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1326}
1327unsafe extern "C" {
1328 pub fn Fl_Text_Editor_position_to_xy(
1329 self_: *const Fl_Text_Editor,
1330 pos: ::core::ffi::c_int,
1331 x: *mut ::core::ffi::c_int,
1332 y: *mut ::core::ffi::c_int,
1333 ) -> ::core::ffi::c_int;
1334}
1335unsafe extern "C" {
1336 pub fn Fl_Text_Editor_count_lines(
1337 arg1: *const Fl_Text_Editor,
1338 start: ::core::ffi::c_int,
1339 end: ::core::ffi::c_int,
1340 start_pos_is_line_start: ::core::ffi::c_int,
1341 ) -> ::core::ffi::c_int;
1342}
1343unsafe extern "C" {
1344 pub fn Fl_Text_Editor_move_right(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1345}
1346unsafe extern "C" {
1347 pub fn Fl_Text_Editor_move_left(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1348}
1349unsafe extern "C" {
1350 pub fn Fl_Text_Editor_move_up(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1351}
1352unsafe extern "C" {
1353 pub fn Fl_Text_Editor_move_down(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1354}
1355unsafe extern "C" {
1356 pub fn Fl_Text_Editor_show_cursor(arg1: *mut Fl_Text_Editor, boolean: ::core::ffi::c_int);
1357}
1358unsafe extern "C" {
1359 pub fn Fl_Text_Editor_set_highlight_data(
1360 self_: *mut Fl_Text_Editor,
1361 sbuff: *mut ::core::ffi::c_void,
1362 color: *mut ::core::ffi::c_uint,
1363 font: *mut ::core::ffi::c_int,
1364 fontsz: *mut ::core::ffi::c_int,
1365 attr: *mut ::core::ffi::c_uint,
1366 bgcolor: *mut ::core::ffi::c_uint,
1367 sz: ::core::ffi::c_int,
1368 );
1369}
1370unsafe extern "C" {
1371 pub fn Fl_Text_Editor_set_cursor_style(arg1: *mut Fl_Text_Editor, style: ::core::ffi::c_int);
1372}
1373unsafe extern "C" {
1374 pub fn Fl_Text_Editor_set_cursor_color(arg1: *mut Fl_Text_Editor, color: ::core::ffi::c_uint);
1375}
1376unsafe extern "C" {
1377 pub fn Fl_Text_Editor_set_scrollbar_size(
1378 arg1: *mut Fl_Text_Editor,
1379 newSize: ::core::ffi::c_int,
1380 );
1381}
1382unsafe extern "C" {
1383 pub fn Fl_Text_Editor_set_scrollbar_align(arg1: *mut Fl_Text_Editor, align: ::core::ffi::c_int);
1384}
1385unsafe extern "C" {
1386 pub fn Fl_Text_Editor_cursor_style(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1387}
1388unsafe extern "C" {
1389 pub fn Fl_Text_Editor_cursor_color(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_uint;
1390}
1391unsafe extern "C" {
1392 pub fn Fl_Text_Editor_scrollbar_size(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1393}
1394unsafe extern "C" {
1395 pub fn Fl_Text_Editor_scrollbar_align(arg1: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1396}
1397unsafe extern "C" {
1398 pub fn Fl_Text_Editor_line_start(
1399 self_: *const Fl_Text_Editor,
1400 pos: ::core::ffi::c_int,
1401 ) -> ::core::ffi::c_int;
1402}
1403unsafe extern "C" {
1404 pub fn Fl_Text_Editor_line_end(
1405 self_: *const Fl_Text_Editor,
1406 startPos: ::core::ffi::c_int,
1407 startPosIsLineStart: ::core::ffi::c_int,
1408 ) -> ::core::ffi::c_int;
1409}
1410unsafe extern "C" {
1411 pub fn Fl_Text_Editor_skip_lines(
1412 self_: *mut Fl_Text_Editor,
1413 startPos: ::core::ffi::c_int,
1414 nLines: ::core::ffi::c_int,
1415 startPosIsLineStart: ::core::ffi::c_int,
1416 ) -> ::core::ffi::c_int;
1417}
1418unsafe extern "C" {
1419 pub fn Fl_Text_Editor_rewind_lines(
1420 self_: *mut Fl_Text_Editor,
1421 startPos: ::core::ffi::c_int,
1422 nLines: ::core::ffi::c_int,
1423 ) -> ::core::ffi::c_int;
1424}
1425unsafe extern "C" {
1426 pub fn Fl_Text_Editor_next_word(self_: *mut Fl_Text_Editor);
1427}
1428unsafe extern "C" {
1429 pub fn Fl_Text_Editor_previous_word(self_: *mut Fl_Text_Editor);
1430}
1431unsafe extern "C" {
1432 pub fn Fl_Text_Editor_word_start(
1433 self_: *const Fl_Text_Editor,
1434 pos: ::core::ffi::c_int,
1435 ) -> ::core::ffi::c_int;
1436}
1437unsafe extern "C" {
1438 pub fn Fl_Text_Editor_word_end(
1439 self_: *const Fl_Text_Editor,
1440 pos: ::core::ffi::c_int,
1441 ) -> ::core::ffi::c_int;
1442}
1443unsafe extern "C" {
1444 pub fn Fl_Text_Editor_x_to_col(self_: *const Fl_Text_Editor, x: f64) -> f64;
1445}
1446unsafe extern "C" {
1447 pub fn Fl_Text_Editor_col_to_x(self_: *const Fl_Text_Editor, col: f64) -> f64;
1448}
1449unsafe extern "C" {
1450 pub fn Fl_Text_Editor_set_linenumber_width(
1451 self_: *mut Fl_Text_Editor,
1452 width: ::core::ffi::c_int,
1453 );
1454}
1455unsafe extern "C" {
1456 pub fn Fl_Text_Editor_linenumber_width(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1457}
1458unsafe extern "C" {
1459 pub fn Fl_Text_Editor_set_linenumber_font(self_: *mut Fl_Text_Editor, val: ::core::ffi::c_int);
1460}
1461unsafe extern "C" {
1462 pub fn Fl_Text_Editor_linenumber_font(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1463}
1464unsafe extern "C" {
1465 pub fn Fl_Text_Editor_set_linenumber_size(self_: *mut Fl_Text_Editor, val: ::core::ffi::c_int);
1466}
1467unsafe extern "C" {
1468 pub fn Fl_Text_Editor_linenumber_size(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1469}
1470unsafe extern "C" {
1471 pub fn Fl_Text_Editor_set_linenumber_fgcolor(
1472 self_: *mut Fl_Text_Editor,
1473 val: ::core::ffi::c_uint,
1474 );
1475}
1476unsafe extern "C" {
1477 pub fn Fl_Text_Editor_linenumber_fgcolor(self_: *const Fl_Text_Editor) -> ::core::ffi::c_uint;
1478}
1479unsafe extern "C" {
1480 pub fn Fl_Text_Editor_set_linenumber_bgcolor(
1481 self_: *mut Fl_Text_Editor,
1482 val: ::core::ffi::c_uint,
1483 );
1484}
1485unsafe extern "C" {
1486 pub fn Fl_Text_Editor_linenumber_bgcolor(self_: *const Fl_Text_Editor) -> ::core::ffi::c_uint;
1487}
1488unsafe extern "C" {
1489 pub fn Fl_Text_Editor_set_linenumber_align(self_: *mut Fl_Text_Editor, val: ::core::ffi::c_int);
1490}
1491unsafe extern "C" {
1492 pub fn Fl_Text_Editor_linenumber_align(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1493}
1494unsafe extern "C" {
1495 pub fn Fl_Text_Editor_in_selection(
1496 self_: *const Fl_Text_Editor,
1497 x: ::core::ffi::c_int,
1498 y: ::core::ffi::c_int,
1499 ) -> ::core::ffi::c_int;
1500}
1501unsafe extern "C" {
1502 pub fn Fl_Text_Editor_wrap_mode(
1503 self_: *mut Fl_Text_Editor,
1504 wrap: ::core::ffi::c_int,
1505 wrap_margin: ::core::ffi::c_int,
1506 );
1507}
1508unsafe extern "C" {
1509 pub fn Fl_Text_Editor_wrapped_column(
1510 self_: *const Fl_Text_Editor,
1511 row: ::core::ffi::c_int,
1512 column: ::core::ffi::c_int,
1513 ) -> ::core::ffi::c_int;
1514}
1515unsafe extern "C" {
1516 pub fn Fl_Text_Editor_wrapped_row(
1517 self_: *const Fl_Text_Editor,
1518 row: ::core::ffi::c_int,
1519 ) -> ::core::ffi::c_int;
1520}
1521unsafe extern "C" {
1522 pub fn Fl_Text_Editor_set_grammar_underline_color(
1523 self_: *mut Fl_Text_Editor,
1524 color: ::core::ffi::c_uint,
1525 );
1526}
1527unsafe extern "C" {
1528 pub fn Fl_Text_Editor_grammar_underline_color(
1529 self_: *const Fl_Text_Editor,
1530 ) -> ::core::ffi::c_uint;
1531}
1532unsafe extern "C" {
1533 pub fn Fl_Text_Editor_set_spelling_underline_color(
1534 self_: *mut Fl_Text_Editor,
1535 color: ::core::ffi::c_uint,
1536 );
1537}
1538unsafe extern "C" {
1539 pub fn Fl_Text_Editor_spelling_underline_color(
1540 self_: *const Fl_Text_Editor,
1541 ) -> ::core::ffi::c_uint;
1542}
1543unsafe extern "C" {
1544 pub fn Fl_Text_Editor_set_secondary_selection_color(
1545 self_: *mut Fl_Text_Editor,
1546 color: ::core::ffi::c_uint,
1547 );
1548}
1549unsafe extern "C" {
1550 pub fn Fl_Text_Editor_secondary_selection_color(
1551 self_: *const Fl_Text_Editor,
1552 ) -> ::core::ffi::c_uint;
1553}
1554unsafe extern "C" {
1555 pub fn Fl_Text_Editor_show_insert_position(self_: *mut Fl_Text_Editor);
1556}
1557unsafe extern "C" {
1558 pub fn Fl_Text_Editor_overstrike(self_: *mut Fl_Text_Editor, text: *const ::core::ffi::c_char);
1559}
1560unsafe extern "C" {
1561 pub fn Fl_Text_Editor_kf_copy(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1562}
1563unsafe extern "C" {
1564 pub fn Fl_Text_Editor_kf_cut(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1565}
1566unsafe extern "C" {
1567 pub fn Fl_Text_Editor_kf_paste(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1568}
1569unsafe extern "C" {
1570 pub fn Fl_Text_Editor_kf_undo(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1571}
1572unsafe extern "C" {
1573 pub fn Fl_Text_Editor_kf_redo(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1574}
1575unsafe extern "C" {
1576 pub fn Fl_Text_Editor_kf_default(
1577 c: ::core::ffi::c_int,
1578 e: *mut Fl_Text_Editor,
1579 ) -> ::core::ffi::c_int;
1580}
1581unsafe extern "C" {
1582 pub fn Fl_Text_Editor_kf_ignore(
1583 c: ::core::ffi::c_int,
1584 e: *mut Fl_Text_Editor,
1585 ) -> ::core::ffi::c_int;
1586}
1587unsafe extern "C" {
1588 pub fn Fl_Text_Editor_kf_backspace(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1589}
1590unsafe extern "C" {
1591 pub fn Fl_Text_Editor_kf_enter(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1592}
1593unsafe extern "C" {
1594 pub fn Fl_Text_Editor_kf_move(
1595 c: ::core::ffi::c_int,
1596 e: *mut Fl_Text_Editor,
1597 ) -> ::core::ffi::c_int;
1598}
1599unsafe extern "C" {
1600 pub fn Fl_Text_Editor_kf_shift_move(
1601 c: ::core::ffi::c_int,
1602 e: *mut Fl_Text_Editor,
1603 ) -> ::core::ffi::c_int;
1604}
1605unsafe extern "C" {
1606 pub fn Fl_Text_Editor_kf_ctrl_move(
1607 c: ::core::ffi::c_int,
1608 e: *mut Fl_Text_Editor,
1609 ) -> ::core::ffi::c_int;
1610}
1611unsafe extern "C" {
1612 pub fn Fl_Text_Editor_kf_c_s_move(
1613 c: ::core::ffi::c_int,
1614 e: *mut Fl_Text_Editor,
1615 ) -> ::core::ffi::c_int;
1616}
1617unsafe extern "C" {
1618 pub fn Fl_Text_Editor_kf_meta_move(
1619 c: ::core::ffi::c_int,
1620 e: *mut Fl_Text_Editor,
1621 ) -> ::core::ffi::c_int;
1622}
1623unsafe extern "C" {
1624 pub fn Fl_Text_Editor_kf_m_s_move(
1625 c: ::core::ffi::c_int,
1626 e: *mut Fl_Text_Editor,
1627 ) -> ::core::ffi::c_int;
1628}
1629unsafe extern "C" {
1630 pub fn Fl_Text_Editor_kf_home(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1631}
1632unsafe extern "C" {
1633 pub fn Fl_Text_Editor_kf_end(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1634}
1635unsafe extern "C" {
1636 pub fn Fl_Text_Editor_kf_left(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1637}
1638unsafe extern "C" {
1639 pub fn Fl_Text_Editor_kf_up(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1640}
1641unsafe extern "C" {
1642 pub fn Fl_Text_Editor_kf_right(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1643}
1644unsafe extern "C" {
1645 pub fn Fl_Text_Editor_kf_down(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1646}
1647unsafe extern "C" {
1648 pub fn Fl_Text_Editor_kf_page_up(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1649}
1650unsafe extern "C" {
1651 pub fn Fl_Text_Editor_kf_page_down(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1652}
1653unsafe extern "C" {
1654 pub fn Fl_Text_Editor_kf_insert(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1655}
1656unsafe extern "C" {
1657 pub fn Fl_Text_Editor_kf_delete(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1658}
1659unsafe extern "C" {
1660 pub fn Fl_Text_Editor_kf_select_all(e: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1661}
1662unsafe extern "C" {
1663 pub fn Fl_Text_Editor_set_insert_mode(self_: *mut Fl_Text_Editor, b: ::core::ffi::c_int);
1664}
1665unsafe extern "C" {
1666 pub fn Fl_Text_Editor_insert_mode(self_: *mut Fl_Text_Editor) -> ::core::ffi::c_int;
1667}
1668unsafe extern "C" {
1669 pub fn Fl_Text_Editor_set_tab_nav(self_: *mut Fl_Text_Editor, val: ::core::ffi::c_int);
1670}
1671unsafe extern "C" {
1672 pub fn Fl_Text_Editor_tab_nav(self_: *const Fl_Text_Editor) -> ::core::ffi::c_int;
1673}
1674unsafe extern "C" {
1675 pub fn Fl_Text_Editor_add_key_binding(
1676 self_: *mut Fl_Text_Editor,
1677 key: ::core::ffi::c_int,
1678 state: ::core::ffi::c_int,
1679 kf: ::core::option::Option<
1680 unsafe extern "C" fn(
1681 arg1: ::core::ffi::c_int,
1682 arg2: *mut Fl_Text_Editor,
1683 ) -> ::core::ffi::c_int,
1684 >,
1685 );
1686}
1687unsafe extern "C" {
1688 pub fn Fl_Text_Editor_remove_key_binding(
1689 self_: *mut Fl_Text_Editor,
1690 key: ::core::ffi::c_int,
1691 state: ::core::ffi::c_int,
1692 );
1693}
1694unsafe extern "C" {
1695 pub fn Fl_delete_stable(arg1: *mut ::core::ffi::c_void);
1696}