Jean-Marc Lasgouttes
5bf8df4fbc
Remove the layout_ cache in InsetCollapsable.
...
Remove setLayout methods and all the calls to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 12:07:51 +00:00
Jean-Marc Lasgouttes
b05a94c3dd
Fix again ticket #1720 . This got broken during frontend reorganization.
...
The situation now is almost good, although preference and about LyX are now disabled.
I moved the code that sets buffer to 0 to LyXFunc::getStatus, where it belongs.
I also set lyx_view_ to 0 when the window does not have focus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 11:36:08 +00:00
Jean-Marc Lasgouttes
4dde959e6c
fix tests
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 10:37:17 +00:00
Uwe Stöhr
86fab2cefa
TextLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30555 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:40:51 +00:00
Uwe Stöhr
14efd07a82
PageLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30554 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:38:15 +00:00
Uwe Stöhr
b015528fca
update author settings for the files I recently notably modified
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 23:25:47 +00:00
Jean-Marc Lasgouttes
defe820a8a
note to self: always compile before committing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 15:57:08 +00:00
Jean-Marc Lasgouttes
d0cb2cc0b7
The most important change in this changeset is that InsetCollapsable::getLayout
...
is commented out, so that the documentclass is queried every time instead of
using the layout_ cache. For now I have kept the setLayout calls, but they are
inoperant.
Other changes:
* remove non-const usePlainLayout methods
* move InsetCollapsable::allowSpellCheck and allowMultiPar to InsetText
* move InsetCollapsable::isFreespacing and forceLTR to Inset
Freespacing support could be moved to insettext, but I have to check who
uses it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30549 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 15:47:40 +00:00
Jürgen Spitzmüller
e6f922009f
* Add possibility to append active branch names to the output file name ( #3105 ).
...
File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 14:30:08 +00:00
Jean-Marc Lasgouttes
9d857249b0
one less explicit test against FLEX_CODE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30543 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 14:06:05 +00:00
Jean-Marc Lasgouttes
58182c5860
Small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 13:53:58 +00:00
Jean-Marc Lasgouttes
4dbe411ba9
Remove all BufferParam arguments in InsetXXX methods (since insets know about their Buffer)
...
Add an assertion in Inset::dispatch that checks that buffer() == *cur.buffer()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30540 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 12:56:20 +00:00
Jean-Marc Lasgouttes
af905aaff6
small optimization and cleanup of Counters::counterLabel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 11:05:31 +00:00
Pavel Sanda
49ea9227cd
Fix leftover from r27378. Patch and report from John McCabe-Dansted.
...
Presumably it fixes
"r30414 unselects insets after a fraction of a second. 1.5.7 doesn't exhibit this bug"
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152960.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30536 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 09:50:46 +00:00
Jürgen Spitzmüller
bbfc419c10
Finally make the label color of multiple index entries work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 06:46:52 +00:00
Jürgen Spitzmüller
c878519ca9
* InsetExternal.cpp (xhtml): fix compiler warning and formatting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 06:34:05 +00:00
Jean-Marc Lasgouttes
067a685263
remove BufferParams parameter from Inset::accept/rejectChanges; adapt rest of code accordingly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 00:57:51 +00:00
Jean-Marc Lasgouttes
081fad9557
First step of InsetLayout cleanup.
...
Get rid of Inset::getLayout(BufferParams), since all insets have access to
their own buffer. Inset::getLayout() does the same now.
Get rid of InsetCollapsable::getLayout(BufferParams) too, and remove most references to InsetCollapsable::layout_. For now IC::getLayout() still returns layout_, but the idea is to change this (provided there is no performance problem).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 00:28:22 +00:00
Abdelrazak Younes
97a33c4f51
New support files for Hunspell support. Only autotools for now.
...
Hunspell is not used yet, don't try it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:46:01 +00:00
Uwe Stöhr
8c2d81bc34
MathMatrixUi.ui: proper naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:15:46 +00:00
Jean-Marc Lasgouttes
680590dfa8
remove the now unused Paragraph::translateIfPossible
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30525 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:14:49 +00:00
Jean-Marc Lasgouttes
95e983c382
Remove Layout::labelstring_appendix method; add a bool parameter to Layout::labelstring instead.
...
Fix the rest of the code, whih implies fixing a few potential bugs where the appendix status was not taken in account.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30524 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:48:50 +00:00
Uwe Stöhr
802067ecdc
support for matrix decoration in the MathMatrix dialog;
...
introduces a new LFUN and fixes #4620
This can in principle also go to branch when new LFUNs are there allowed, Jürgen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:39:21 +00:00
Uwe Stöhr
1da9addbed
TabularUi.ui: add and correct a tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30522 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:36:02 +00:00
Vincent van Ravesteijn
1bce8f15af
Fix the infinite loop when automatically closing the view after a on_lastWorkAreaRemoved() signal was received.
...
In this case, all workareas are closed, but the tabworkarea still exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30521 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 20:42:14 +00:00
Jean-Marc Lasgouttes
e9d19b82d4
Make sure that the new caching mechanism for flattened labels respects languages.
...
* Counters.cpp (flatLabelString): return a cache of the flattened strings for each used language
* Counters.cpp (theCounter, counterLabel, flattenLabelString): add a lang parameter; in theCounter, populate the cache as needed.
* insets/InsetCaption.cpp:
* insets/InsetFoot.cpp:
* insets/InsetBibitem.cpp:
* insets/InsetCollapsable.cpp:
* Paragraph.cpp:
* Buffer.cpp: pass a language argument to counter methods.
* Paragraph.cpp (translateIfPossible): use the function with same name in gettext.cpp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30520 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 20:09:53 +00:00
Jean-Marc Lasgouttes
0e5695f933
fix another warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:54:35 +00:00
Jean-Marc Lasgouttes
91d7e3b191
(try 2) fix a couple warnings after the number localization patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:32:23 +00:00
Jean-Marc Lasgouttes
c355edfb6d
revert r30515: too many files there
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:30:56 +00:00
Jean-Marc Lasgouttes
834bfe5e21
fix a couple warnings after the number localization patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:28:46 +00:00
Jürgen Spitzmüller
52d9b45b0c
Add support for number localization in the GUI (using Qt's locale facilities).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:44:26 +00:00
Enrico Forestieri
14be173d42
Honour preferences by allowing inline completion in mathed on "Ctrl-L".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30507 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 14:56:38 +00:00
Jean-Marc Lasgouttes
fa1ee437e5
* gettext.cpp (translateIfPossible): @Use the same tests as i
...
Paragraph::translateIfPossible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 14:50:51 +00:00
Jean-Marc Lasgouttes
d9e4ced1d4
Remove dummy gettext.cpp from tex2lyx source and use a dummy message
...
object instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 14:49:30 +00:00
Uwe Stöhr
dbf1f87bd7
InsetTabular.cpp: coding style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30504 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 14:36:42 +00:00
Jürgen Spitzmüller
d3a17d2d5e
* correct bug reference.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:47:06 +00:00
Jürgen Spitzmüller
4dfca52307
* InsetTabular.cpp: fix bug 6057: longtable captions must always be in a first header.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:43:05 +00:00
Enrico Forestieri
d2e8e53bb1
Fix bug #6063 : Keylogger lyx::lyxbreaker: Crash in Math.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 10:52:28 +00:00
Jürgen Spitzmüller
1704c727de
* GuiBranches.cpp: avoid message after cancel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30487 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:29:52 +00:00
Uwe Stöhr
c5f225ce63
TabularUi: follow our naming convention
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:43:30 +00:00
Uwe Stöhr
8a3a2baf6d
- GuiTabular.cpp: longtables cannot have a vertical alignment
...
- InsetTabular.cpp: write the alignment as last features (to match the existing tex2lyx routines)
- InsetTabular.h: fix indexes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30482 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:33:05 +00:00
Uwe Stöhr
f90d0ca093
TabularUi.ui:
...
- correct spacing for the border tab
- move break line to group box in longtable tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:00:29 +00:00
Uwe Stöhr
ce143b21e6
InsetTabular.cpp: whitespace again, sorry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:47:19 +00:00
Uwe Stöhr
0d75c1117f
InsetTabular.cpp: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30479 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:44:13 +00:00
Uwe Stöhr
6776598761
InsetTabular.cpp:
...
- longtables cannot have a valignment, tables not a longtablealignment
- squash a compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:41:34 +00:00
Uwe Stöhr
424943af89
- support for longtable alignment, fileformat change
...
- GUI support for table alignment
(all comments to the polished layout of the table dialog welcome)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Uwe Stöhr
48dd95812d
TextMetrics.cpp: fix bug that AlignRight were aligned like Inline
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:30:41 +00:00
Uwe Stöhr
97e857b166
TextMetrics.cpp: typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:16:34 +00:00
Uwe Stöhr
e48e791465
GuiTabular.cpp: revert r30422 as discussed o the list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:10:38 +00:00
Jürgen Spitzmüller
cbce556e0b
* GuiDocument.cpp:
...
- update colors before changing branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30471 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:53:29 +00:00
Jürgen Spitzmüller
201a22b96f
* GuiDocument.cpp:
...
- clear changedBranches_ cache after branches were changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:31:32 +00:00
Pavel Sanda
edb52c37d2
Add LFUN_BRANCH_ADD_INSERT.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152890.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:38:31 +00:00
Jürgen Spitzmüller
5c4758357f
* GuiDocument.{cpp,h}:
...
- do not rename branches in the document unless the dialog was applied.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:37:28 +00:00
Jürgen Spitzmüller
c650dcd540
* Buffer.cpp:
...
- rewrite getUsedBranches() with an InsetIterator approach.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 08:29:30 +00:00
Jürgen Spitzmüller
808dfaabea
* Buffer.{cpp,h}:
...
- rewrite LFUN_BRANCHES_RENAME with an InsetIterator approach.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 08:18:26 +00:00
Jürgen Spitzmüller
ca070ea260
* Buffer.cpp: squash compiler warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:50:18 +00:00
Jürgen Spitzmüller
eab8801afe
* GuiBranches.cpp:
...
* GuiIndices.{cpp,h}: more UI polishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:29:57 +00:00
Jürgen Spitzmüller
5166030174
* GuiBranches.{cpp,h}: UI polishment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:12:27 +00:00
Jürgen Spitzmüller
4762b2168f
revert unintended commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 05:38:27 +00:00
Jürgen Spitzmüller
cfdda3ad08
* Buffer.cpp (renameBranches): record undo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 05:08:44 +00:00
Pavel Sanda
4a7bb9541f
Fix setting via context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 00:11:59 +00:00
Pavel Sanda
29ff62face
Fix status check of branch (de)activation from the child, when master
...
has no info about that branch.
Context menu still does not work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30457 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 00:10:18 +00:00
Pavel Sanda
75659b3db4
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 19:06:10 +00:00
Richard Heck
43945090c1
Fix for bug 5522, by Sergiu Carpov.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 16:21:47 +00:00
Uwe Stöhr
20f8c82aa8
tex2lyx/preamble.cpp: take also care of lyxlist, lyxcode, and lyxaddress
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30448 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 12:38:22 +00:00
Jürgen Spitzmüller
9d35e6690c
revert unintended commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:58:54 +00:00
Jürgen Spitzmüller
5fdd2daa9c
* Add ability to rename branches (bug 4128).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Edwin Leuven
70a24259f8
continue spellchecking after "replace all"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:03:00 +00:00
Enrico Forestieri
ce7302098c
Allow undoing changes to the name of macros that are already finalized.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 18:00:27 +00:00
Jürgen Spitzmüller
0e6724622f
* GuiLog.cpp: don't forget Package warnings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:17:40 +00:00
Jürgen Spitzmüller
34c4325570
LogUi.ui: string redundancy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:06:47 +00:00
Jürgen Spitzmüller
9172018008
LogUi.ui: typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:01:23 +00:00
Enrico Forestieri
0c2902d0c0
Better fix for bug #5923 . Now the macro name can be freely edited.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 15:21:21 +00:00
Jürgen Spitzmüller
7d1b297e7e
* InsetBranch.cpp:
...
- fix display of "child only" suffix, and "undefined" suffix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30423 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:45:19 +00:00
Uwe Stöhr
4b55ed8202
GuiTabular.cpp: fix #6057
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:17:14 +00:00
Jürgen Spitzmüller
341ac91738
*sigh*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:16:27 +00:00
Jürgen Spitzmüller
17986e7509
Ease the pain with unknown branches:
...
* on paste, ask if unknown branches shall be added to the branch list
(entails new LFUN_BRANCH_ADD)
* add a list of undefined branches to the buffer and the GUI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 09:48:34 +00:00
Vincent van Ravesteijn
93feef62b8
Fix bug #5998 .
...
When one document has a split view, closing this document will close two splitters at a time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 21:37:37 +00:00
Richard Heck
969a919a0d
More comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30415 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 19:55:03 +00:00
Pavel Sanda
78bea31ea8
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30414 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 15:59:48 +00:00
Enrico Forestieri
6852e976b0
Proper fix for bug #5923 that doesn't introduce bug #6015 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 01:48:19 +00:00
Enrico Forestieri
98fb455d3f
Revert r30398, r30396, r30395, r30393, r30392, and r29387.
...
Soon to be replaced with a proper fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 01:41:06 +00:00
Uwe Stöhr
a165cec754
GuiTabular.cpp: correct a comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 19:24:07 +00:00
Richard Heck
3a41879cb4
Add and update some comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 15:29:33 +00:00
Richard Heck
44763a6f0f
Move LFUN_TAB* handling from InsetListings to InsetCollapsable, so that
...
the tabkeys works as such whenever PassThru is true.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30404 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 13:25:43 +00:00
Jürgen Spitzmüller
cf7a54d6ea
* NomenclUi.ui: fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:24:23 +00:00
Uwe Stöhr
c5208a21ec
NomenclUi.ui: fix #3936 also for the description field of the nomenclature dialog as reported in #6054
...
OK for branch too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30401 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:06:15 +00:00
Jean-Marc Lasgouttes
73f9991eec
Fix #6013 : SIGABRT if we spell check inside a math macro, and then hit replace
...
This is just a matter of checking that we are in an insettext before calling
replaceSelectionWithString. I guess there are other good ways to fix the crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 10:50:27 +00:00
Vincent van Ravesteijn
1c6eea89b4
Fix previous commit for macros with arguments, again.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30398 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:23:31 +00:00
Vincent van Ravesteijn
ebe7913a47
Only allow the cursor to be in lastpos for macros as editing in macro-mode is only possible at lastpos.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:16:21 +00:00
Vincent van Ravesteijn
ebe9b42279
Fix crash when selecting part of a macro and trying to resume macro-mode editing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30395 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:13:07 +00:00
Jürgen Spitzmüller
bca1c1b92b
* PreambleUi.ui:
...
- fix bug #3936 : Paste into preamble gives wrong font size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:28 +00:00
Vincent van Ravesteijn
abdb069f9e
Remove unneeded check for cur.pos() > 0.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:08 +00:00
Vincent van Ravesteijn
fb57c00c0d
Fix bug #6015 : Macro with arguments is not finished when pressing space
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30392 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:08:14 +00:00
Vincent van Ravesteijn
5b888f0bc9
Wrong casing...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:14:47 +00:00
Vincent van Ravesteijn
e02afb345a
Fix bug #4509 : Default focus of SearchUi should be "Find Next".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:11:05 +00:00
Jean-Marc Lasgouttes
5784b88f65
Patch from Ben M.: do not accept key events if we do not know what these keys
...
stand for.
This fixes bug #6043 : Windows multimedia keys intercepted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 16:14:20 +00:00
Enrico Forestieri
14c5adf034
Better fix for #6049 and similar cases with other math insets.
...
In order to fix #6047 , I needed a further mode other than MATH_MODE
and TEXT_MODE. In this mode, LyX should have behaved as in TEXT_MODE
but should also have allowed math mode commands. Well, this mode was
already implemented in LyX as UNDECIDED_MODE. Currently, this mode is
used nowhere except in the strange case where a math hull is not
present. It cannot be created by any other mean than editing a .lyx
file and getting rid of the $...$ math delimiters. This kind of
file can be reloaded in LyX and you would see a strange math formula
in text mode outside of mathed. Of course, trying to latex this file
would cause errors. After this commit, this strange mode is still
possible, but now all math insets correctly declare that their mode
is math mode (instead of undecided, and unless they state otherwise)
and bugs such as #6049 are fixed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30385 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 00:48:07 +00:00
Enrico Forestieri
e8ecb8b483
Fix bug #6049 : Mathed: spacebar misbehavior while typing fractions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30384 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 23:50:16 +00:00
Jean-Marc Lasgouttes
5ba54be043
unused #includes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30373 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 13:58:25 +00:00