Commit Graph

43 Commits

Author SHA1 Message Date
Scott Kostyshak
0f5589e2a1 Add outline-{up,down} to alt-{up,down} binding
Now when the cursor is in e.g. a Section layout, alt-<down>
will dispatch 'outline-down'. Before, it would dispatch a
'paragraph-down', which I think makes less sense.
2013-09-01 17:45:46 -04:00
Scott Kostyshak
3a8da38944 sciword.bind update (fix #8364)
- added bindings for 'math-delim' as a workaround
    for US keyboards with Windows
- added bindings for 'word-left' and 'word-right'
- added two more sets of bindings for 'math-subscript'
    and 'math-superscript'
- corrected some greek letter bindings
- insert is bound to 'math-mode'
- changed 'screen-recenter' binding to C-j
- added various other bindings

Thanks to Michael Stepner for many of the fixes and testing.
2013-05-31 03:16:17 -04:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
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
Uwe Stöhr
62d85c7437 sciword.bind: update the math numbering to what we have in trunk, fixes also bug 4893
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24986 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-28 20:45:01 +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
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
Bo Peng
c37b495ca0 InsetInfo: add shortcut C-S-I. (there will be no menu item, because this feature is for developers and document maintainers)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:08:30 +00:00
Richard Heck
ee40d49bea font-code --> font-typewriter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20418 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:01:53 +00:00
Michael Schmitt
6f2529e569 * lib/bind/cua.bind:
* lib/bind/sciword.bind:
	* lib/bind/mac.bind: bind "select all" to "C-a"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16955 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 22:26:50 +00:00
Georg Baum
1103be3d85 Fix thinko: default paste method for plain text
* src/lyxtext.h
	* src/text3.C
	(pasteString): Change argument to bool

	* src/text3.C
	(LyXText::dispatch): (LFUN_PASTE): Paste plain text as paragraphs,
	not as lines
	(LyXText::dispatch): Adjust to pasteString change

	* lib/bind/cua.bind:
	* lib/bind/sciword.bind:
	* lib/bind/mac.bind: Move shortcuts from "clipboard-paste paragraph"
	and "primary-selection-paste paragraph" to "primary-selection-paste"
	and "clipboard-paste", since the "paragaph" versions are used in
	LFUN_PASTE and middle-mouse-button paste. Now "primary-selection-paste"
	has the same shortcut it always had, and "clipboard-paste" has the
	shortcut that was originally assigned to
	"primary-selection-paste paragraph".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 15:33:07 +00:00
Michael Schmitt
1eecab0885 * lib/bind/cua.bind:
* lib/bind/mac.bind:
* lib/bind/sciword.bind: move the shortcut C-M-v from "primary-selection-paste" to "clipboard-paste paragraph"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 13:56:58 +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
e22e28f6d6 * lib/bind/sciword.bind: fix find&replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13437 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:56:08 +00:00
Jean-Marc Lasgouttes
80d4e59b81 fix typo in sciword bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10656 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-12 10:08:53 +00:00
Michael Schmitt
805232656b bind "paste-primary-selection (paragraph)"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10413 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 16:41:52 +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
1adfa0a402 Standand blurb for all binding files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7585 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 10:08:21 +00:00
John Levon
6075ffd88d remove greek bindings too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6603 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-28 02:51:52 +00:00
Jean-Marc Lasgouttes
a417b016a8 update sciword bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6370 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 15:36:42 +00:00
Jean-Marc Lasgouttes
61fa03aeae fix bug 662 (remove accent-vector)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5750 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-29 13:22:38 +00:00
Jean-Marc Lasgouttes
7086f52fc8 small unimportant cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4723 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 15:25:41 +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
b315c46a63 sciword binding tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4582 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-10 09:38:06 +00:00
Jean-Marc Lasgouttes
ff86a01601 remove LFUN_DEPTH; some small work on icons and menu reorganization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 11:17:46 +00:00
Dekel Tsur
f1b73c8a3b use new syntax for 'math-insert'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2500 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 13:52:40 +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
Jean-Marc Lasgouttes
0de9e656a4 tweaklets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 08:49:45 +00:00
Dekel Tsur
2e2d1db8fd include latinkeys.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2083 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-01 13:06:59 +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
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
acc7e9789e Add a bunch of c_str() for string stream uses; remove lyxfunc symbol-insert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1200 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-06 15:47:22 +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
Jean-Marc Lasgouttes
56adfabb05 Update sciword.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@909 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-20 14:15:17 +00:00
Jean-Marc Lasgouttes
654f2c761a Small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@577 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-29 15:00:16 +00:00
Lars Gullik Bjønnes
27de1486ca Initial revision
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@140 a592a061-630c-0410-9148-cb99ea01b6c8
1999-09-27 18:44:28 +00:00