Tommaso Cucinotta
bc9e5607fb
After replacing with multi-cell contents, now advanced find and replace leaves the cursor after the inserted material.
...
Addressing http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169981.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39266 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 00:19:11 +00:00
Richard Heck
2514bb04c1
Fix bug #7656 .
...
I don't think we need to record anything yet, since we are not changing
anything here. The dialog will call a new LFUN to do the change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-07 19:48:50 +00:00
Abdelrazak Younes
2a01208cae
addendum to r39250: I forgot about math labels. This fixes it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39251 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-06 18:52:56 +00:00
Abdelrazak Younes
f9e9956169
Split InsetLabel::updateCommand() into:
...
* uniqueLabel(docstring & label) to enforce label unicity
* updateLabel() to update only the label.
* InsetLabel::updateLabelAndRefs() to update label & refs
* InsetLabel::updateReferences() to update the references
This fixes bug #7655
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-06 17:40:51 +00:00
Richard Heck
6875550973
Fix bug #7664 . Forgot to deal with included files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39242 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-03 20:59:03 +00:00
Pavel Sanda
d958d89b35
VCS: RCS implementation for date and author insetinfo was missing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39231 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-02 13:08:36 +00:00
Pavel Sanda
c5220d3945
VCS: copy-paste error, these functions return bool.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39228 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-02 11:43:51 +00:00
Stephan Witt
7252ebbb34
#7661 check buffer of cursors before using compare operator to avoid a crash
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39227 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-02 10:41:36 +00:00
Richard Heck
07ca26fa27
Clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39220 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-30 02:17:49 +00:00
Richard Heck
dfc2a2792e
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-30 02:16:34 +00:00
Richard Heck
485cfe2b72
Add a sanity check to prevent the crash noted in #7654 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 14:22:04 +00:00
Richard Heck
6e68683dbf
Easy fix for mark dirty part of #7655 . Also adds a simple check to
...
see if the label has changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39211 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-29 13:42:55 +00:00
Enrico Forestieri
5e534a7d84
Fix bug #7645 (stream encoding not properly reset after a float)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 16:21:03 +00:00
Jean-Marc Lasgouttes
79fb39058c
Fix bug #7640 : Importing underlined text fails in LyX 2.0
...
Just recognize \uline as a synonym or \underbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-21 13:24:26 +00:00
Richard Heck
c53971b07e
Remove unused optional variable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:08:56 +00:00
Richard Heck
f14970eacd
Cosmetic improvements to tabular dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39156 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 21:08:51 +00:00
Richard Heck
b3475e9fac
Fix bug #7634 . Make sure we clear the tag deque if we are keeping
...
empty paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39152 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 15:55:41 +00:00
Richard Heck
51149d8490
Fix problem with bibliography indentation reported on user list.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39149 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 15:19:16 +00:00
Tommaso Cucinotta
a48baee56f
Now Adv. F&R correctly interprets escape sequences within regexp insets, e.g., \\ or \(, for finding characters with a special meaning in regular expression context (\^()[]).
...
Added corresponding regression tests findadv-re-01 and -02 for finding these special characters.
Unfortunately, braces {} are a little bit special and don't work yet. Added findadv-re-03 regression test to not forget about this case.
This goes along the line of fixing issues reported by Andrew Parsloe and summarised as #7638 .
Last note: Still there will be cases when the Advanced F&R won't work, especially if the text to be found and/or the search pattern is preceded by backslashes or others.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39135 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-19 16:41:23 +00:00
Enrico Forestieri
0eedbdee03
Don't rely on Qt for setting an environment variable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39049 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 18:06:57 +00:00
Pavel Sanda
9359d73dde
Using pkgconfig to configure hunspell.
...
(hunspell 1.3 is not correctly recognized otherwise).
Patch from Rex Dieter, posted by Jose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39040 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-14 14:32:42 +00:00
Richard Heck
5c264ebdf3
Modify r38980 in response to Vincent's comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39021 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 18:03:32 +00:00
Tommaso Cucinotta
f67834bb22
Disabled possibility to type macros in regexp-mode. Now typing \ inserts a \ (no need to type twice) while in regexp mode.
...
Addressing issue 4. at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39017 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 01:19:07 +00:00
Tommaso Cucinotta
c7e609135a
Now backslash-prefixed regexps like "\s", "\d", etc., are all understood by Advanced F&R.
...
Fixing issue 4 reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39016 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-12 00:12:26 +00:00
Tommaso Cucinotta
5a4f151fb8
Now a regexp inset with a \backslash compiles.
...
This is needed when instant preview is on,
so we avoid the empty preview due to latex compilation error.
Fixing issue 1. reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 23:21:14 +00:00
Tommaso Cucinotta
314f995cf2
Now the cursor is visible while at the rightmost part of a regexp inset.
...
Fixing issue 2. reported at: http://permalink.gmane.org/gmane.editors.lyx.devel/136992 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39013 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 22:06:06 +00:00
Enrico Forestieri
c29440131a
Compile fix for Qt 4.5 and earlier. The other build systems should update
...
the moc invocation to add the proper define for QT_VERSION.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38995 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 19:45:52 +00:00
Richard Heck
390990af6d
Fix bug #7622 . We have to show the error list after we set the buffer,
...
because that is what creates the GuiDelegate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38985 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 13:04:30 +00:00
Richard Heck
4201a465f0
Fix stupid duplicate from r38981.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38984 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 12:51:24 +00:00
Richard Heck
b436d85783
Fix bug #7517 . This restores some code removed when we started adding basic layouts we didn't recognize.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38981 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:12:57 +00:00
Richard Heck
6efabf807e
Fix problem with static error list.
...
It's amazing we haven't seen problems with this before. The basic problem is that buf.errorList("whatever") would always return the same global, static error list, if it did not already exist. So, to a significant extent, there was only one global error list!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38980 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 00:12:52 +00:00
Richard Heck
60b1a06ac8
Revert previous commit, which committed too much.
...
This reverts commit 4369e725b17fede013eb26bfd797e917eaf6f4ea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38979 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 23:52:22 +00:00
Richard Heck
cd2e50a275
Fix problem with static error list.
...
It's amazing we haven't seen problems with this before. The basic problem is that buf.errorList("whatever") would always return the same global, static error list, if it did not already exist. So, to a significant extent, there was only one global error list!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38978 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 23:45:33 +00:00
Richard Heck
bbe40d71d6
Cleanup in expandFormats().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38977 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-07 17:14:38 +00:00
Vincent van Ravesteijn
8968000e16
Move the #if up, because older Qt's can't include QtCore/QPropertyAnimation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38970 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 18:14:07 +00:00
Jean-Marc Lasgouttes
1f81d78814
Revert r38963. Compilation is now broken with qt 4.5, but I do not know Qt moc business and do not have time to investigate.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38969 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 15:53:43 +00:00
Jean-Marc Lasgouttes
19478f3efa
compilation fix for Qt 4.5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38963 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-06 10:29:30 +00:00
Vincent van Ravesteijn
7559973969
Compile fix for qt versions below 4.6.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38961 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 23:24:56 +00:00
Vincent van Ravesteijn
519f74ab61
Add a search box to the Document Settings and Preferences dialog.
...
Patch from venmo00.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38959 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 17:54:27 +00:00
Vincent van Ravesteijn
1744b6f9ed
Set svn:eol-style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38958 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 17:52:15 +00:00
Vincent van Ravesteijn
cc81d48b18
Add a FancyLineEdit class. This code was taken from QtCreator and modified a little.
...
Patch from venom00.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38957 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 17:51:02 +00:00
Richard Heck
327d2cd5c5
Update status when bullet size is changed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38945 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-04 12:50:39 +00:00
Stephan Witt
af92f60df9
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computation, there is no Qt version dependency
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38934 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-02 20:46:25 +00:00
Richard Heck
f76d28c118
Just a bit of cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38933 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-02 19:55:08 +00:00
Richard Heck
7305ddb6bf
Fix some typos.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38932 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-02 19:39:44 +00:00
Richard Heck
15cfbae75b
Decimal point --> Decimal separator. As noted by one of our translators,
...
that is the language we use elsewhere.
Also took the opportunity to fix some shortcuts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38930 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-02 15:43:21 +00:00
Richard Heck
82d6524298
Fix bug #7540 . Patch based upon one added to bug report by Max Funk.
...
Basically, patch adds routine that calcuates relative paths to parent
rather than child directories.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38915 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 13:18:08 +00:00
Pavel Sanda
8bbe99f100
Another glitch ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38906 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 20:23:06 +00:00
Richard Heck
78fa6abc08
Fix for bug #7360 . Patch from Nemah, posted to bug report.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38901 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 15:30:22 +00:00
Richard Heck
5f23164e86
Remove XML lines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38897 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-31 13:44:51 +00:00