Subversion Repositories Kolibri OS

Rev

Rev 7863 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7863 Rev 7924
Line 124... Line 124...
124
	return ret;
124
	return ret;
125
}
125
}
Line 126... Line 126...
126
 
126
 
127
:int llist::ProcessKey(dword key)
127
:int llist::ProcessKey(dword key)
128
{
128
{
-
 
129
	if (horisontal_selelection) {
-
 
130
		if (key_modifier & KEY_LCTRL) || (key_modifier & KEY_RCTRL)	switch(key)	{
-
 
131
			case SCAN_CODE_HOME:  KeyHome(); break;
129
	if (horisontal_selelection) switch(key)
132
			case SCAN_CODE_END:   KeyEnd();
-
 
133
		} 
130
	{
134
		switch(key) {
131
		case SCAN_CODE_LEFT:  return KeyLeft();
135
			case SCAN_CODE_LEFT:  return KeyLeft();
132
		case SCAN_CODE_RIGHT: return KeyRight();
136
			case SCAN_CODE_RIGHT: return KeyRight();
133
		case SCAN_CODE_HOME:  return KeyHomeHor();
137
			case SCAN_CODE_HOME:  return KeyHomeHor();
134
		case SCAN_CODE_END:   return KeyEndHor();
138
			case SCAN_CODE_END:   return KeyEndHor();
-
 
139
		}
135
	}
140
	} 
136
	switch(key)
141
	switch(key)
137
	{
142
	{
138
		case SCAN_CODE_DOWN: return KeyDown();
143
		case SCAN_CODE_DOWN: return KeyDown();
139
		case SCAN_CODE_UP:   return KeyUp();
144
		case SCAN_CODE_UP:   return KeyUp();