Changeset ad78054 in mainline
- Timestamp:
- 2012-08-17T12:01:39Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 111d2d6, 52c4264
- Parents:
- 034c4202
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/edit.c
r034c4202 rad78054 377 377 static void key_handle_ctrl(kbd_event_t const *ev) 378 378 { 379 spt_t pt; 379 380 switch (ev->key) { 380 381 case KC_Q: … … 423 424 search_repeat(); 424 425 break; 426 case KC_HOME: 427 pt_get_sof(&pt); 428 caret_move(pt, false, true); 429 break; 430 case KC_END: 431 pt_get_eof(&pt); 432 caret_move(pt, false, true); 433 break; 425 434 default: 426 435 break; … … 430 439 static void key_handle_shift_ctrl(kbd_event_t const *ev) 431 440 { 441 spt_t pt; 432 442 switch(ev->key) { 433 443 case KC_LEFT: … … 439 449 case KC_F: 440 450 search_prompt(true); 451 break; 452 case KC_HOME: 453 pt_get_sof(&pt); 454 caret_move(pt, true, true); 455 break; 456 case KC_END: 457 pt_get_eof(&pt); 458 caret_move(pt, true, true); 441 459 break; 442 460 default:
Note:
See TracChangeset
for help on using the changeset viewer.