Commit Graph

52 Commits

Author SHA1 Message Date
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Pavel Sanda
5544800152 Fix #6885. Alt+x shortcuts should be preserved for menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35669 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 17:49:21 +00:00
Vincent van Ravesteijn
f8d64b4799 Fix bug #3871: Shortcut to switch from TOC to text pane.
M-o now switches to the TOC pane, and Esc always returns from any DockView to the main window.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34293 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-26 10:03:09 +00:00
Pavel Sanda
9651724de1 Add bindings
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150999.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 00:05:51 +00:00
Jean-Marc Lasgouttes
30afece93d Kill next-inset-toggle and expand inset-toggle to provide the same functionality
* src/LyXAction.h: introduce new function attribute AtPoint: this is 
	for lfuns that should first look at cursor postion whether there
	is an inset, before dispatching to container inset.
	* src/LyXAction.cpp: remove LFUN_NEXT_INSET_TOGGLE; 
	mark LFUN_INSET_TOGGLE as AtPoint.
	* src/BufferView.cpp (dispatch, getStatus): remove handling of
	LFUN_NEXT_INSET_TOGGLE.
	* src/LyXFunc.cpp (dispatch, getStatus): handle functions marked 
	AtPoint.	
	* lib/*/*: replace next-inset-toggle with inset-toggle.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 13:49:52 +00:00
Jean-Marc Lasgouttes
420603311d fix bug 5341: http://bugzilla.lyx.org/show_bug.cgi?id=5341
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27235 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 11:30:11 +00:00
Jürgen Spitzmüller
542651b0e1 fix binding of breakable slash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26865 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 14:42:38 +00:00
Pavel Sanda
f47f4c64a5 LFUN: delete-back/forward -> char-delete-back/forward
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg140977.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 13:21:19 +00:00
Jürgen Spitzmüller
c876a2e7c7 Merge the two linebreak insets into one.
* src/Buffer.cpp:
	- file format change to 324
* development/FORMAT:
	- document file format change

* src/insets/InsetNewline.{cpp,h}:
	- the former two separate derivates are now merged into one inset
	  with proper Params and Mailer. This simplifies the structure and allows for
	  switching between the two kinds.

* src/Text3.cpp:
	- The newline insets are now being generated with 
	   newline-insert [newline|linebreak]

* src/factory.cpp:
* src/Text.cpp:
	- Newline inset is now a proper inset with opening and closing tag.

* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
	- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
	  add LFUN_NEWLINE_INSERT

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion and reversion routines for newline insets.

* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
	- adapt menu and add context menu to switch between newpage variants.

* lib/bind/*.bind:
	- adapt to new lfuns.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Jürgen Spitzmüller
1382dfe88d "hfill-insert" -> "space-insert hfill" in bind files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:25:17 +00:00
Jürgen Spitzmüller
ae8197abb9 Fix hyphenation point in bind files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23873 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-21 16:20:32 +00:00
Jürgen Spitzmüller
61e1643821 Support for \slash and \nobreakdash-
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
	- new LFUN_SPECIALCHAR_INSERT
	- nuke LFUN_HYPHENATION_POINT_INSERT, 
	  LFUN_LIGATURE_BREAK_INSERT,
	  LFUN_DOTS_INSERT,
               LFUN_END_OF_SENTENCE_PERIOD_INSERT,
	  LFUN_MENU_SEPARATOR_INSERT
	  (functions now handled as arguments of the above)

* src/insets/InsetSpecialChar.{cpp,h}:
	- implement \slash and \nobreakdash-

* src/Buffer.cpp:
	- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- reversion methods for SpecialChar \slash{} and
	  SpecialChar \nobreakdash-
* development/FORMAT:
	- document file format change

* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
	- add new SpecialChars to the menus, adapt lfuns to new scheme

* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
	- add shortcuts for new SpecialChars, adapt lfuns to new scheme

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 11:04:56 +00:00
Uwe Stöhr
12f7869ac0 support for \linebreak:
- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:34:37 +00:00
Uwe Stöhr
b170e5890e convert the remaining non-unicode bind files to Unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21763 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 13:52:46 +00:00
Dov Feldstern
b4372a37d9 Getting rid of LTR bias --- part 2/?
This is a continuation of r21128. This round fixes the "Word" movement
functions and LFUNS.

Behavior should remain unchanged by this fix.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:35:57 +00:00
Dov Feldstern
662b58497e Getting rid of LTR bias --- part 1/?
This is the first patch in a series meant to remove LTR bias from the code.
Currently, there are many places in the code where "right" and "left" are used,
but where we actually mean "forward" and "backwards" --- which is the same 
thing in LTR text, but not in RTL/Bidi text.

See full details in http://permalink.gmane.org/gmane.editors.lyx.devel/97550.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 22:18:52 +00:00
Jean-Marc Lasgouttes
1a53e1099a * src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
simpler 'keep_layout'

	* src/Text.cpp (breakParagraph): change parameter keep_layout to 
	inverse_logic.

	* src/Text3.cpp (dispatch): remove LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT;
	implement "inverse" flag to LFUN_BREAK_PARAGRAPH.

	* src/LyXAction.cpp:
	* src/insets/InsetCaption.cpp (doDispatch):
	* src/insets/InsetFlex.cpp (doDispatch):
	* src/insets/InsetTabular.cpp (doDispatch): 
	* src/insets/InsetIndex.cpp (doDispatch):
	* src/lfuns.h: remove all traces of LFUN_BREAK_PARAGRAPH_KEEP_LAYOUT.

	* lib/bind/cua.bind:
	* lib/bind/xemacs.bind: 
	* lib/bind/emacs.bind:
	* lib/bind/mac.bind: adapt bindings.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 13:17:15 +00:00
Bo Peng
6fc7d47a5f Restore old bookmark behaviors (stop using bookmark queue)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17628 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-29 03:41:55 +00:00
Bo Peng
57686e9d61 Fix bug 3062, bookmark-goto x crashes lyx for invalid bookmark
* src/session.C: check validity of temp bookmark
	* src/lyxfunc.C: check validity of bookmark in GOTO_BOOKMARK
	* lib/bind/*.bind: remove shortcuts to bookmark-save 2/3/4/5


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-07 22:41:54 +00:00
Jean-Marc Lasgouttes
54d193a0a9 update to reflect the new menu structure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14581 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 21:41:16 +00:00
Edwin Leuven
513ea10589 Adding PARAGRAPH_MOVE_UP/DOWN + key bindings:
* src/LyXAction.C
   * src/text3.C
   * src/lfuns.h
   * lib/bind/cua.bind
   * lib/bind/sciword.bind
   * lib/bind/xemacs.bind
   * lib/bind/emacs.bind
   * lib/bind/mac.bind
			


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13752 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 22:43:26 +00:00
Jean-Marc Lasgouttes
8a7ef247d8 fix bindings for quote insertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10571 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 08:39:15 +00:00
Georg Baum
7e41f0b392 s/reference-goto/label-goto/ by Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9927 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-09 18:28:30 +00:00
Georg Baum
46e21249ef increase number of default bookmarks to 5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9480 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-15 18:36:02 +00:00
Jean-Marc Lasgouttes
8b7da465d8 implement buffer-next/previous (bug 515)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9103 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-22 10:24:55 +00:00
Angus Leeming
991b0ec589 A slightly buggy lfun all-insets-toggle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
Jürgen Spitzmüller
56a3e2e1c0 add lfun 'quote-insert' arguments single/double (ERT fixes not included)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8450 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 10:32:44 +00:00
Angus Leeming
a60b5c0b72 Whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
Angus Leeming
7ec7270dae Authorship of ui files, emacs 'text' identifier for bind files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7587 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 10:37:26 +00:00
Angus Leeming
979b3c8c1e More licencing blurbs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7582 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 09:36:41 +00:00
Angus Leeming
bb01b3884c Remove 14 LFUNs; use "dialog-show <name> <data>" instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7191 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-19 16:49:45 +00:00
Angus Leeming
b3608133b0 (Juergen) the new space inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:40:57 +00:00
John Levon
db8d0b3817 Ooops, more missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6835 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-21 18:55:38 +00:00
Jean-Marc Lasgouttes
2868b724d5 small bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 09:03:32 +00:00
Jean-Marc Lasgouttes
c3c1fb8c9c add a couple of emacs bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 09:21:02 +00:00
Jean-Marc Lasgouttes
eaa7d722d5 add fig format; support entering cyrillic and greek characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4663 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 22:03:20 +00:00
Jean-Marc Lasgouttes
c3f594ced8 more cyrillic encodings; support selection via numpad
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4590 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 14:23:24 +00:00
Jean-Marc Lasgouttes
f83fcb9382 small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2301 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 10:04:17 +00:00
Jean-Marc Lasgouttes
55bf6460f3 fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
Jean-Marc Lasgouttes
b15e539c68 partial inset toggling ; insetAllowed stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2277 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 08:52:59 +00:00
Lars Gullik Bjønnes
a02eed7a3f fix some keybindings, fix dead_keys, autoregion_delete and math greek
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2023 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-23 16:15:14 +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
Jürgen Vigna
765db1102d Applied John's FileDialog patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1702 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-07 14:25:31 +00:00
Jean-Marc Lasgouttes
7d7ec758c0 math compile cleanups + add bookmarks bindings for emacs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1498 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-13 16:40:19 +00:00
Allan Rae
5b738bf81a fixed missing reference-back conversions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1452 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-07 07:34:37 +00:00
Jean-Marc Lasgouttes
b7736f5af3 Fix problem with LC_NUMERIC, more updates to bind files, fix problem with bogus actions in menus, fix problem with menu-open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1262 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-06 13:41:44 +00:00
Jean-Marc Lasgouttes
e9c7fc6da6 Patch for TOC menu by dekel, kde cleanup patch from John, plus a few things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1089 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-09 12:30:52 +00:00
Jean-Marc Lasgouttes
b9df4a9322 Export patch from Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1009 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-11 15:42:17 +00:00
Lars Gullik Bjønnes
eeaae9c355 more changes read the ChangeLog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@954 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-05 05:17:18 +00:00
Jean-Marc Lasgouttes
4b2a999762 GUI-indep toolbar and menus mostly work !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@913 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-24 13:53:19 +00:00