diff --git a/src/ChangeLog b/src/ChangeLog index 1864f9ed74..fc00a52cec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-07-16 Jean-Marc Lasgouttes + + * MenuBackend.C (expand): add numeric shortcuts to document menu + 2002-07-15 Jean-Marc Lasgouttes * lyxfont.C (setLyXFamily): diff --git a/src/MenuBackend.C b/src/MenuBackend.C index 16ab82f30c..0bb7f4c975 100644 --- a/src/MenuBackend.C +++ b/src/MenuBackend.C @@ -296,14 +296,17 @@ void Menu::expand(Menu & tomenu, Buffer * buf) const break; } + int ii = 1; Strings::const_iterator docit = names.begin(); Strings::const_iterator end = names.end(); - for (; docit != end ; ++docit) { + for (; docit != end; ++docit, ++ii) { int const action = lyxaction .getPseudoAction(LFUN_SWITCHBUFFER, *docit); - string const label = - MakeDisplayPath(*docit, 30); + string label = MakeDisplayPath(*docit, 30); + if (ii < 10) + label = tostr(ii) + ". " + + label + '|' + tostr(ii); tomenu.add(MenuItem(MenuItem::Command, label, action)); } diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 4a8b00178f..598264d1d2 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -3,6 +3,8 @@ * filetools.C (IsLyXFilename): (IsSGMLFilename): use ascii_lowercase instead of lowercase + * lstrings.[Ch] (ascii_lowercase): new function + 2002-06-13 Angus Leeming Fixes needed to compile with Compaq cxx 6.3. diff --git a/status.12x b/status.12x index a7e8e0d408..5a2f01c61d 100644 --- a/status.12x +++ b/status.12x @@ -27,13 +27,19 @@ What's new - update finnish, danish, french and russian localizations -- update Tutorial to be more up to date +- update Tutorial to 1.2.x features - better support for entering cyrillic and greek alphabets +- cleanup shortcuts for section layouts. Starred versions are now + obtained by prepending a * to the section number (M-p asterisk 0, ..., + M-p asterisk 6) + +- add keyboard shortcuts to the Documents menu + - support the numpad direction keys as equivalent to normal cursor keys -- update template for IEEEtran; update hebrew article class +- update template for IEEEtran; small update to hebrew article class ** Bugfixes