Commit Graph

300 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
0db513c4d6 Make case-changing lfuns operate on full words by default
This is for people who cannot grasp the superior conventions of emacs ;)

A new argument "partial" has been added to word-upcase, word-lowcase
and word-capitalize that restores the old emacs-like behavior.

The (x)emacs bindings are updated to use the "partial" argument, and
also to bind correctly M-u and M-l (M-c is unfortunately not
available).

Fixes bug #2826.
2015-06-03 09:30:28 +02:00
Uwe Stöhr
348bc1c5b5 cua.bind: replace problematic Alt+Ctrl shortcuts
fixes bug #9057
2015-05-28 01:31:54 +02:00
Richard Heck
3c2b3e6907 Remove printing support from LyX.
This was bug #6747.
2015-05-27 18:13:08 -04:00
Scott Kostyshak
613cd431c9 Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"
This reverts commit bede4d320b.

As JMarc notes [1], if we replaced show with toggle, we would lose some
functionality:

  There is one use that is not possible with this change (as I argued
  before), which is a fully keyboard-based navigation.

  With LyX 2.1, I can do C-M-o and navigate with cursor in the
  outline. I can do the same with advanced S&R. IN this sense,
  toggling is a step back IMO.

The plan now is to find another way to close the dialog (without
using toggle), such as having ESC close it or another key bind.

Ticket #8388 will stay closed because 'show' and 'toggle' are too
close for the cost of having two separate bindings.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187693.html
2015-05-21 08:05:36 -04:00
Scott Kostyshak
bede4d320b toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)
Toggling is more intuitive for this dialog.
2015-05-21 00:59:08 -04:00
Scott Kostyshak
27b8b06879 In aqua.bind replace an LFUN with one that exists
'menu-separator-insert' does not exist.
'specialchar-insert menu-separator' does exist.
2015-05-19 23:32:21 -04:00
Stephan Witt
e34e1e5581 #5502 correct short cut for toggle fullscreen - usually it is Control-Command-F on Mac; whitespace 2015-05-12 21:53:07 +02:00
Stephan Witt
68ee68103a #5502 add binding for full screen toggle on mac 2015-05-05 22:05:46 +02:00
Uwe Stöhr
fc42fe4ff4 cua.bind: switch shortcuts for bold and boldsymbol
fixes bug #9413
2015-04-17 01:18:56 +02:00
Kornel Benko
68ad0bfb90 emacs.bind: Added shortcuts for dictionaries 2015-04-14 10:51:39 +02:00
Scott Kostyshak
6cf81782dd Implement and bind buffer-move-{next,previous}
Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.
2015-04-08 14:12:52 -04:00
Kornel Benko
ecdeffb52b Added inset-select-all to emacs bindings
In emacs this shortcut means: Make region contain the current paragraph
2015-01-22 10:34:02 +01:00
Scott Kostyshak
4eb4cbb04f C-a is now bound to inset-select-all
C-M-a is bound to the global "select all". The
reason for this change is that selecting an inset
is a more common operation that selecting an entire
document.

This patch is the result of discussion on #7727.
2014-11-20 03:07:32 -05:00
Vincent van Ravesteijn
d4ac337f0b Update bindfiles to latest fileformat 2014-03-20 22:11:13 +01:00
Uwe Stöhr
560ca9aba3 cua.bind, math.bind: whitespace fixes: use consistently tabulators 2014-02-16 18:50:27 +01:00
Juergen Spitzmueller
ea8248fc13 Fix key bindings for math space (#8974) 2014-02-15 10:02:44 +01:00
Kornel Benko
68d3688421 Added emacs bindings for window-{new,close} functions 2014-01-27 12:52:31 +01:00
Juergen Spitzmueller
5a3f1a731f Extend environment-split to an 'outer' split function
This fixes a major beamer UI flaw reported by several users.
2014-01-27 08:01:24 +01:00
Stephan Witt
f768aadc88 add Option-Tab resp. Option-Shift-Tab for buffer-next/previous because Control-Tab doesn't work anymore 2013-09-27 19:53:58 +02:00
Juergen Spitzmueller
8df9b24896 Add bindings for argument-insert 2013-09-07 11:11:11 +02:00
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
Kornel Benko
e8a5b25bf5 Added findreplaceadv dialog to emacs and xemacs bindigs 2013-01-11 18:54:19 +01:00
Pavel Sanda
541828ebf5 Another witch hunting case: break-paragraph -> paragraph-break. 2012-09-29 18:06:42 +02:00
Kornel Benko
d855fb759d Emacs.bind:
Changed, since view-close(lyx) looks more like delete-window(emacs)
2012-09-29 14:08:36 +02:00
Kornel Benko
e70b3ff726 Use view-close also in emacs.bind 2012-09-29 13:01:18 +02:00
Tommaso Cucinotta
4985015e89 Now LyX closes the current document WA only by default (other WAs remain open).
If the WA is the last one showing a buffer, then the buffer may either be
closed or kept hidden, or the user is asked. The behaviour is controlled
by a new preference option.
For discussion, see http://comments.gmane.org/gmane.editors.lyx.devel/142638
2012-09-28 23:12:38 +01:00
Stephan Witt
159108786d Fix bug #8129: add zoom-in binding for Cmd-plus for US-keyboards 2012-07-27 11:59:44 +02:00
Stephan Witt
c0bbc020a5 #7894 explain the status column of mac bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 21:55:18 +00:00
Jürgen Spitzmüller
014a1a36ed revive Ctrl-space in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39649 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-10 05:35:54 +00:00
Pavel Sanda
0c1a8fd4f2 Move unmaintained bindings to attic
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg166533.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38007 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:28:55 +00:00
Pavel Sanda
e966a492ae Note from Bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37980 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-21 00:46:15 +00:00
Stephan Witt
306cb190c8 #7292 LyX is able to transpose chars - add it to mac.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37806 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 16:12:59 +00:00
Stephan Witt
14bf8c4c3a #7292 correct word-delete-forward/backward and change special spaces binding - thanks, bennett
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37775 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 17:09:31 +00:00
Stephan Witt
e9d943aeb8 #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37770 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:30:41 +00:00
Stephan Witt
b0771e2364 #5258 synchronize pdf-preview key binding of mac.bind with cua.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37748 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-21 06:42:03 +00:00
Pavel Sanda
13bb781dcd Give new shortcut for default viewing.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165590.html

Closing #5258.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37666 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-14 20:31:46 +00: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
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
Pavel Sanda
26fd6d51f1 Ten years old leftover.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35668 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-17 17:49:20 +00:00
Stephan Witt
4f4d32da4b change key-bindings to support cmd-plus/minus text size adjust on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:38:26 +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
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Jean-Marc Lasgouttes
e5376bd800 another bad binding related to ticket #6416 (see r32619)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:27:43 +00:00
Vincent van Ravesteijn
7e7f519293 Fix bug #6416: Error in mac.bind: end-of-sentence-period.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 13:18:36 +00:00
Tommaso Cucinotta
76db6e2cc3 Reverting to previous behaviour (c-S-f shows advanced search dialog). It is more usable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 21:17:29 +00:00
Pavel Sanda
29363b4920 For some reason our shortcut ui is ignore-case while bind settings
are case sensitive as far as BackTab is concerned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31369 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-11 12:23:29 +00:00
Tommaso Cucinotta
a13b633c0f Fix visualization of keyboard short-cut in Edit menu for toggling Advanced Find and Replace panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31354 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 22:11:13 +00:00
Pavel Sanda
6a2462f0a7 Fix bug #6194.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31353 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 19:52:39 +00:00
Vincent van Ravesteijn
c11f031df6 Fix bug #5991: Select function in environments.
C-M-a now selects the contents of an inset, if the whole inset is already selected, it will jump out the inset and selects everything in that inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 14:44:08 +00:00
Pavel Sanda
ea758c3932 Next bits for Extended -> Additional
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 09:14:23 +00:00
Jean-Marc Lasgouttes
24dbfa13fa mac bindings for inset-begin/end
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 13:10:22 +00:00
Pavel Sanda
e3e11d5d39 Update MAC bindings
Patch from Bennett


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29631 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 12:15:36 +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
Pavel Sanda
583b7725a1 Complete character style menu bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29620 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 23:35:30 +00:00
Pavel Sanda
381b86788d Introduce strikeout text style (strike-through)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150743.html

Somewhat related to http://www.lyx.org/trac/ticket/4248 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:45:14 +00:00
Pavel Sanda
2e7704b37b tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 08:46:34 +00:00
Pavel Sanda
ab653a003c Resurrect M-a binding for paragraph settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29278 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 08:08:58 +00:00
Vincent van Ravesteijn
98dcf2c2c4 Bind M-plus(M-equal) and M-minus to buffer-zoom-in/out.
If someone knows how to do this better..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29208 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 14:26:47 +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
c7a08d57ce implement new lfuns inset-begin/end and their -select versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 13:33:27 +00:00
Pavel Sanda
b74d910ffe AdvSearch - regexps fix.
Patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147090.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 21:49:56 +00:00
Abdelrazak Younes
deef2728c7 The rest of Tommaso patch with some cleanups. Not very clean still but at least it compiles!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27525 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 01:20:34 +00:00
Pavel Sanda
1048d14341 Spot by Anders.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27337 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 10:55:59 +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
Stefan Schimanski
bb55f5dfb3 * bind math-macro-unfold to C-minus via command-alternatives in math mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27030 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 22:33:26 +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
Uwe Stöhr
586d4b7452 German menus.bind: fix whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26846 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 20:49:30 +00:00
Pavel Sanda
4006e089c9 let the sun shine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:55:08 +00:00
Abdelrazak Younes
31398779f8 Add tab/backtab for outline-in/out sections.
very cool stuff!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 07:54:52 +00:00
Pavel Sanda
10a1b9987d Following JMarc idea - add tab/backtab for depth changes inside enumerate-like environment.
This command-alternatives is really cool stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26554 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 21:31:00 +00:00
Richard Heck
61812bdda1 Well, we've agreed on this binding. We could still use one for complete,
but, Jose, this is enough for rc3.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 15:31:41 +00:00
Richard Heck
577fbec1dd Revert unintentional commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26522 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 17:24:37 +00:00
Richard Heck
adbde70cf1 Sorry, again, Uwe! This just adds a short remark about custom-bib to the end of the third paragraph of section 6.5.2. Meant to do that before....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26521 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 17:21:12 +00:00
Uwe Stöhr
8efc63752d - Math.lyx: - update math bold description to the new shortcuts
- new section about colored formulas
- menus.bind: update shortcut Alt-c b according to the discussed new handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26482 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:09:38 +00:00
Pavel Sanda
d36e010fdf Patch from Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-17 21:28:57 +00:00
Enrico Forestieri
3e55de70dd Introduce LFUN_FONT_BOLDSYMBOL, performing the same as LFUN_FONT_BOLD
except when in math mode, where \boldsymbol is used instead of \mathbf.
Restore the previous binding of Ctrl-B and make sure that LFUN_FONT_BOLDSYMBOL,
now bound to Ctrl-Alt-B, can be toggled.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26418 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 16:49:11 +00:00
Pavel Sanda
551f32859d Leftovers from http://www.lyx.org/trac/changeset/22496 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25443 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:09:22 +00:00
Pavel Sanda
aeec42c050 Leftovers from error-next removal. Some manuals still have references.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25180 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-07 01:57:07 +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
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
8479e06b54 * math.bind:
- comment out already taken accelerator (bug 4880). 
	  Stefan, please select an unused one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 10:11:07 +00:00
Richard Heck
02eb8d0b78 Fix an unintentional problem.
Generally speaking, these hints aren't terribly useful. Just having a list of umpteen possible next keys with no indication what any of them do is, well, as I said, not terribly useful. But I don't have a better idea, unless we can somehow do tooltips off the status bar.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 16:27:08 +00:00
Pavel Sanda
d450553e6a Add shortcut for find-next.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23985 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 19:39:53 +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
Enrico Forestieri
ba496b94ac Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol
through the bm package.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 14:33:16 +00:00
Pavel Sanda
72b270ab4b Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut

Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html ) 
- Toolbars visibility is shared between windows (views)
  (needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
  (i.e. margins and tabbar get visible)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 21:51:55 +00:00
Pavel Sanda
c62ae14283 Keyboard shortcuts for TOC window buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22727 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-31 19:48:48 +00:00
Abdelrazak Younes
1fe3f59886 Fix Ctrl-Tab binding for 'buffer-next'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-18 08:15:51 +00:00
Uwe Stöhr
33c95fc07b rename LFUNs math-nonumber and math-number to what they really do,
fixes bug 2608

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 22:45:19 +00:00
Uwe Stöhr
4ebf254f5f add shortcut for creating numbered formulas (we already have a menu entry for this)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 13:08:15 +00:00
Abdelrazak Younes
5587709f0e Introduce LFUN_SCROLL.
Santa-clauss.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-27 11:37:07 +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
Uwe Stöhr
9170e69786 convert bind files to Unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21756 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 00:47:29 +00:00
Stefan Schimanski
2ad61c0366 * LFUNs for math macros and menu integration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:08:04 +00:00