Commit Graph

3117 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
47e6b74e74 * src/insets/InsetSpace.cpp:
- proper visualization for negative hspaces, in analogy to negative vspaces.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25557 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:46:05 +00:00
Pavel Sanda
08165a71bb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5008 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25553 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 23:35:12 +00:00
Uwe Stöhr
3ceba1f8e4 InsetSpace.cpp:
- use another color for negative spaces to be able to distinguish it from "normal" positive one
 - don't swap the inset drawing as this inconsistent to the other negative spaces and the ones in math mode

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 22:01:57 +00:00
Richard Heck
780bce0f96 Rename empty layout stuff to plain layout stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25541 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 17:41:52 +00:00
Jürgen Spitzmüller
f10b67b09f * src/insets/InsetSpace.cpp:
- comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:45:33 +00:00
Jürgen Spitzmüller
21f3fadbc1 * src/insets/InsetSpace.cpp:
- (simple) visual indication for negative hspaces.
	- minimal metrics width for hspaces.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-10 07:43:21 +00:00
Jürgen Spitzmüller
0160b75b4d * src/insets/InsetSpace.cpp:
- use abs().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 10:31:16 +00:00
Jürgen Spitzmüller
01fb1898ad * src/insets/InsetSpace.cpp:
- correct metrics for negative hspaces (bug 5009).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25512 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-09 08:12:38 +00:00
Richard Heck
89695eb813 Fix bug 4976.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:48:36 +00:00
Pavel Sanda
12c72ac7fb Forgot to remove the files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:37:38 +00:00
Pavel Sanda
20b9e0ba93 Remove InsetEnvironment. This is unfinished decade old stuff.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141609.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-07 16:34:55 +00:00
Pavel Sanda
064c280f17 Leftover from http://www.lyx.org/trac/changeset/23471
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-06 21:03:05 +00:00
Edwin Leuven
dd6d173082 fix http://bugzilla.lyx.org/show_bug.cgi?id=4998
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25445 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-04 13:18:28 +00:00
Pavel Sanda
397afb607f Move LFUN_NOTES_MUTATE dispatch to BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25368 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 07:18:06 +00:00
Pavel Sanda
dcc50a2454 Fix include orderings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25309 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:54:31 +00:00
Pavel Sanda
7267b4bef2 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25308 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:27:45 +00:00
Pavel Sanda
1f1951e210 Add LFUN_NOTES_MUTATE for global change of note insets type.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141339.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25306 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-18 18:16:50 +00:00
Jürgen Spitzmüller
483e1fcd19 ExternalTemplate.cpp:
- sort Lexer table.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:23:45 +00:00
Abdelrazak Younes
4a1be58591 - Simplify prefs, graphics and external display options which are now true or false.
- the display combo in the prefs, external and graphics dialogs are gone
- the lyxrc display_graphics option now overrides any local inset display option
- The external template format has a new tag: Preview
- format incremented to 337


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
Pavel Sanda
07113cf424 LFUN_FONT_FREE_* -> LFUN_TEXSTYLE_*
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141274.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 08:35:15 +00:00
Edwin Leuven
dbc07ef630 fix http://bugzilla.lyx.org/show_bug.cgi?id=4778
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25198 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 08:11:46 +00:00
Abdelrazak Younes
e4a5278060 start image loading at metrics time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:39:43 +00:00
Abdelrazak Younes
21f59b816b RenderGraphic::metrics(): return early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25164 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 12:34:27 +00:00
Abdelrazak Younes
af050ab1b0 Some polish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25156 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 09:33:24 +00:00
Abdelrazak Younes
81cc98a500 InsetInfo: Some fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25154 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:45:58 +00:00
Abdelrazak Younes
062bec11d0 * Dialog::inset(): make it const.
* InsetInfo::validate(): new method for checking dispatch argument. Not implemented yet.

* GuiInfo: remove non working code and rework the dialog following my vision of an ideal info dialog :-) not every thing works yet.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 08:01:59 +00:00
Bo Peng
3c142cdd47 GuiInfo: display and initialize the information dialog, can not apply yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25152 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 04:10:42 +00:00
Bo Peng
f5101ebec8 InsetInfo: allow select and copy of text inside InsetInfo, trigger the info dialog correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25151 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:25:36 +00:00
Richard Heck
95a5be2891 Prevent a crash when destroying insets whose Buffers have been closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25150 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 03:11:56 +00:00
Jürgen Spitzmüller
0f07e83733 Wrap figures can also have subfloats. I simply forgot that when implementing subfloat support.
Well, here it is. Fixes one part of bug 4927. There's a remaining problem on conversion of onld subfigs with LaTeX content (e.g. \label). I'll fix that in a second step.

There's 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 16:05:52 +00:00
Abdelrazak Younes
34739e59f7 The inset connection is not needed as the dialog will retrieve the inset from the cursor location.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25145 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:28:27 +00:00
Abdelrazak Younes
f276338227 Preliminar InsetInfo dialog. This was done as an exercise to show Bo (an others) how easy it is to create a new dialog. This dialog needs to be filled in, right now, there is just an OK button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25144 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 15:08:46 +00:00
Abdelrazak Younes
e060218986 * InsetInfo: use Application::iconName().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25140 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 08:49:19 +00:00
Richard Heck
f65bb20bfe Forgot this bit.
The only remaining problem here is that, if you edit the TEXT that goes with
an InsetBibitem, then the information in the citation will not get updated
until something else invalidates the cache.  The only way to fix this, given
the existing system, would seem to be to check, every time anything gets 
edited, whether we're in a Bibliography environment or not, and if so to
invalidate the cache. I'm not sure that is worth it. Really, it points to a
more general issue with InsetBibitem, IMHO: It ought to be a kind of combined
inset, a hybrid of sorts between an InsetCollapsable and an InsetCommand. But
that would be for 1.7.x at least.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25138 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:59:35 +00:00
Richard Heck
8a64579d9c More cache fixing. Similar fix as for InsetBibtex, and I've renamed the key routine.
Unfortunately, we can't do a one-short fix for InsetCommand, requiring that it take
a Buffer & in the constructor, due to problems in mathed, specifically, here:
void InsetMathHull::label(row_type row, docstring const & label)
{
...
label_[row] = new InsetLabel(p);
if (buffer_)
label_[row]->setBuffer(buffer());
}
If InsetLabel has to have a Buffer, then buffer_ has to be set, which means InsetMathHull needs a Buffer. But then truckloads of these are created in Parser, where we don't really seem to have access to a Buffer.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25137 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:55:34 +00:00
Richard Heck
2ea039ba99 Fix some of the BibTeX cache issues. We need to be able to invalidate the cache when
InsetBibtex's get created and destroyed, or modified.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25136 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 06:42:53 +00:00
Richard Heck
ad76cb5c5f Give an error message here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 05:39:48 +00:00
Bo Peng
c6565b4209 Add InsetInfo::SHORTCUTS_INFO and ICON_INFO
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25129 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-05 03:41:35 +00:00
Pavel Sanda
f1ab9fa147 Last rites for LFUN_BREAK_PARAGRAPH_SKIP, LFUN_DELETE_BACKWARD_SKIP, LFUN_DELETE_FORWARD_SKIP.
Closing bug http://bugzilla.lyx.org/show_bug.cgi?id=4492 .
Closing bug http://bugzilla.lyx.org/show_bug.cgi?id=4525 .



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 18:09:06 +00:00
Jean-Marc Lasgouttes
31cc9454ef fix compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25113 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 09:57:37 +00:00
Abdelrazak Younes
4f2a7a953b Fix crash while InsetInfo hovering by replacing the hover message with a tooltip.
Note to all: NEVER send a message inside a draw() method! This triggers a recursive painting of the status bar with Qt4.4 !



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25112 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 07:15:43 +00:00
Abdelrazak Younes
3803473627 Fix toc generation after rev25096.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25097 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 11:33:13 +00:00
Abdelrazak Younes
c99463ebfc Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4910 by creating InsetText::addToToc().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-03 11:12:45 +00:00
Pavel Sanda
ec348c574a Unify LFUN naming.
(LFUN_FLOAT_LIST -> LFUN_FLOAT_LIST_INSERT)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 11:31:03 +00:00
Bo Peng
ee9511f52c Change inset label from ": filename" to "Program Listing: filename" for listings without caption.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25057 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 18:23:22 +00:00
André Pönitz
7f678a39cd fix my color cache "improvements"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25029 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-31 22:39:52 +00:00
Pavel Sanda
daec6dc0be One more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25025 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-31 12:28:16 +00:00
Richard Heck
2a47858dda Fix remaining issues with InsetSpace. The identifier "Space" used in the .lyx
file has been changed to "space" to match the identifier used for the inset in
Inset.cpp and for the dialog in GuiView.cpp.

In future, we will want to get a similar uniformity elsewhere: The identifier
used in the LyX file should match the one used as inset identifier. The easy
way to do this, in the code, is to have insets write themselves this way:
	os << insetName(lyxCode()) << " ";
rather than at present:
	os << "space ";
Similar things could then happen elsewhere. E.g., if the dialog names are in
sync with the inset names, then we could do something like:
	hideDialogs(insetName(lyxCode()), this);
rather than
	hideDialogs("space", this);
and perhaps even put that into the Inset destructor rather than have specific
versions in each inset---with a test for whether there is such a dialog, of
course.

But this is all for later.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25016 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 15:38:43 +00:00
Richard Heck
afbc6bd2b9 Fix some of the InsetSpace problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25014 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 15:18:13 +00:00
Abdelrazak Younes
ebcc4db6de Add list of branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25011 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 13:59:29 +00:00
Jürgen Spitzmüller
48e6184e84 * InsetSpace.cpp:
- brace/arrowfill drawing cosmetics, by Helge.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25002 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-30 09:31:06 +00:00
Richard Heck
77ed747114 FuncStatus::enabled(bool) --> FuncStatus::setEnabled(bool)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 15:14:00 +00:00
Pavel Sanda
f447ef3395 Some strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24992 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 11:24:42 +00:00
Richard Heck
317432f315 Branches can use any layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24969 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 19:25:57 +00:00
Richard Heck
32f1dce79a Simplify things just a little bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24967 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 18:57:16 +00:00
Pavel Sanda
cd1cc0b647 Move graphics code from class to namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-27 12:06:34 +00:00
Pavel Sanda
db578f0b98 Add FIXMEs wrt unicode.
http://thread.gmane.org/gmane.editors.lyx.devel/106763/focus=106769



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24948 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 18:37:42 +00:00
Jean-Marc Lasgouttes
050ec93722 remove some useless workarounds in getStatus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-26 10:23:07 +00:00
Uwe Stöhr
06e0a5df20 InsetTabular.cpp: fix the logic when \linebreaks are allowed in table cells, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4839
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24938 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 21:14:36 +00:00
Abdelrazak Younes
8a7c802ab0 Introduce docstring_list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-24 10:15:52 +00:00
Abdelrazak Younes
20b7a31051 Potential bugfix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 12:16:44 +00:00
Abdelrazak Younes
eb28cb8755 Unify Paragraph::asString() methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 14:01:33 +00:00
Abdelrazak Younes
771e0ba1a3 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4641
SVN blames Jürgen for this code (rev 22325).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 10:44:28 +00:00
Abdelrazak Younes
5398dce8ae forward port rev 24877. Even if trunk is not affected by 4857, it is safer to only display printable characters in the toc items and not go inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24878 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 10:14:20 +00:00
Abdelrazak Younes
e2af27e61d Fix http://bugzilla.lyx.org/show_bug.cgi?id=4607
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:32:04 +00:00
Jean-Marc Lasgouttes
09093f41d8 * insets/InsetQuotes.cpp (displayString): reenable quote display code
(but use a table-based solution instead of the old code).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:21:28 +00:00
Abdelrazak Younes
3e92432049 get rid of useless debug output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:13:48 +00:00
Abdelrazak Younes
034cccd008 - Fix crash with clicking on second Listings iten in Navigator (in EmbeddedObject.lyx).
- Fix http://bugzilla.lyx.org/show_bug.cgi?id=4613


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:09:35 +00:00
Abdelrazak Younes
641ae02e37 Delay the Toc update of child documents until we update the master one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24868 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 12:58:54 +00:00
Abdelrazak Younes
b630a55d77 Fix caption numbering of child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:54:23 +00:00
Jürgen Spitzmüller
bcf3cbef4f * InsetCitation:
- use valid citation commands only (bug 4876)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 07:22:55 +00:00
Jean-Marc Lasgouttes
d16ca201e6 Fix Settings entry for space insets.
* inset/inset.cpp (doDispatch, getStatus): handle LFUN_INSET_TOGGLE.

	* BufferView.cpp (getStatus): cleanup
	(dispatch): do not call Inset::edit() explicitely.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 14:44:53 +00:00
Abdelrazak Younes
1e51e87f68 Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator. The idea is to have more accurate navigation in the paragraph. But this doesn't work yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24747 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-13 08:23:44 +00:00
Jürgen Spitzmüller
71f8cee976 * src/InsetIndex: further corrections od LaTeX output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-09 09:50:18 +00:00
Jürgen Spitzmüller
7bf20758b5 fix bug 4837.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-08 09:43:27 +00:00
Pavel Sanda
01ceec9cfe Codingstyle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24675 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 23:40:59 +00:00
Richard Heck
b90b295e22 Partially fix an annoying hover problem, viz: InsetCollapsable buttons don't get unhovered' if you collapse them (via Ctrl-I) when the mouse is inside the inset. I often seem to end up with several hovered' buttons.
There is probably a better solution somewhere, but it's not obvious what it is, and this solution doesn't do anything terrible. It leaves unaddressed the fact that the button does not get `hovered' if you open an inset via Ctrl-I, and then the mouse ends up inside it, and now the button will get `unhovered' whenver you collapse it, even if the mouse ends up over the button. But (i) my attempts to deal with these cases failed, (ii) they're not very annoying, (iii) they get `fixed' as soon as you move the mouse, and (iv) I'm not sure how complicated it's worth making this.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24662 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 19:20:01 +00:00
Pavel Sanda
c32f7c377e Move code to more appropriate place, cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 14:44:58 +00:00
Abdelrazak Younes
61507ecf01 fix Bug 4119: LFUN accent-special-caron is obsolete
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 11:17:43 +00:00
Edwin Leuven
401ec4b50b no vertical lines with booktabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24654 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-07 09:37:22 +00:00
Pavel Sanda
13e42a8c73 Introduce groups for graphics insets. That includes:
- GuiGraphics dialog field for setup new groups.
- Graphics context menu for assigning to certain group.
- Fileformat change for groupId field in Graphics inset.
- Undo mechanism added to inset-apply, for catching changes
  in preference dialog.
- Qt designer 4.4 used now.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 21:13:09 +00:00
Edwin Leuven
cf5b793f18 fix http://bugzilla.lyx.org/show_bug.cgi?id=4778
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 11:24:54 +00:00
Jean-Marc Lasgouttes
d954056cc2 unbreak compilation (part 4)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 10:42:26 +00:00
Abdelrazak Younes
45bc27809b remove unneeded includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-06 06:48:38 +00:00
Jürgen Spitzmüller
2e60364941 * InsetSpace drawing cosmetics, from Helge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 17:58:16 +00:00
Abdelrazak Younes
592d53e065 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4771
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 06:56:43 +00:00
Edwin Leuven
832bbc4329 fix: http://bugzilla.lyx.org/show_bug.cgi?id=4688
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-04 07:51:50 +00:00
Richard Heck
4a22588963 Corrections, thanks to Bernhard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 21:04:49 +00:00
Jürgen Spitzmüller
9ea014431e formatting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24569 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:22:48 +00:00
Jürgen Spitzmüller
95767b840b support for rightarrowfill, leftarrowfill, upbracefill, downbracefill, by Helge Hafting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24567 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 20:11:57 +00:00
Richard Heck
62288ff923 That one isn't unexpected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 16:02:20 +00:00
Richard Heck
57008aa865 Cosmetics, and some error messages from the BibTeX parser.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24562 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 15:57:53 +00:00
Jean-Marc Lasgouttes
9b4a26a252 rename assert.h to lassert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-30 08:26:40 +00:00
Jürgen Spitzmüller
d341c4f446 * src/insets/InsetCollapsable.h:
- exclude insets with latex_language from spell checking (bug 4810).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24543 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 18:49:23 +00:00
Jürgen Spitzmüller
99f2abf59f dynamic context menu for InsetCitation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:21:55 +00:00
Jürgen Spitzmüller
a585806b3c Implement inset-edit in InsetBibtex and add a context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:14:18 +00:00
Jürgen Spitzmüller
951dfe70a7 * InsetBibtex.cpp:
- some more tooltip information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24535 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 13:13:42 +00:00
Jürgen Spitzmüller
ebf295a245 * InsetBibtex.{cpp,h}:
- add tooltip.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24533 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 12:48:04 +00:00
Jürgen Spitzmüller
c778f093ea basic context menu for InsetExternal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 05:12:28 +00:00
Jürgen Spitzmüller
1458cd52b7 * implement "inset-edit" in InsetInclude.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24528 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-27 18:03:21 +00:00