Changeset dd13349 in mainline
- Timestamp:
- 2012-08-18T21:24:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6560960, 7eaeec1, aa492fe
- Parents:
- d17a4a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/edit.c
rd17a4a9 rdd13349 111 111 #define BUF_SIZE 64 112 112 #define TAB_WIDTH 8 113 #define ED_INFTY 65536114 113 115 114 /** Maximum filename length that can be entered. */ … … 507 506 static void key_handle_movement(unsigned int key, bool select) 508 507 { 508 spt_t pt; 509 509 switch (key) { 510 510 case KC_LEFT: … … 521 521 break; 522 522 case KC_HOME: 523 caret_move_relative(0, -ED_INFTY, dir_after, select); 523 tag_get_pt(&pane.caret_pos, &pt); 524 pt_get_sol(&pt, &pt); 525 caret_move(pt, select, true); 524 526 break; 525 527 case KC_END: 526 caret_move_relative(0, +ED_INFTY, dir_before, select); 528 tag_get_pt(&pane.caret_pos, &pt); 529 pt_get_eol(&pt, &pt); 530 caret_move(pt, select, true); 527 531 break; 528 532 case KC_PAGE_UP:
Note:
See TracChangeset
for help on using the changeset viewer.