Changeset 8f6bffdd in mainline for uspace/app/edit/sheet.c


Ignore:
Timestamp:
2012-05-13T11:33:47Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4b0317
Parents:
4b82445
git-author:
Tobias Börtitz <> (2012-05-13 11:33:47)
git-committer:
Vojtech Horky <vojtechhorky@…> (2012-05-13 11:33:47)
Message:

Jumping over words in edit with ctrl+arrow (thx Tobias Börtitz)

This patch implements

  • deleting a word before the caret with shortcut Ctrl-W (vim-like)
  • moving caret word by word using by the shortcuts Ctrl-left (right), also stopping at the beginning and end of a line
  • selecting individual words by using the shortcuts Ctrl-Shift-arrow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/edit/sheet.c

    r4b82445 r8f6bffdd  
    264264        sheet_get_cell_pt(sh, &coord, dir_before, &pt);
    265265        spt_get_coord(&pt, &coord);
    266         *length = coord.column - 1;
     266        *length = coord.column;
    267267}
    268268
Note: See TracChangeset for help on using the changeset viewer.