Commit Graph

155 Commits

Author SHA1 Message Date
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
Michael Schmitt
26f65e29a8 * cua.bind: bind CTRL-Y to "redo" (like most apps);
keep the CTRL-Shift-Z binding


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15774 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-06 22:05:18 +00:00
Michael Schmitt
13b48b7172 * lib/bind/aqua.bind:
* lib/ui/classic.ui:
	* lib/ui/stdmenus.ui: remove tooltips-toggle


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-14 12:36:19 +00:00
Michael Schmitt
d056d51087 revert recent change to development/FORMAT (don't change history)
drop LinuxDoc support (final part)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14823 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-23 12:55:23 +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
Michael Schmitt
1396ade8b1 fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*) 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +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
Jürgen Spitzmüller
f574a6deaf comment out obsolete bindings (bug 1161)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13257 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-19 15:13:51 +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
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
Lars Gullik Bjønnes
6a05cd6a5c couple of mac updates from Bennet Helm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10539 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-11 17:58:38 +00:00
Michael Schmitt
878e743d6d Michael Schmitt => Michael Gerz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10415 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 17:32:09 +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
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
Martin Vermeer
96cdf4a91a Georg Baum's and my math array partition lines related stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9626 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-14 14:25:18 +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
cf4269a299 use <cmd>-Tab and <cmd>-backtab as shortcuts for
buffer-next/previous (bug 1639)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9177 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-05 13:28:01 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +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
Jean-Marc Lasgouttes
705add840e fix mac bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9077 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-11 13:45:52 +00:00