Commit Graph

175 Commits

Author SHA1 Message Date
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
Richard Heck
73e3e258ca [3432] Adds Ctrl-Tab and Ctrl-Shift-Tab as bindings for buffer-next and buffer-previous.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17861 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-19 16:22:21 +00:00
Michael Schmitt
3ea9bd8058 * po/de.po: better menu shortcut
* lib/bind/aqua.bind: whitespace changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:54:08 +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
Jean-Marc Lasgouttes
7dd29bb818 Move translated files to their own directory
What I did:

* move xx_foo.ext to xx/foo.ext

* update Makefile.am to make install work

* minimally update scons_manifest.py (I'd be surprised to see it
  work).

* update i18nLibFileSearch to use the new naming scheme, and keep
  temporarily some code that checks the old method.

* update image paths in .lyx files

* update name of files (examples in tutorial, for ex.) in lyx files

What is definitely broken:

* cmake (did not touch it)

* TOC files (I am not sure how the code works)

I would be surprised if nothing else was wrong. 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17343 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-25 18:12:03 +00:00
Michael Schmitt
9d7bfb32b2 * bind/fi_menus.bind:
* bind/menus.bind:
	* bind/pt_menus.bind:
	* bind/sv_menus.bind:
	* bind/de_menus.bind: remove bindings for "layout caption"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17004 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 13:25:39 +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
Michael Schmitt
1f7a1257f1 * change LFUN file-insert-ascii to file-insert-plaintext
* change LFUN file-insert-ascii-para to file-insert-plaintext-para
* change LyXRC::RC_ASCIIROFF_COMMAND to LyXRC::RC_PLAINTEXT_ROFF_COMMAND
* change LyXRC::RC_ASCII_LINELEN to LyXRC::RC_PLAINTEXT_LINELEN
* replace "ascii" by "plaintext" in method names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16697 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-15 22:49:14 +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
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
Jean-Marc Lasgouttes
79f3f377e3 * bind/menus.bind: digits may need the shift modifier (on french
kbd for example).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15830 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-09 15:45:01 +00:00