X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.cpp;h=3a91f50dad4e4178cf308aa88c1a40c603559a68;hb=7286d604956ddffcbfa2df6567de866f3d5df3a2;hp=6554f7cb1b5ada9e52cf6cad423baedc9f30337d;hpb=2aa99730d8c3106deeac1186e057055604835752;p=libs%2Fgltk.git diff --git a/source/entry.cpp b/source/entry.cpp index 6554f7c..3a91f50 100644 --- a/source/entry.cpp +++ b/source/entry.cpp @@ -298,6 +298,18 @@ bool Entry::key_press(unsigned key, unsigned mod) text.offset_to_coords(edit_pos, row, col); set_edit_position(text.coords_to_offset(row, 0), mod==MOD_SHIFT); } + else if(key==Input::KEY_PGUP) + { + unsigned row, col; + text.offset_to_coords(edit_pos, row, col); + set_edit_position(text.coords_to_offset((row