Commit Graph

71 Commits

Author SHA1 Message Date
Pavel Sanda
54352badaf * Doxy add.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 19:23:08 +00:00
Pavel Sanda
c2e397cdee Add LFUN_MENUBAR_TOGGLE and LFUN_STATUSBAR_TOGGLE.
This partly solves the bug http://bugzilla.lyx.org/show_bug.cgi?id=4146 .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22809 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 17:54:04 +00:00
Pavel Sanda
1ccb7f1f8b * Doxy.
(I am not a nit-pick, but my scripts are.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22774 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 19:17:31 +00:00
Pavel Sanda
e417336bb2 * Doxy: polish html output #2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 14:00:18 +00:00
Pavel Sanda
6b651f2ad9 * Doxy: polish html output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22767 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 13:10:53 +00:00
Pavel Sanda
caaf430aec * Doxy tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22766 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 12:40:19 +00:00
Pavel Sanda
8830667e70 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22754 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-02 23:40:11 +00:00
Pavel Sanda
65ba33308e * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 17:03:55 +00:00
Pavel Sanda
18ee04ae44 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22732 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-01 00:03:19 +00:00
Pavel Sanda
38a05d5ee3 * Doxy: Unify style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22731 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-31 23:41:19 +00:00
Dov Feldstern
796092635f Doxy for some cursor movement lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-31 22:42:24 +00:00
Pavel Sanda
997e6c6018 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22724 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 23:23:40 +00:00
Pavel Sanda
bb84c5b38c * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-28 22:31:30 +00:00
Pavel Sanda
a0cf89394c * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 20:43:26 +00:00
Pavel Sanda
8c9342ca29 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 00:43:49 +00:00
Pavel Sanda
0caadfe9d1 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-16 02:45:07 +00:00
Pavel Sanda
6279be2e32 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 22:53:30 +00:00
Pavel Sanda
2baffdb590 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-15 14:16:23 +00:00
Pavel Sanda
57587d80d6 * Doxy: fix \vars
(Beware: syntax needs \var lyx::kb_action lyx::LFUN_ after move to .cpp)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 23:01:36 +00:00
Pavel Sanda
be309904a8 * Doxy: lets generate hyperlinks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:45:03 +00:00
Richard Heck
821ef81154 A little more lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22568 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:43:05 +00:00
Richard Heck
1583929922 A little more easy lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22565 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:22:07 +00:00
Bernhard Roider
2714d1b8b9 Doxy for LFUN_CALL again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22564 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:20:35 +00:00
Richard Heck
ab6fcd9be5 Some easy lfun doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 22:02:59 +00:00
Richard Heck
afa6389644 A little more explanation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:49:01 +00:00
Pavel Sanda
73f97fa124 * Doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:46:20 +00:00
Bernhard Roider
29d74c47a8 Add lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22556 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 19:37:52 +00:00
Pavel Sanda
25c7910e87 Add lfuns doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22555 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 18:53:10 +00:00
Pavel Sanda
ddff76fd8b Let doxygen recognize us
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22513 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:50:33 +00:00
Pavel Sanda
f78f28f4fc Move all doxy stuff to LyXAction.cpp, so that touching dox won't imply full recompile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22511 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 11:33:03 +00:00
Pavel Sanda
4adf77cf7d Synchronize lfun thematical ordering and func_type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22499 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 00:22:15 +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
Pavel Sanda
ac4b0dd692 Start of lfun reordering
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:46:12 +00:00
Pavel Sanda
871b6a7245 Preparing for lfun doxy movement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 12:43:50 +00:00
Pavel Sanda
922aa7b1e8 Add characters counting.
Introduce LFUN_STATISTICS.
see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg134033.html .


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22433 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-08 15:18:00 +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
Stefan Schimanski
4267ad00cd * math macro toolbar can be made automatic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-23 00:47:37 +00:00
Bernhard Roider
ce30b3a667 Correct func_type for LFUN_MATH_INSERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22133 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 20:18:51 +00:00
Abdelrazak Younes
b89cc942eb 'using namespace lyx::support' instead of 'using support::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +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
André Pönitz
9d0ea8aeff Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
André Pönitz
150cf11651 hand-crafted LyXErr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-28 22:12:03 +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
97aa558cac support for \pagebreak:
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +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
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
b89d3f2cc2 Embedding: add LFUN_BUFFER_TOGGLE_EMBEDDING
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 20:06:44 +00:00
Bernhard Roider
1a77c867a2 CmdDef.cpp/h: A class that manages command definitions. The definitions are
by default read from lib/commands/default.def 
              A .def file allows to define a command with
              \define "Name" "lfun"
              where Name is the name of the new command and lfun is the code
              to be executed.
              \def_file "FileName"
              allows to include another .def file.
              The implementation of CmdDef is similar to KeyMap, i.e. there is 
              one instance created in the LyX.cpp that reads the .def file, holds 
              a list containing all definitions, and supplies access methods.


LFUN_CALL:    The new lfun is used to execute a command definition, e.g.
              call Name

If a toolbar item has the associated action "call Name" then the image 
lib/images/commands/Name.png is used for the button.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00