ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.127 by root, Sat May 30 08:51:23 2009 UTC vs.
Revision 1.128 by root, Sat Dec 26 09:42:16 2009 UTC

1550 EXTEND (SP, 2); 1550 EXTEND (SP, 2);
1551 PUSHs (sv_2mortal (newSViv (rc.row))); 1551 PUSHs (sv_2mortal (newSViv (rc.row)));
1552 PUSHs (sv_2mortal (newSViv (rc.col))); 1552 PUSHs (sv_2mortal (newSViv (rc.col)));
1553 } 1553 }
1554 1554
1555 if (items == 3) 1555 if (items >= 3)
1556 { 1556 {
1557 rc.row = SvIV (ST (1)); 1557 rc.row = SvIV (ST (1));
1558 rc.col = SvIV (ST (2)); 1558 rc.col = SvIV (ST (2));
1559 1559
1560 if (ix == 2) 1560 if (ix == 2)
1576 clamp_it (rc.col, 0, THIS->ncol); 1576 clamp_it (rc.col, 0, THIS->ncol);
1577 clamp_it (rc.row, THIS->top_row, THIS->nrow - 1); 1577 clamp_it (rc.row, THIS->top_row, THIS->nrow - 1);
1578 1578
1579 if (ix) 1579 if (ix)
1580 { 1580 {
1581 THIS->selection.screen = THIS->current_screen;
1582
1581 THIS->want_refresh = 1; 1583 THIS->want_refresh = 1;
1582 THIS->refresh_check (); 1584 THIS->refresh_check ();
1583 } 1585 }
1584 } 1586 }
1585} 1587}
1586 1588
1587char 1589int
1588rxvt_term::cur_charset () 1590rxvt_term::selection_screen (int screen = -1)
1589 CODE: 1591 CODE:
1590 RETVAL = THIS->charsets [THIS->screen.charset]; 1592 RETVAL = THIS->selection.screen;
1591 OUTPUT: 1593 if (screen >= 0)
1594 THIS->selection.screen = screen;
1595 OUTPUT:
1592 RETVAL 1596 RETVAL
1593 1597
1594void 1598void
1595rxvt_term::selection_clear () 1599rxvt_term::selection_clear ()
1596 1600
1619 1623
1620 THIS->selection.text = sv2wcs (newtext); 1624 THIS->selection.text = sv2wcs (newtext);
1621 THIS->selection.len = wcslen (THIS->selection.text); 1625 THIS->selection.len = wcslen (THIS->selection.text);
1622 } 1626 }
1623} 1627}
1628
1629char
1630rxvt_term::cur_charset ()
1631 CODE:
1632 RETVAL = THIS->charsets [THIS->screen.charset];
1633 OUTPUT:
1634 RETVAL
1624 1635
1625void 1636void
1626rxvt_term::scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle1 = RS_RVid, U32 rstyle2 = RS_RVid | RS_Uline) 1637rxvt_term::scr_xor_rect (int beg_row, int beg_col, int end_row, int end_col, U32 rstyle1 = RS_RVid, U32 rstyle2 = RS_RVid | RS_Uline)
1627 1638
1628void 1639void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines