Commit Graph

186 Commits

Author SHA1 Message Date
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
Bo Peng
7fb4a57ab9 Put bindings in defaultKeyBindings() to site.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 19:45:43 +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
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
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
Richard Heck
aa01777060 Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move to character-style-based font changes, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 18:02:39 +00:00
Richard Heck
b70b3e68d0 Whitespace fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:02:53 +00:00
Richard Heck
e8da1771f2 Introduce LFUN_MASTER_BUFFER_VIEW and UPDATE. Code by Tommaso Cucinotta.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:00:23 +00:00
Richard Heck
5a71504289 Remove shortcuts for buffer-reload, per JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18528 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-26 17:45:23 +00:00
Jean-Marc Lasgouttes
c33d6344fd remove outdated "status" file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-23 09:35:28 +00:00
Michael Schmitt
ec393ad65c * src/frontends/controllers/ControlMath.h: remove reference to
math panel dialog
	* lib/Makefile.am: do not install images/dialog-show_mathpanel.xpm
	* lib/bind/aqua.bind: remove math-panel binding
	* development/scons/scons_manifest.py: remove QMathDialog.C and
	dialog-show_mathpanel.xpm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:30:27 +00:00
Michael Schmitt
4bdc726229 * lib/bind/cua.bind: whitespace change only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-21 13:20:45 +00:00
Richard Heck
be410f19e7 Fix encoding problem with previous checkin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 17:32:59 +00:00