Tommaso Cucinotta
fb4dfdf189
Implemented "whose words" option of the Advanced F&R feature.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 12:39:29 +00:00
Richard Heck
1a2d8e6e25
Revert r32881.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:13:48 +00:00
Vincent van Ravesteijn
907ac0c1a8
Let the background widget also dispatch the keypresses to guiApp. Now, the Alt-? shortcuts (e.g., Alt-X for the minibuffer) also works when there is no document open. Besides the code is slightly simpler.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:08:48 +00:00
Richard Heck
403dccbf23
No output for nocite citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:49:32 +00:00
Vincent van Ravesteijn
e0a6a7a542
Move some code from Buffer::loadLyXFile to LyXVC::file_not_found_hook. Accoring to the description of the latter, this should already be the case.
...
Furthermore, make sure that the read-only flag is always set to both true and false, since now the buffer can be read-only during a reload.
Last, set the buffer clean after a successful reload.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:48:36 +00:00
Richard Heck
67ddc3944c
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:46:09 +00:00
Richard Heck
fab1494f49
Output keys with bibliography, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:38:10 +00:00
Richard Heck
c90b4fcb87
Use calculated labels in XHTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:37 +00:00
Richard Heck
2098f1d8c2
Routines for calculating numerical labels for BibTeX citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:13 +00:00
Richard Heck
295b84e8fb
Fix a BibTeX caching bug. Because we only set the last modified time
...
when the cache was valid, we did not set it the first time through and
so always read the cache twice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:18:05 +00:00
Richard Heck
5214a9271c
Unnecessary whitespace is bad in XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:13:07 +00:00
Richard Heck
012be55afd
Move the collection of citations and sorting routines into BiblioInfo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:40:41 +00:00
Enrico Forestieri
9da28dca29
Add support for the newly released Cygwin 1.7.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32886 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:21:43 +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
Richard Heck
58505db819
Remove unused UI file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:54:35 +00:00
Richard Heck
eeb1c45edb
Typos etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:31 +00:00
Richard Heck
c615a2eeea
Do not reload on check-in if check-in is cancelled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:15 +00:00
Tommaso Cucinotta
95cf410456
Removed unneeded assert firing when closing LyX with F&R WA selected.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:32:25 +00:00
Tommaso Cucinotta
090435cf27
Let the LyX logo show up when closing last document with the F&R dialog open.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:29:17 +00:00
Abdelrazak Younes
cf3baab621
On the road to fix #6415 . The texrow object contains the correspondance
...
table between tex rows and the lyx paragraph ids.
Not fixed yet it seems as the texrow object do not copy correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32876 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:00:28 +00:00
Vincent van Ravesteijn
d95aaa0e5b
Move reloadBuffer from GuiView to Buffer.
...
This fixes bug #6314 : reloading master document makes emergencies of modified children.
Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e
Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00
Vincent van Ravesteijn
41270b98b4
typo ?
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 01:51:52 +00:00
Tommaso Cucinotta
3f1c690723
Prevent display of meaningless internal buffer title(s) to the user
...
(e.g., while entering text to find in the F&R WA, window title keeps
showing the filename of the document where matches are searched for).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:54:42 +00:00
Pavel Sanda
60ea64c67f
Never get this right
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:45 +00:00
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
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
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
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
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
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
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