Changeset 818f19c
- Timestamp:
- Sep 18, 2010, 5:07:39 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 1d74663
- Parents:
- 005eae5
- git-author:
- David Benjamin <davidben@mit.edu> (08/07/10 15:55:04)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r005eae5 r818f19c 284 284 285 285 /* Gets the currently active typwin out of the current context. */ 286 owl_editwin *owl_global_ get_typwin(const owl_global *g) {286 owl_editwin *owl_global_current_typwin(const owl_global *g) { 287 287 owl_context *ctx = owl_global_get_context(g); 288 288 /* Get the current editwin from the context. */ -
keys.c
r5cc7e5e r818f19c 328 328 void owl_keys_editwin_default(owl_input j) { 329 329 owl_editwin *e; 330 if (NULL != (e=owl_global_ get_typwin(&g))) {330 if (NULL != (e=owl_global_current_typwin(&g))) { 331 331 owl_editwin_process_char(e, j); 332 332 } … … 335 335 void owl_keys_editwin_postalways(owl_input j) { 336 336 owl_editwin *e; 337 if (NULL != (e=owl_global_ get_typwin(&g))) {337 if (NULL != (e=owl_global_current_typwin(&g))) { 338 338 owl_editwin_post_process_char(e, j); 339 339 } -
perlglue.xs
r9186c75 r818f19c 554 554 owl_editwin *e; 555 555 CODE: 556 e = owl_global_ get_typwin(&g);556 e = owl_global_current_typwin(&g); 557 557 if (e) { 558 558 RETVAL = owl_editwin_replace(e, count, string); … … 569 569 owl_editwin *e; 570 570 CODE: 571 e = owl_global_ get_typwin(&g);571 e = owl_global_current_typwin(&g); 572 572 if (e) { 573 573 RETVAL = owl_editwin_point_move(e, delta); … … 584 584 owl_editwin *e; 585 585 CODE: 586 e = owl_global_ get_typwin(&g);586 e = owl_global_current_typwin(&g); 587 587 if (e) { 588 588 RETVAL = owl_editwin_replace_region(e, string); … … 599 599 owl_editwin *e; 600 600 CODE: 601 e = owl_global_ get_typwin(&g);601 e = owl_global_current_typwin(&g); 602 602 if (e) { 603 region = owl_editwin_get_region(owl_global_ get_typwin(&g));603 region = owl_editwin_get_region(owl_global_current_typwin(&g)); 604 604 } else { 605 605 region = NULL; … … 621 621 CODE: 622 622 { 623 e = owl_global_ get_typwin(&g);623 e = owl_global_current_typwin(&g); 624 624 if(!e) 625 625 croak("The edit window is not currently active!"); 626 626 627 x = owl_editwin_begin_excursion(owl_global_ get_typwin(&g));627 x = owl_editwin_begin_excursion(owl_global_current_typwin(&g)); 628 628 PUSHMARK(SP); 629 629 count = call_sv(sub, G_SCALAR|G_EVAL|G_NOARGS); 630 630 SPAGAIN; 631 owl_editwin_end_excursion(owl_global_ get_typwin(&g), x);631 owl_editwin_end_excursion(owl_global_current_typwin(&g), x); 632 632 633 633 if(SvTRUE(ERRSV)) { … … 649 649 owl_editwin *e; 650 650 CODE: 651 e = owl_global_ get_typwin(&g);651 e = owl_global_current_typwin(&g); 652 652 if (e) { 653 653 RETVAL = owl_editwin_current_column(e); … … 663 663 owl_editwin *e; 664 664 CODE: 665 e = owl_global_ get_typwin(&g);665 e = owl_global_current_typwin(&g); 666 666 if (e) { 667 667 RETVAL = owl_editwin_get_point(e); … … 677 677 owl_editwin *e; 678 678 CODE: 679 e = owl_global_ get_typwin(&g);679 e = owl_global_current_typwin(&g); 680 680 if (e) { 681 681 RETVAL = owl_editwin_get_mark(e);
Note: See TracChangeset
for help on using the changeset viewer.