Changeset 818f19c for perlglue.xs
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.