Commit Graph

23576 Commits

Author SHA1 Message Date
Richard Heck
ebfb4c09ad Make the float interface for XHTML consistent with the others.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Pavel Sanda
aec9fc1c5b Next comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:27:58 +00:00
Pavel Sanda
d753f2b25a Document this hack before forgeting the purpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:15:26 +00:00
Richard Heck
40c735f4d1 Initial documentation, at least, for the XHTML-related layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:12:10 +00:00
Pavel Sanda
532ab0fb1b Some comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:51 +00:00
Pavel Sanda
9d5750e01b Fix typo spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:48 +00:00
Vincent van Ravesteijn
fc91b00bc8 *VCBackend: Code simplification, constify, and adding an article.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:02:02 +00:00
Vincent van Ravesteijn
2146ca143e * stdmenus.inc: Stick to the casing rules for "Update Local Directory From Repository".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:57:10 +00:00
Enrico Forestieri
5ea9ace195 Give the progress widget a minimum height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:39:17 +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
Enrico Forestieri
3e00591082 This workaround is also needed for Qt 4.3 as the bug was fixed in Qt 4.4.0:
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=101276


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:32:33 +00:00
Pavel Sanda
e21867818e Fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:26:52 +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
Enrico Forestieri
d555c5c7bc Really fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:19:36 +00:00
Vincent van Ravesteijn
785418bd2b Correct ugly/wrong code introduced in r32738. parent will never be equal to buf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:25:15 +00:00
Jean-Marc Lasgouttes
a6b3f1e42d avoid a few warnings on qt<=4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:20:58 +00:00
Jürgen Spitzmüller
1c18269406 * LaTeX.cpp: update comment + typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 11:46:23 +00:00
Jürgen Spitzmüller
1ccfe14914 * Add native support for \includeonly (bug 5360).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Enrico Forestieri
df2ad29d02 Fix the progress ui for Qt 4.2.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 03:22:45 +00:00
Enrico Forestieri
e46aee81c5 Fix the progress ui for Qt 4.3.x. It now compiles also with Qt 4.2.x but
the settings window needs some other adjustment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 02:19:21 +00:00
Enrico Forestieri
59f9c2f605 Fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 01:59:38 +00:00
Pavel Sanda
ce4b91c109 Next keystest patch from John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 22:11:59 +00:00
Uwe Stöhr
7d20bbeb05 EmbeddedObjects.lyx: mention the LyX bug about \includeonly, see #5360
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:55:31 +00:00
Pavel Sanda
b289fcb1bd Add some note about svn+ssh in windows envi(y)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:52:10 +00:00
Enrico Forestieri
323e033279 Make more prominent the fact that the lyxpipe path on Windows should
use a special UNC syntax.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:46:43 +00:00
Peter Kümmel
1ba707e9e7 at least compile with old Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:25:43 +00:00
Enrico Forestieri
bb0b940529 Update docs. LFUN_SERVER_GOTO_FILE_ROW doesn't fail anymore when the
tempdir path contains spaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:23:07 +00:00
Richard Heck
dea730ff24 Don't need this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:16:38 +00:00
Richard Heck
c216adead9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:13:07 +00:00
Richard Heck
175973629b Move into proper scope.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:12:54 +00:00
Richard Heck
00087d0537 A couple comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:25:12 +00:00
Richard Heck
827d0cf92e Forgot this a while back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:24:33 +00:00
Tommaso Cucinotta
78874e5f27 When zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing action.
This commit fixes such behaviour, and performs the update immediately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 18:36:13 +00:00
Tommaso Cucinotta
aabd587fef Finalized first version of Advanced Find and Replace documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:56:47 +00:00
Vincent van Ravesteijn
c22298c97b Fix bug #6387: Incorrect selectlanguage command at end of document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:36:22 +00:00
Vincent van Ravesteijn
5079badb65 Fix bug #6428: Assertion when navigating to next change while in math mode.
We need to leave the math inset before trying to access cur.paragraph().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:29:39 +00:00
Vincent van Ravesteijn
742ee134a4 Make setCursorToAnchor set the cursor to the normalized selection anchor in stead of the real anchor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 16:59:12 +00:00
Tommaso Cucinotta
fe75690c03 Let's see if we can close these translations not fitting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 15:28:43 +00:00
Abdelrazak Younes
5b70e2be8e Revert part of r32766. This was a stupid change as newer paragraph
weren't taken into account. So the paragraph id management is now going
back to Paragraph.cpp.

Sorry for the trouble.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 09:12:49 +00:00
Peter Kümmel
54975c9b53 cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 06:49:49 +00:00
Vincent van Ravesteijn
a9fd4f4f95 Fix bug #6433: read-only status is not refreshed when reloading buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 02:43:23 +00:00
Peter Kümmel
8f449c7fd3 toggle debug levels between all/selected/none
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 22:32:58 +00:00
Richard Heck
5e89a4ea90 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:59:12 +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
c5fda15678 This seems somehow to have ended up in the wrong place. I guess since
it's unimplemented, you'd get link errors, but the usual way to make it
non-copyable is to make these private AND unimplemented.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:15:36 +00:00
Richard Heck
2177259e39 Clarify some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:09:22 +00:00
Richard Heck
0fd5b1d43f Minor style things, and a little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:01:33 +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