Commit Graph

459 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
ceb50a253c get rid of notes-mutate and explain that inset-forall can do the same
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:54:33 +00:00
Vincent van Ravesteijn
b1c905264f Allow server-goto-row to act when no buffer is open. (The file argument is mandatory.) Part of bug #1782.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 13:48:05 +00:00
Pavel Sanda
76951f84fb Add comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32967 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:09:11 +00:00
Jean-Marc Lasgouttes
a00fbcd871 get rid of next-inset-modify ; inset-modify does the same now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Pavel Sanda
7cfc541c63 Move it to the context of others lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32946 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:30 +00:00
Pavel Sanda
5026c87e4c Add doxy samples from commit info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32945 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:25 +00:00
Jean-Marc Lasgouttes
b692466769 set max number of iterations to 10000 in inset-forall ; try to keep the cursor where it was (I am not sure that the effect of fixIfBroken seems natural though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 15:57:25 +00:00
Pavel Sanda
346da75166 LFuns generation is currently sensitive to tabs in the descriptions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:37:38 +00:00
Jean-Marc Lasgouttes
f2e6a5ecf8 Implement new inset-forall lfun. This function iterates over all insets in
current buffer and applies a given function at cursor position before the 
inset. It is actually possible to filter on the type of inset.


Remove all index insets:
inset-forall Index delete-char-forward

Remove all (!!) insets:
inset-forall * delete-char-forward

Close all Notes (also works for a particular branch, for example)
inset-forall Note inset-toggle close

Close only yellow sticky notes
inset-forall Note:Note inset-toggle close

Of course, things may become weird:
Put LyX in an infinite loop if there is at least a Note
inset-forall Note char-backward

In this case, the code will stop after 1000 iterations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:47:58 +00:00
Richard Heck
c5b06d46bf Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:24:44 +00:00
Richard Heck
3efb4cd65e Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:18:55 +00:00
Richard Heck
83b3e02f69 Minor renaming. We don't have any other iterators here, so
const_iterator is fine.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32778 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:00:05 +00:00
Richard Heck
787b9eee3b Style. Enum names and typedefs are almost always CamelCase in the LyX
code. At least in the code I see.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32777 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 20:56:37 +00:00
Richard Heck
3eaefc6b1a Fix some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 20:48:12 +00:00
Pavel Sanda
0aa20c9ace Next whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:11:58 +00:00
Pavel Sanda
a4231446d2 RCS read-only toggling also doesn't work correctly for a long time.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156626.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:07:22 +00:00
Pavel Sanda
7384d3dd35 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 16:06:36 +00:00
Pavel Sanda
ebca4a0809 Next step to the world domination.
Introduce LFUN_DEBUG_LEVEL_SET.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 15:59:25 +00:00
Jean-Marc Lasgouttes
8bab525eda revert unintented patch part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32621 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:29:13 +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
10e4c1aa7c * LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-30 15:14:23 +00:00
Vincent van Ravesteijn
6e8312d1a4 Move (part of) LFUN_DISSOLVE_INSET into InsetText.
- put the InsetFlex specific part into InsetFlex,
- honor the argument given to the LFUN also for normal Insets as the description already stated,
- fix bug #6285: context menu action goes to the wrong inset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31756 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 23:49:43 +00:00
Vincent van Ravesteijn
d4be6cf24c Adds the user interface for the new Comparison feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 15:47:05 +00:00
Pavel Sanda
d4bf62b417 Fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:27:12 +00:00
Pavel Sanda
4257aa5e7f Make updating less dangerous, see comments in #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31615 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:18:06 +00:00
Pavel Sanda
4f0957c819 Bug #6255 - Update linked files with version control
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 23:20:52 +00:00
Abdelrazak Younes
d5d3ccc0fa Introduce a new LyXAction property 'NoInternal' to take care of LFUNs that should not be applied to internal Buffers and use that in BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 12:36:22 +00:00
Tommaso Cucinotta
ab06049950 Advanced Find and Replace turned to a NoBuffer dialog (however, it keeps being disabled if no buffer is open, needs fix).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31202 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:09:44 +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
Vincent van Ravesteijn
770aa71839 Fix bug #6134: Reload context menu for graphics inset.
This shouldn't be necessary, but sometimes it is.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31014 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 17:21:59 +00:00
Vincent van Ravesteijn
187e7e197a Fix typo for r30882.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30883 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:20:34 +00:00
Vincent van Ravesteijn
97efae2561 Fix bug #740: Wish for added menu item: File->Close all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:17:16 +00:00
Pavel Sanda
091e3908b0 Kill LFUN_PARAGRAPH_SPACING in favour of LFUN_PARAGRAPH_PARAMS.
We don't want duplicit code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:55:23 +00:00
Pavel Sanda
c99d41c001 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30635 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:17:49 +00:00
Vincent van Ravesteijn
466b09b006 * LyXAction.cpp: doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30633 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 18:58:47 +00:00
Richard Heck
19efc7df45 Update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30607 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-15 16:27:22 +00:00
Uwe Stöhr
802067ecdc support for matrix decoration in the MathMatrix dialog;
introduces a new LFUN and fixes #4620

This can in principle also go to branch when new LFUNs are there allowed, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:39:21 +00:00
Uwe Stöhr
424943af89 - support for longtable alignment, fileformat change
- GUI support for table alignment

(all comments to the polished layout of the table dialog welcome)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Pavel Sanda
edb52c37d2 Add LFUN_BRANCH_ADD_INSERT.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152890.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:38:31 +00:00
Pavel Sanda
75659b3db4 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 19:06:10 +00:00
Jürgen Spitzmüller
5fdd2daa9c * Add ability to rename branches (bug 4128).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Jürgen Spitzmüller
17986e7509 Ease the pain with unknown branches:
* on paste, ask if unknown branches shall be added to the branch list
	  (entails new LFUN_BRANCH_ADD)
	* add a list of undefined branches to the buffer and the GUI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 09:48:34 +00:00
Pavel Sanda
78bea31ea8 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 15:59:48 +00:00
Abdelrazak Younes
b8e5440bef LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argument. This is to allow replacement of current word even if it is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30360 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:02:27 +00:00
Jürgen Spitzmüller
3a16b6dbf7 Implement LFUN_OUTLINE_DRAGMOVE.
Contribution by Rob Oakes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30278 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 08:40:34 +00:00
Pavel Sanda
7355a53a73 Guify setting of svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 14:48:11 +00:00
Enrico Forestieri
5415144621 Fix bug #6033: Initial character sometimes eaten by math-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30246 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 18:01:31 +00:00
Pavel Sanda
f1ced7a6ff * doxy - clarify math-mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-31 11:09:51 +00:00
Jürgen Spitzmüller
ec560a77e4 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29780 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:31:37 +00:00
Jürgen Spitzmüller
e9cbe2f80f A GUI for nomencl settings. Adds the possibility to enter a custom length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:26:15 +00:00
Vincent van Ravesteijn
571dc3626b * LFUN_LABEL_COPY_AS_REF: Update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29763 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 10:39:40 +00:00
Pavel Sanda
7a69145296 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29747 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 15:15:48 +00:00
Uwe Stöhr
df13e1b8ba LyXAction.cpp: sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 23:13:51 +00:00
Pavel Sanda
5c65948e64 next bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:53:56 +00:00
Pavel Sanda
575995efb7 make entries consistent with other ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:16:22 +00:00
Pavel Sanda
359e65315b Next glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29699 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 23:53:35 +00:00
Pavel Sanda
118bc4aa29 Glitch spotted by Ewan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29697 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 23:19:33 +00:00
Pavel Sanda
7422dbf1bb Make the usage of slashes more consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29695 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 16:51:18 +00:00
Vincent van Ravesteijn
a8682e3f5f Forgot these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29682 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:15:30 +00:00
Vincent van Ravesteijn
8996be1208 Restore Object.Event order for:
- LFUN_LABEL_COPY_AS_REF,
- LFUN_LABEL_INSERT_AS_REF.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29680 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:05:19 +00:00
Pavel Sanda
831b74c236 Unify whitespacing for generation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29677 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 17:08:15 +00:00
Pavel Sanda
47cefe424d Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29676 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 15:42:45 +00:00
Vincent van Ravesteijn
986db7cae1 * LyXAction.cpp: doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29674 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:48:26 +00:00
Pavel Sanda
812f41a384 Even more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:51:11 +00:00
Pavel Sanda
3858052bd0 Add missing entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:50:12 +00:00
Vincent van Ravesteijn
7ed6d9c3f1 Compile fix & whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:43:01 +00:00
Uwe Stöhr
152b32684d GuiView.cpp, LyXAction.cpp: sort entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:37:18 +00:00
Pavel Sanda
6fde8f8067 Introduce double underline and wavy underline styles from ulem
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150803.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:28 +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
Vincent van Ravesteijn
0da78f8bbd Introduce new LFUN_SECTION_SELECT. When this lfun is called and the cursor is in a section heading, the whole section is selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 18:58:00 +00:00
Vincent van Ravesteijn
c7a09888a1 Add the emf and wmf graphics format as parameters to LFUN_PASTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 11:22:01 +00:00
Pavel Sanda
d56fc2784a * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:51:19 +00:00
Pavel Sanda
85eaa03492 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 09:11:48 +00:00
Pavel Sanda
a329ab84a6 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 08:39:18 +00:00
Jürgen Spitzmüller
d12426a340 New inset dialog for InsetPrintIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97 New inset dialog for InsetIndex (only used with multiple indices)..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Vincent van Ravesteijn
ff294eb173 Update RELEASE-NOTES and LFUN documentation for the changes in LFUN_INSET_TOGGLE and LFUN_INSET_SETTINGS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 21:41:07 +00:00
Vincent van Ravesteijn
586afc2a4c * LyXAction.cpp: doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29247 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 17:14:48 +00:00
Vincent van Ravesteijn
f71a2f708e Show inset-toggle in the ShortCuts dialog. (Why was this Hidden ?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:07:54 +00:00
Vincent van Ravesteijn
2d40854a46 Move handling of LFUN_INSET_SETTINGS to Inset.cpp
* Inset
Handle LFUN_INSET_SETTINGS.

* LyXAction
Use the AtPoint command flag.

* BufferView
* Text3
Remove code that handled LFUN_INSET_SETTINGS. The inset/next-inset part is handled by the AtPoint lfun flag. showInsetDialog is called by Inset::doDispatch and getStatus will be handled by all insets themselves.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 23:17:20 +00:00
Vincent van Ravesteijn
df3cddcd37 Add "Insert label as reference" to the context menu of the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 22:03:28 +00:00
Jürgen Spitzmüller
7537a461f5 * LyXAction.cpp: update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 08:49:48 +00:00
Vincent van Ravesteijn
03671821d3 Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button.
Add LFUN_CHANGE_PREVIOUS.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29109 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 19:14:37 +00:00
Vincent van Ravesteijn
12ba68f6ef * LyXAction.cpp: Document the optional parameter of LFUN_BUFFER_ZOOM_IN/OUT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29081 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 10:26:51 +00:00
Vincent van Ravesteijn
6b5ce8a999 Fix bug #3038: wish for lfuns for zoom-in and zoom-out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 09:14:38 +00:00
Jean-Marc Lasgouttes
6c422712e1 Extend the branch-(de)activate functions to work without a parameter. In
this case, when the cursor is on a branch inset (using the AtPoint mechanism)
the branch to which the branch inset belongs will be (de)activated.

This functionality can now be used through the branch inset context menu



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 09:38:07 +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
Uwe Stöhr
acb9214dee LyXAction.cpp: fix documentation bug: add-vline-left/right is not allowed for the cases environments and we already correctly check this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28952 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 01:36:26 +00:00
Pavel Sanda
cfb86427df * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28922 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 13:31:16 +00:00
Vincent van Ravesteijn
b0d53e3250 Fix bug 5526: screen-recenter LFUN doesn't work
http://bugzilla.lyx.org/show_bug.cgi?id=5526

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28916 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 00:09:16 +00:00
Pavel Sanda
3f299e466b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28854 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:29:45 +00:00
Pavel Sanda
7112e9bbdb * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28821 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:50:18 +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
d1a00c53b3 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28752 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-11 11:58:16 +00:00
Pavel Sanda
5d2456ad90 Add dbg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 00:06:20 +00:00
Pavel Sanda
9874a917df * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28613 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-25 23:46:55 +00:00
Pavel Sanda
9212d03426 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 14:00:03 +00:00
Pavel Sanda
93ea6ec214 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28479 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-13 13:58:49 +00:00
Uwe Stöhr
8a0d98e67e - stdmenus.inc: Phantom can contain other things as well, not only text
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)

The Phantom feature should now be complete. Thanks to all who contributed and helped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00