mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
add shortcuts to document menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4660 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
17043b2e03
commit
5ac90688da
@ -1,3 +1,7 @@
|
||||
2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* MenuBackend.C (expand): add numeric shortcuts to document menu
|
||||
|
||||
2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* lyxfont.C (setLyXFamily):
|
||||
|
@ -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));
|
||||
}
|
||||
|
@ -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 <leeming@lyx.org>
|
||||
|
||||
Fixes needed to compile with Compaq cxx 6.3.
|
||||
|
10
status.12x
10
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user