Jean-Marc Lasgouttes
4c1fb15143
Make the shortcuts work correctly with the mac.
...
* src/frontends/LyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.C (print): add a forgui boolean that
tells whether the string should used localized names and special
characters.
* src/MenuBackend.C (binding):
* src/kbmap.C (print):
* src/kbsequence.C (print, printOptions): add forgui parameter.
* src/frontends/qt4/QLPopupMenu.C (addBinding): use a non-localaized
binding for Qt/Mac (because it needs to be parsed back) and a
localized one for the others (so that it looks good).
* src/kbmap.C (defkey,printbindings):
* src/lyxfunc.C (processKeySym,dispatch,viewStatusMessage): adapt to
above changes.
* src/kbmap.C (printKey): remove.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-04 17:10:24 +00:00
Jean-Marc Lasgouttes
6b55f26eb8
Convert shortcut strings to unicode (required by Qt/Mac); restore
...
shortcuts in menus on the Mac.
* src/frontends/qt4/QLPopupMenu.C (addBinding): remove special
OS X code (and hopefully restore shortcuts for LyX/Mac).
* src/lyxfunc.C (processKeySym, dispatch, sendDispatchMessage,
viewStatusMessage): adapt to changes below.
* src/MenuBackend.C (binding): adapt to changes below.
* src/kbmap.C (printKey, print, printbindings): return a
docstring; adapt to kbsequence changes.
* src/kbsequence.C (print, printOptions): return a docstring.
* src/frontends/LyXKeySym.h (print): return a docstring.
* src/frontends/qt4/QLyXKeySym.C (print): return a docstring.
(qprint): remove.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16265 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-13 14:13:01 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Lars Gullik Bjønnes
43b77ba2d7
Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14952 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-09 15:27:44 +00:00
Jean-Marc Lasgouttes
f8146681da
fix insertion of insets in non english doc; use native syntax for accellerators in lyx-qt
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8870 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-05 15:14:29 +00:00
Jean-Marc Lasgouttes
500fa5f591
display key binding in native UI style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8532 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 15:12:35 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Lars Gullik Bjønnes
495cd0eea0
more action work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7801 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-21 23:00:47 +00:00
Angus Leeming
6e4ee366a9
lyxfunc.h #included frontends/LyXKeySym.h for a typedef only. No more.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7697 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-06 20:08:10 +00:00
Angus Leeming
91de22ef34
Strip 320 #includes from the files in src.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
John Levon
54d9f7c022
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6542 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 17:15:32 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
John Levon
74c871a9fc
encodings patch + default win pos
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-05 22:38:42 +00:00
Lars Gullik Bjønnes
13349032cb
ws changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5758 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-01 22:59:25 +00:00
André Pönitz
9e42867115
remove unnneded 'using's
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4797 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 13:20:48 +00:00
Lars Gullik Bjønnes
f1c24d1009
*duck*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
6da2c4d96d
More very minor syncing ..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 03:16:41 +00:00
John Levon
97ef9131ba
static_cast-based key/mouse-state. Kill insetKeyPress.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Jean-Marc Lasgouttes
31538bd39e
change the way kbd sequences are shown in minibuffer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3625 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 14:13:01 +00:00
Lars Gullik Bjønnes
7ea7dabed1
to much stuff for my liking...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Jean-Marc Lasgouttes
8b8741cd5d
fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Jean-Marc Lasgouttes
159544464a
insertlabel.diff, kbnmod.diff, lyx_main.patch, and part of compile.patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3181 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 15:59:20 +00:00
Jean-Marc Lasgouttes
39eec46bd3
kb3 patch from John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3120 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 13:25:38 +00:00
Jean-Marc Lasgouttes
737cd9d8f3
fix parsing of keyboard sequences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3027 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-14 11:31:14 +00:00
Jean-Marc Lasgouttes
e266fd847f
more warnings go to /dev/null
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2831 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-01 15:31:59 +00:00
Jean-Marc Lasgouttes
2a275071a0
small tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:32:44 +00:00
Lars Gullik Bjønnes
f1d829a185
adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
83acbbd523
update copyright year
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Jean-Marc Lasgouttes
923c27cc11
fix ugly kbsequence parsing ; support cursor keys in numpad
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2056 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 14:16:39 +00:00
Jean-Marc Lasgouttes
d8afc7c4bb
small fixes after latin patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2001 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-16 10:36:06 +00:00
Lars Gullik Bjønnes
4820fdd44f
add bindings for latin charsets, use self-insert as intended from the beginning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2000 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-16 07:53:23 +00:00
Lars Gullik Bjønnes
4b9ed498ea
fix the deadkey bug and a patch from Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1280 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-17 06:09:35 +00:00
Lars Gullik Bjønnes
360cdc0b9f
Angus patch, + allow to set cursor color + constify more local variables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1226 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 15:46:13 +00:00
Lars Gullik Bjønnes
5349afd7b4
small things to preferences, add some const remove commented code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1221 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-17 00:07:41 +00:00
Lars Gullik Bjønnes
acb3eecb5d
update po files, use vector in kbsequence
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1219 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-15 14:53:04 +00:00
Lars Gullik Bjønnes
adaef99e60
some formatting changes some simplifications and removal of dead code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Lars Gullik Bjønnes
d6665cba42
get rid of dead code, some new functions constify variables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Lars Gullik Bjønnes
85798535a1
some using changes small changes in lyxfont and some other things, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@632 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-28 02:18:55 +00:00
Lars Gullik Bjønnes
9ce32d63e5
several small and larger changes, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@529 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-04 09:38:32 +00:00