Changeset 1b20da0 in mainline for uspace/dist/src/c/demos/edit/edit.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/edit/edit.c
rdf6ded8 r1b20da0 83 83 keymod_t keymod; 84 84 85 /** 85 /** 86 86 * Ideal column where the caret should try to get. This is used 87 87 * for maintaining the same column during vertical movement. … … 1159 1159 1160 1160 /** Find beginning of a word to the left of spt */ 1161 static spt_t pt_find_word_left(spt_t spt) 1161 static spt_t pt_find_word_left(spt_t spt) 1162 1162 { 1163 1163 do { … … 1168 1168 1169 1169 /** Find beginning of a word to the right of spt */ 1170 static spt_t pt_find_word_right(spt_t spt) 1170 static spt_t pt_find_word_right(spt_t spt) 1171 1171 { 1172 1172 do { … … 1176 1176 } 1177 1177 1178 static void caret_move_word_left(bool select) 1178 static void caret_move_word_left(bool select) 1179 1179 { 1180 1180 spt_t pt; … … 1184 1184 } 1185 1185 1186 static void caret_move_word_right(bool select) 1186 static void caret_move_word_right(bool select) 1187 1187 { 1188 1188 spt_t pt;
Note:
See TracChangeset
for help on using the changeset viewer.