The R Project SVN R

Rev

Rev 82774 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 82774 Rev 84952
Line 105... Line 105...
105
    int linecount = (INT) sendmessage(c->handle, EM_GETLINECOUNT, 0, 0);
105
    int linecount = (INT) sendmessage(c->handle, EM_GETLINECOUNT, 0, 0);
106
    sendmessage(c->handle, EM_LINESCROLL, 0, linecount - lines);
106
    sendmessage(c->handle, EM_LINESCROLL, 0, linecount - lines);
107
}
107
}
108
 
108
 
109
 
109
 
110
int ggetkeystate()
110
int ggetkeystate(void)
111
{
111
{
112
    int k = 0;
112
    int k = 0;
113
    if (GetKeyState(VK_CONTROL)&0x8000)
113
    if (GetKeyState(VK_CONTROL)&0x8000)
114
	k |= CtrlKey;
114
	k |= CtrlKey;
115
    if (GetKeyState(VK_MENU)&0x8000)
115
    if (GetKeyState(VK_MENU)&0x8000)
Line 202... Line 202...
202
	setlimittext(t, len + n + 0x8000);
202
	setlimittext(t, len + n + 0x8000);
203
}
203
}
204
 
204
 
205
/* Length of text in the clipboard */
205
/* Length of text in the clipboard */
206
 
206
 
207
long getpastelength()
207
long getpastelength(void)
208
{
208
{
209
    HGLOBAL hglb;
209
    HGLOBAL hglb;
210
    char *text;
210
    char *text;
211
    long pastelen;
211
    long pastelen;
212
    if ( OpenClipboard(NULL) &&
212
    if ( OpenClipboard(NULL) &&