Skip to content

Commit

Permalink
[mms] Add keyboard shortcuts to allow a more granular scroll of the d…
Browse files Browse the repository at this point in the history
…ynamic preview pane (Request #12750).
  • Loading branch information
slusarz committed Oct 15, 2013
1 parent 2fbb0ea commit c79e0bb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions imp/docs/CHANGES
Expand Up @@ -2,6 +2,8 @@
v6.2.0-git
----------

[mms] Add keyboard shortcuts to allow a more granular scroll of the dynamic
preview pane (Request #12750).
[mms] Add a simple domain checker to the autocompleter that checks for common
misspellings.
[mms] Add country flag graphic to contact image information in dynamic view.
Expand Down
7 changes: 6 additions & 1 deletion imp/js/dimpbase.js
Expand Up @@ -2467,7 +2467,12 @@ var DimpBase = {
case Event.KEY_RIGHT:
prev = kc == Event.KEY_UP || kc == Event.KEY_LEFT;
tmp = this.viewport.getMetaData('lastrow');
if (e.shiftKey && tmp) {
if (e.altKey) {
pp = $('previewPane');
pp.scrollTop = prev
? Math.max(pp.scrollTop - 10, 0)
: Math.min(pp.scrollTop + 10, pp.getHeight());
} else if (e.shiftKey && tmp) {
row = this.viewport.createSelection('rownum', tmp.get('rownum').first() + ((prev) ? -1 : 1));
if (row.size()) {
row = row.get('dataob').first();
Expand Down
2 changes: 1 addition & 1 deletion imp/locale/en/help.xml
Expand Up @@ -871,7 +871,7 @@
<css class="kbd">PgUp</css> / <css class="kbd">PgDown</css> : Move one page up/down through the message list.
</para>
<para>
<css class="kbd">Alt</css> + <css class="kbd">PgUp</css> / <css class="kbd">PgDown</css> : Scroll up/down through the display of the previewed message.
<css class="kbd">Alt</css> + (<css class="kbd">PgUp</css> / <css class="kbd">PgDown</css> / <css class="iconImg keyupImg"></css> / <css class="iconImg keydownImg"></css>): Scroll up/down through the display of the previewed message.
</para>
<para>
<css class="kbd">Home</css> / <css class="kbd">End</css> : Move to the beginning/end of the message list.
Expand Down
1 change: 1 addition & 0 deletions imp/package.xml
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [mms] Add keyboard shortcuts to allow a more granular scroll of the dynamic preview pane (Request #12750).
* [mms] Add a simple domain checker to the autocompleter that checks for common misspellings.
* [mms] Add country flag graphic to contact image information in dynamic view.
* [mms] Address autocompleter on dynamic and basic page now uses a fancy UI.
Expand Down

0 comments on commit c79e0bb

Please sign in to comment.