Commit Graph

427 Commits

Author SHA1 Message Date
Pavel Sanda
7f8f613a11 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33497 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:01:33 +00:00
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Pavel Sanda
bde1274042 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33478 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:15:38 +00:00
Pavel Sanda
74c70e39cb Support revision fetching also for RCS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33477 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:05:24 +00:00
Pavel Sanda
3788adf6ce Prepare VCS part for comparison.
We probably need to enhance comparison API for external calls.

Closing the party for today.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33449 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 14:09:44 +00:00
Pavel Sanda
d1f2c9570b Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33444 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:20:37 +00:00
Pavel Sanda
e67493168f * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 08:45:19 +00:00
Pavel Sanda
c0f9fb76a8 SVN info - add author, date, time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 05:52:34 +00:00
Pavel Sanda
7875d1a9ad Tree revision info into InsetInfo. Muhehe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33431 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 02:31:58 +00:00
Pavel Sanda
4c5ba07a7a Spots from Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:13 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Jürgen Spitzmüller
707935ab23 * store the full Language in WordLangTuple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33378 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:26:49 +00:00
Pavel Sanda
30ab229986 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33323 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 05:26:08 +00:00
Pavel Sanda
55a52edb2c next doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:46:09 +00:00
Pavel Sanda
091bdc1ac2 Spotted by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33209 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:16:43 +00:00
Jürgen Spitzmüller
3a714c6057 * ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Pavel Sanda
17e2928374 Kill LFUN_OUTLINE_DRAGMOVE.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157155.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:13:24 +00:00
Jean-Marc Lasgouttes
6244d78627 fix example for notes-mutate replacement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32988 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 17:17:40 +00:00
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