Commit Graph

17598 Commits

Author SHA1 Message Date
Pavel Sanda
bde1274042 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33478 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:15:38 +00:00
Pavel Sanda
74c70e39cb Support revision fetching also for RCS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33477 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:05:24 +00:00
Pavel Sanda
c30a82d94d Glitch in LFUN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33476 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 09:05:16 +00:00
Pavel Sanda
39110501c3 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33475 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 07:39:39 +00:00
Pavel Sanda
3309cdca59 Allow revision to be string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33474 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 07:10:59 +00:00
Pavel Sanda
066216d2e7 Why do we have Variables.{cpp/h} ?
Unless somebody knows the purpose I will just kill it.

Glitch spotted by John.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33472 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-15 03:42:18 +00:00
Jürgen Spitzmüller
947d3ffd80 Add the spellcheck tag also to paragraph styles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33469 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 17:57:11 +00:00
Jürgen Spitzmüller
bd57d5ea56 * add pref option to exclude notes and comments from spell checking (bug 1509).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33468 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 16:22:39 +00:00
Jürgen Spitzmüller
8168e27362 * new InsetLayout tag to disallow spell checking. This actually brings Inset::allowSpellCheck() to use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 15:44:17 +00:00
Richard Heck
a56f7bff1c Fix other bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 15:22:49 +00:00
Richard Heck
6f72a373f8 Fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 15:22:30 +00:00
Jürgen Spitzmüller
52538d27fb comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33464 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 13:41:32 +00:00
Jürgen Spitzmüller
7369a0a881 please Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33463 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 13:38:01 +00:00
Jürgen Spitzmüller
5fe40522fe * InsetNomenclature.cpp:
- handle unicode gracefully.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 13:23:59 +00:00
Jürgen Spitzmüller
1178b30c54 generalize special handling of command inset parameters on LaTeX output (escaping, etc.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33461 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 13:08:32 +00:00
Jürgen Spitzmüller
23a58c0214 * TocWidget.{cpp,h}:
* TocWidgetUi.ui:
	- add filter bar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33457 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 08:30:16 +00:00
Vincent van Ravesteijn
5441eb16e5 Correct r33454.
I like braces.. too much.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33455 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 23:03:43 +00:00
Vincent van Ravesteijn
2a8fb9ae52 Fix bug #6525: Autosave error when renaming a new file.
Don't try to move the autosave file if it does not exist.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 23:01:36 +00:00
Edwin Leuven
8918e5df37 delete unused variable, fix multicolumn and some clean up
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 18:36:20 +00:00
Jürgen Spitzmüller
ce349ad806 Fix encoding issues in bibitems (bug #6534)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33452 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 16:08:30 +00:00
Jean-Marc Lasgouttes
a56b03e4fd Do not show spelling suggestions in contextual menu when spellcheck_continuouslyis off.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 15:46:48 +00:00
Pavel Sanda
70e12ff55d Fix #6496, patch from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33450 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 14:23:50 +00:00
Pavel Sanda
3788adf6ce Prepare VCS part for comparison.
We probably need to enhance comparison API for external calls.

Closing the party for today.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33449 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 14:09:44 +00:00
Jürgen Spitzmüller
6f3e447afa * GuiApplication.cpp: prevent null pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33447 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 12:32:15 +00:00
Pavel Sanda
7929cad343 We need public API
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33446 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 12:16:34 +00:00
Jean-Marc Lasgouttes
09ef9c67ef Fix bug #6217: Replacing a word in spellcheck does not update toolbar
Use the dispatch machinery when replacing a word in the spellchecker. Note that this implies a slight hack with lyxrc.auto_region_delete setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33445 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:25:44 +00:00
Pavel Sanda
d1f2c9570b Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33444 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:20:37 +00:00
Pavel Sanda
c6f6d20cdb Slowly toward version control + comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33443 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 11:07:28 +00:00
Pavel Sanda
d5f77d6dc2 Forgotten. There should be some oneliner for substituting all these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33442 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 10:16:00 +00:00
Pavel Sanda
91867cc624 Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33441 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 09:57:54 +00:00
Pavel Sanda
e67493168f * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33440 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 08:45:19 +00:00
Pavel Sanda
f26f990076 Kill locker() API in VCS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33438 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 07:21:11 +00:00
Pavel Sanda
495daad277 unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33437 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 06:45:52 +00:00
Pavel Sanda
89158dad83 Lets start some cleanup of old version() VCS API
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33436 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 06:30:41 +00:00
Pavel Sanda
c0f9fb76a8 SVN info - add author, date, time
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33435 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 05:52:34 +00:00
Pavel Sanda
773d4a8253 Revision info for RCS too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33434 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 04:28:10 +00:00
Pavel Sanda
7875d1a9ad Tree revision info into InsetInfo. Muhehe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33431 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 02:31:58 +00:00
Pavel Sanda
5942071ccb Fileformat++ as a safety measure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33430 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:57:49 +00:00
Pavel Sanda
4c5ba07a7a Spots from Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33428 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:13 +00:00
Pavel Sanda
da0bccb62c White space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33427 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:08 +00:00
Pavel Sanda
a97f1ddf06 Connect to InsetInfo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33426 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:44:04 +00:00
Pavel Sanda
7b227d6899 VCS: Extended API for revision info
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33425 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:43:59 +00:00
Pavel Sanda
22b98a7ca4 SVN file revision number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 01:43:55 +00:00
Abdelrazak Younes
a36e5cb488 GuiTabular despaghettization: pass out tabular_ instead of using it
directly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33422 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 10:38:41 +00:00
Uwe Stöhr
ae1720fd4a InsetTabular.h:
- remove things from the todo list that we already support
- add authors

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33417 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:47:06 +00:00
Uwe Stöhr
3c2ede2dc6 GuiPrefs.cpp: revert changes that accidentally slipped in in r33414
(That was Vincents patch for #5735)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33416 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:41:47 +00:00
Pavel Sanda
a80c577f30 -xml
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33415 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:15:12 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Abdelrazak Younes
4c9f0eb5e6 * InsetFloat:
- now accept a full parameter string at construction
- LFUN_INSET_MODIFY now also interprets float type.

* FloatPlacement:
- The float type label is replace with a combo that can be used to
change the type.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33412 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 17:33:39 +00:00
Abdelrazak Younes
2d928ba437 Fix i18n as suggested by Jürgen:
You cannot use params.type for that, because that's not flagged for
translation. Have a look at InsetCollapsable::floatName().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33411 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 12:42:30 +00:00
Abdelrazak Younes
7963908c00 FloatPlacement: code cleanup and bug fixing (pretty much nothing worked)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33410 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 12:26:59 +00:00
Jürgen Spitzmüller
59d384f02b * Thesaurus.cpp:
* docstring.{cpp,h}:
	- move conversion functions to_iconv_encoding and from_iconv_encoding
	  from Thesaurus to docstring.

* HunspellChecker.cpp:
	- use correct encoding for string conversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33407 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 10:24:10 +00:00
Jürgen Spitzmüller
94761bb7e5 Fix hunspell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33406 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 09:13:58 +00:00
Jürgen Spitzmüller
5c59e8c7cb * Spellchecker dialog:
- mark languages that can be spell checked.
* Thesaurus dialog:
	- mark languages that have a thesaurus dictionary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33405 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 08:10:31 +00:00
Abdelrazak Younes
56d18d2410 Make float type translatable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33404 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 07:06:14 +00:00
Abdelrazak Younes
4c2a354ebd hasDigit(): Avoid a string copy as this is in a critical path for inline spellchecking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33403 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 06:51:49 +00:00
Pavel Sanda
defa62aa3d Use readonly for manuals only in released versions.
Closing #6518.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157541.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33402 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 04:03:35 +00:00
Jürgen Spitzmüller
26de117d4e * GuiSpellchecker.cpp:
- clear selection when ignore is clicked. Otherwise, LyX hangs
	  at the last word of an inset, if this word was misspelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33396 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:55:17 +00:00
Jürgen Spitzmüller
5f4c5c5da9 * support/lstring.{cpp,h}:
- new function hasDigit
* src/Paragraph.cpp (spellcheck):
	- ignore words with digits, as in 1.6 (bug 6493).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:35:35 +00:00
Abdelrazak Younes
70d5b8fe06 Application: get rid of 2 virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:25:44 +00:00
Abdelrazak Younes
d77a22e2f9 Today is a sad day, LyXView has passed over... long live GuiView!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33393 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 17:06:40 +00:00
Richard Heck
a932148ce4 Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33392 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:31:09 +00:00
Richard Heck
1cc2d538e7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33391 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:30:12 +00:00
Jürgen Spitzmüller
d5432aa11e whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33390 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:24:01 +00:00
Abdelrazak Younes
377cdd5f6c Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now
a lot of simplification is possible. Except some instability period...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33389 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 16:11:13 +00:00
Jürgen Spitzmüller
a220c4ee4a this was not intended to go in.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33388 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:34:58 +00:00
Jürgen Spitzmüller
0d7f4bc32b * Paragraph.cpp (spellcheck):
- comment out code that makes aspell abort 
	  if a word in an unknown language is being checked
	  (instead of just skipping this word)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33387 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:33:16 +00:00
Jean-Marc Lasgouttes
ead206efb0 remove last member variables from LyXFunc and move them to cursor. Now the class can be replaced by a namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33386 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:29:27 +00:00
Jean-Marc Lasgouttes
668d0f8c3f do not use theLyXFunc()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33385 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:26:59 +00:00
Jürgen Spitzmüller
fd75ef23ae * EnchantChecker.cpp: don't crash if dictionary is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33383 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:14:38 +00:00
Enrico Forestieri
e4cff09722 Fix bug #6510: URL in the footnote will cause the `CJK' environment to terminate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33382 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:01:21 +00:00
Jürgen Spitzmüller
fef95cecbd Add language selector to the spell chekcer dialog (bug 2208).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33381 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 13:01:37 +00:00
Abdelrazak Younes
e1c713faf0 Temporarily fix bug #6412. The side effect is that, in LyX/Mac, when a
dialog is open, the menu entries that are buffer or view-related are not
going to be disabled. I'll try to solve that last issue later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33380 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 12:42:38 +00:00
Jürgen Spitzmüller
aaaf6acb2d * WordLangTuple.h: better initialization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33379 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:52:06 +00:00
Jürgen Spitzmüller
707935ab23 * store the full Language in WordLangTuple.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33378 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:26:49 +00:00
Jean-Marc Lasgouttes
3a251f0056 fix assertion in Inset::getLayout when there is no buffer (bug #6497)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33377 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 11:16:17 +00:00
Pavel Sanda
5adefc1ffe qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33376 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 08:42:12 +00:00
Abdelrazak Younes
b6560d3b67 Link fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33375 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 08:35:19 +00:00
Abdelrazak Younes
2620d74f74 Fix compilation with 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33371 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 22:20:02 +00:00
Abdelrazak Younes
52bd0268a3 * Migrate InsetFloat to InsetDialog
* Bug fix and clean up InsetFloat parameter handling: this is still not very clean as the float type is not really a parameter still... The solution is to defer the float type reading to the actual inset reading, not its creation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33370 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 22:09:40 +00:00
Jürgen Spitzmüller
a70e21a34e Patch by John McCabe-Dansted to fix bug #6502:
Wrong line count with parent math macros:

* TeXRow.{cpp,h}:
	- new helper function to insert multiple newline at once.

* mathed/MacroTable.{cpp,h}:
* mathed/MacroTemplate.{cpp,h}:
	- make write() an int, returning number of newlines

* Buffer.cpp (writeLaTeXSource):
	- update texrow's newline on parent macro output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33367 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:39:55 +00:00
Jürgen Spitzmüller
a61eeb1fb2 Allow to switch buffer languages via the menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33366 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:15:00 +00:00
Richard Heck
c9cd57c4f2 Const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33364 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 13:24:30 +00:00
Jean-Marc Lasgouttes
b4d588e78a cleanup handling of LFUN_REGEXP_MODE ; cleanup Text::getStatus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33363 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 11:19:48 +00:00
Jean-Marc Lasgouttes
7b86617ef5 fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33362 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 10:52:16 +00:00
Pavel Sanda
9429cbefc4 Next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33361 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 07:19:48 +00:00
Pavel Sanda
b7ab77c248 Unneeded include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33360 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 07:19:43 +00:00
Abdelrazak Younes
63504dc21c Fix inset creation, the inset name code was already passed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33357 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 22:11:32 +00:00
Abdelrazak Younes
1eed486fc4 ERT and Box insets: simplify dialog creation and don't hide the dialogs upon destruction anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33356 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:46:40 +00:00
Tommaso Cucinotta
c0c1e1fd2b Most common cases with regexps seem to work, at least with ignore-format on.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33355 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:44:31 +00:00
Abdelrazak Younes
116ef17ce9 Migrate ERT dialog to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33354 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:41:39 +00:00
Abdelrazak Younes
ede4c8c370 GuiBox: don't call applyView twice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33353 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:12:46 +00:00
Abdelrazak Younes
3e5ed356c0 Dialog: move method to protected area
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33352 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 21:06:43 +00:00
Abdelrazak Younes
2f168bd342 Box dialog: migrate to the new InsetDialog architecture. This simplifies the code and allows for immediate application of any change in the dialog. This is quite a complicated and non intuitive dialog still...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33351 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:28:41 +00:00
Abdelrazak Younes
1c188f022c * Dialog:
- transfer ans simplify a bit the CheckedLineEdit class from ButtonController.

* InsetDialog:
- Pimpl private data
- applyView(): now a slot, check widget before applying.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33350 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:25:53 +00:00
Abdelrazak Younes
92fa10cc49 GuiInfo: simplify code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33349 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 20:13:30 +00:00
Enrico Forestieri
fb0d2eea45 Fix shortcut target for the Contents combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33343 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 16:49:38 +00:00
Jürgen Spitzmüller
46dc00ca92 GuiProgressView.cpp:
- fix #6509: All Progressview levels should be set
	  after selecting 'All' radio button

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33340 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 14:38:02 +00:00
Tommaso Cucinotta
2d2c90f94d Completing r33336 (coloured box around regexp visible also if InsetPreview enabled).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33339 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 12:14:54 +00:00
Tommaso Cucinotta
33dca1df0f Now the coloured box around the regexp is visible also if InsetPreview is enabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33336 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 18:34:01 +00:00
Tommaso Cucinotta
9e057e7533 Improved appearence of regexp insets (at least I hope so), also suggested in #6498 (Regex looks like math).
- added a frame around regexp insets, with a customizable dedicated color code
- regexp insets font turned to texttt
- recovered back the preamble snippet allowing for latex compilation of regexp insets, something that happens if you have instant preview on.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33329 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 09:00:40 +00:00
Enrico Forestieri
d652a84f4b Automate the setting of the ascii only flag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33328 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 23:03:48 +00:00
Enrico Forestieri
271d53fdd0 Fix bug #3325: Labels with special characters in equations do not work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33325 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 19:08:17 +00:00
Enrico Forestieri
63cb2b52aa Fix bug #2872: reference in math to label with "underscore"...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33324 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 10:32:58 +00:00
Pavel Sanda
30ab229986 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33323 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 05:26:08 +00:00
Tommaso Cucinotta
b8af0d1cfd Fixed crash on searching for empty list inside empty list with ignore-format off (bug #6500).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33318 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-02 20:36:12 +00:00
Jürgen Spitzmüller
f4dc4fb4fd remove tautology
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33313 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 17:13:30 +00:00
Jürgen Spitzmüller
c997419aee resolve shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33312 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 17:09:58 +00:00
Vincent van Ravesteijn
3f40e63e1b Finally add some comments to the currentBufferView() and documentBufferView() functions.
Text from Tommaso (adjusted to my own taste) from the devel-list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33311 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 15:58:29 +00:00
Jürgen Spitzmüller
4b7f1b3c39 * GuiDocument.cpp: before accessing the buffer() in paramsToDialog(), check
if we have a bufferview() (fixes bug 6499)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33310 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 14:44:12 +00:00
Kornel Benko
0ba70d9328 Use better include for 'struct QHeaderView'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33309 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 09:54:41 +00:00
Kornel Benko
05aa189394 Make it compilable for QT4.3. (/usr/include/QtGui/qtreeview.h:51: error: forward declaration of ‘struct QHeaderView’)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33308 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 06:00:46 +00:00
Enrico Forestieri
a7c9c14b23 According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33306 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 01:07:32 +00:00
Tommaso Cucinotta
e9e6463de7 Removed obsolete FIXME (the invoked isInternal() method already does that).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33304 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 22:18:21 +00:00
Tommaso Cucinotta
dff3792986 Refactor of r33302 (addressing #6457) according to vfr comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33303 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 22:12:23 +00:00
Tommaso Cucinotta
0881479c48 Inhibits insertion of Regexp insets within InsetERT context (and fixes #6495).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33302 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 21:38:18 +00:00
Vincent van Ravesteijn
046a43fe5f Revert r33295. This seems to be a not so great idea. The assert already fires when copying something.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33301 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 20:51:15 +00:00
Vincent van Ravesteijn
9065f48ead Add an assert to check for a fully loaded Buffer before trying to save it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33295 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 16:20:47 +00:00
Vincent van Ravesteijn
f0c386fa6b Fix bug #6491: Empty .emergency file causes crash.
If the load fails, we should not try to save an emergency file as the file was not yet fully loaded and weird things may happen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33294 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 16:17:17 +00:00
Vincent van Ravesteijn
d49438e76c Return failure if the file ended unexpectedly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33293 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 15:59:23 +00:00
Vincent van Ravesteijn
8f09cda025 Please Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33292 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 13:38:47 +00:00
Jürgen Spitzmüller
e916213ac0 * GuiSetBorder.cpp: lighter colour for disabled borders (not used currently).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33291 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 13:15:26 +00:00
Vincent van Ravesteijn
00bbabd00f Fix bug #6489: Assertion triggered when deleting contents of math ERT. (probably a stdlib assertion).
Do not access name_[0] if name_ has size 0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33290 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 13:03:31 +00:00
Vincent van Ravesteijn
c1c2629ffc Fix bug #5446: Cursor gets stuck in InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33285 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 01:44:49 +00:00
Vincent van Ravesteijn
b7ff36304d Use Change::isSimilarTo to find a change when merging changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33284 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 00:21:52 +00:00
Vincent van Ravesteijn
974c9ae069 Fix r33279.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33282 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 18:11:51 +00:00
Vincent van Ravesteijn
0dbfbabc6b Move the message() function from lfunUiToggle to GuiView::dispatch(). Also, let the lfunUiToggle return a bool and let the parameter be a string instead of the FuncRequest.
(Pavel, what was "FuncRequest fr(LFUN_INSET_INSERT, "fullscreen")" supposed to mean ?).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33279 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 16:41:28 +00:00
Vincent van Ravesteijn
6ab07eb870 Do not set the statusbar message in GuiView::toolbar(). We don't really want to see the statusbar message when this function is called from initToolbars or from LFUN_COMMAND_EXECUTE. Instead, set the message in getStatus to indicate why the LFUN cannot be executed.
Also, disable the LFUN if the toolbar is not found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33278 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 16:07:53 +00:00
Vincent van Ravesteijn
8186ecfef9 Use the DispatchResult also for LFUN_MESSAGE and LFUN_BUFFER_WRITE_ALL.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33277 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 15:40:18 +00:00
Abdelrazak Younes
db19378bbe GuiInfo: Migrate [New] push button slot to InsetDialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33276 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 15:30:49 +00:00
Vincent van Ravesteijn
01897c7013 Fix assertions when there is no document open and the LFUN is handled by GuiView::dispatch().
This was forgotten in r33258.

(also reported as bug #6484)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33275 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 15:12:44 +00:00
Jürgen Spitzmüller
971d1fb7a4 GuiRef.cpp: sort categories.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33273 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 12:13:00 +00:00
Peter Kümmel
3f379915a6 CMake: fix merged build, seems GCC could not handle the namespaces correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33272 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:34:28 +00:00
Jürgen Spitzmüller
f6e81bbb95 * GuiRef: improve filter UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33271 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:19:48 +00:00
Abdelrazak Younes
d3487d106c Inset::validateModifyArgument(): new virtual interface for using LFUN_INSET_MODIFY.
GuiInfo: extract generic code into new class InsetDialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33270 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 11:15:05 +00:00
Jürgen Spitzmüller
10caadcdbe * FindAndReplaceUi.ui: adapt tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33269 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 10:56:20 +00:00
Jürgen Spitzmüller
e0d2a2adff Add search and grouping facility to Crossref dialog (bug #6304).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33268 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 10:51:24 +00:00
Tommaso Cucinotta
c0d42b97ee Made replace behaviour more standard: when pressing replace (next or previous) button:
-) if a selection exists, and it matches, then it is replaced;
-) next match is searched for and, if found, it is selected.
After a replace, next match is searched for only beyond the replaced text
(and not inside the replaced text).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33267 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 10:11:24 +00:00
Vincent van Ravesteijn
973968afce Fix a crash when the child document is already closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33266 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 00:50:36 +00:00
Vincent van Ravesteijn
8c5626cf13 Use the Buffer::reload() function also in buffer_func.cpp::checkAndLoadLyXFile().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33265 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 21:09:59 +00:00
Jürgen Spitzmüller
3410d6ad3e revert unintended commit parts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33263 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 14:52:15 +00:00
Jürgen Spitzmüller
425d092204 * fix spelling in comments to please John.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33262 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 14:44:21 +00:00
Jean-Marc Lasgouttes
167b6dc0f2 Make LFUN_HELP_OPEN open the document in read-only mode.
This fixes problems where Mac users can modify the documentation
by mistake. Note that it is still possible to open those document by
explicit path or to toggle off the read-only status (but this is only
useful to documentors anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33260 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 12:01:17 +00:00
Jean-Marc Lasgouttes
a1e991a82e Get rid of the errorstat and dispatch_buffer members of LyXFunc.
This required to make Cursor::disp_ mutable.

Also, the server parts now pass a DispatchResult object to dispatch (which is
a good thing anyway).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33259 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 11:22:33 +00:00
Jean-Marc Lasgouttes
00338d3747 add a dispatchresult parameter to lyxview::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33258 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 10:42:39 +00:00
Jürgen Spitzmüller
676aca028d * FindAndReplace.cpp:
- correct strings, following the attempt at r33252.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33255 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:59:09 +00:00
Jürgen Spitzmüller
d907d5421e * GuiView.cpp:
- use tabbed dock area for multiple docks (such as "source" and "messages")
	  by default (requires Qt 4.3).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33254 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 08:19:45 +00:00
Tommaso Cucinotta
52c059e68a Make the fake sequence for braces highly unlikely (addressing #6478).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33253 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 07:35:13 +00:00
Vincent van Ravesteijn
489b80aef4 Correct the mess introduced in r33250.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33251 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 20:03:09 +00:00
Vincent van Ravesteijn
61eecb8a44 Expand the string "regexp" to something user will better be able to understand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33250 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 19:56:12 +00:00
Jürgen Spitzmüller
7bbd67eb26 * Implement updateLabels in mathed and add the MathRef insets to the references cache.
This fixes bug #1560.

The diverse setBuffer / updateLabels calls need auditing. See FIXMEs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33249 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 17:37:22 +00:00
Tommaso Cucinotta
c6784d708d Open or closed braces ({ or }) are now translated to non-braces fake constructs while searching (fixes #6478, avoiding assert).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33248 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 17:26:18 +00:00
Jürgen Spitzmüller
5b2d31fbb1 * InsetTabular.cpp (addToToc):
- pass correct iterator (and prevent assertion).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33247 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 12:25:43 +00:00
Jürgen Spitzmüller
fd40810a8c * InsetMathHull.h: constness, as suggested by Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33243 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:18:15 +00:00
Jürgen Spitzmüller
bc5fd28ddf * InsetTabular.{cpp, h}:
- implement addToToc (bug 6372).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33240 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 08:33:14 +00:00
Vincent van Ravesteijn
347d4a7d3e Rewrite FindAndReplace::eventFilter() and make it more human-readable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33238 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 19:17:18 +00:00
Tommaso Cucinotta
e6fbc8bc72 Get rid of non-existent slot warning after removal of Close button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33237 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:38:43 +00:00
Vincent van Ravesteijn
a4e03846cd Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33236 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 18:10:33 +00:00
Pavel Sanda
b16e500d5c Let the tag affect other sides too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33235 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:23:40 +00:00
Pavel Sanda
ae752e13a5 Introduce "samerow" toolbar tag and let View/Update toolbar to be in the
beginning of the first row.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156961.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:19:14 +00:00
Tommaso Cucinotta
19806d62f7 Avoid overlapping of shortcuts with Menu items (for English and Italian).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33232 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:35:16 +00:00
Tommaso Cucinotta
23fda6aaf7 Removed redundant Close button (space may be useful for smth. else).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33231 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 12:27:58 +00:00
Jürgen Spitzmüller
a484f95910 When pasting a math inset with a label, check for duplicates (as we do outside math)
(bug 6218)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33230 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 08:41:19 +00:00
Vincent van Ravesteijn
f68fcc98a9 Fix bug #6477: LFUN_OUTLINE_* don't work anymore.
This code was erroneously killed in r33050.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-26 16:57:29 +00:00
Abdelrazak Younes
9eabfb51ac Buffer: Pimpl private methods and fix a few constness issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33227 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 18:39:08 +00:00
Jean-Marc Lasgouttes
fe9a43f44b Add DispatchResult argument to BufferView::dispatch, and remove explicit updates in there.
Split LyXFunc::dispatch into a wrapper that does the actual screen updates and
a worker method that updates a DispatchResult object.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33226 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 15:14:41 +00:00
Abdelrazak Younes
a4e56ba613 Buffer: Pimpl gui_ and remove unused code. support/SignalSlot* should
probably go also as we agreed that if we need signal/slot in src/ we'll
directly use Qt's.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33224 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 14:32:39 +00:00
Abdelrazak Younes
d9f22c0233 Get rid of mostly unused methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33223 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 14:13:04 +00:00
Abdelrazak Younes
11474f6b89 Get rid of Buffer::setReadOnly() pseudo signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33222 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 13:31:07 +00:00
Jürgen Spitzmüller
e4f796aee7 FindAndReplace.cpp: line length and formatting blues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33221 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 08:06:26 +00:00
Jürgen Spitzmüller
fa1d1a464d FindAndReplaceUi.ui: add tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33220 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:45:41 +00:00
Jürgen Spitzmüller
995471b16d * add forgotten l7n tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33218 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 07:23:58 +00:00
Jürgen Spitzmüller
138a4f8e9c * FindAndReplace{cpp,h,Ui.ui}: some UI plishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33217 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-25 06:58:54 +00:00
Pavel Sanda
55a52edb2c next doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:46:09 +00:00
Pavel Sanda
091bdc1ac2 Spotted by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33209 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 20:16:43 +00:00
Vincent van Ravesteijn
f792df16b3 GuiCitation.cpp:
CitationUi.ui:
   - fix the casing
   - replace some informal expressions by some proper sentences (I don't like things like "Delete key works, too"

BiblioUi.ui:
   - "man bibtex" has no value in the non-linux world
   - stick to the BibTeX convention compared to bibtex

FindAndReplaceUi.ui:
   - fix the casing
   - remove the "current file" annotations
   - some other fixes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33208 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 19:16:44 +00:00
Vincent van Ravesteijn
bbb7e00486 IndicesUi.ui: Fix copy&paste error in the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:50:46 +00:00
Jürgen Spitzmüller
ee9a70acbe * BufferView.cpp:
- Fix crash when performing word-replace while the cursor has a selection
	  in mathed (bug 6437)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33204 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 17:35:10 +00:00
Vincent van Ravesteijn
5d91b83813 Fix compilation with CMake on linux. (Am I the only one having this problem ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33197 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 13:57:45 +00:00
Jürgen Spitzmüller
c1e79cde53 revert r30112 (#5988).
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155843.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33191 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 10:32:22 +00:00
Vincent van Ravesteijn
e0c3837dcf GuiCompare: Show the contents of the Options groupbox, add some accelerators and make it compatible with Qt4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33185 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 01:49:22 +00:00
Vincent van Ravesteijn
e3c9fa3d0d Compare:\n- Fix the doubly added first snake. \n- Fix the behaviour when comparing two the same files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33184 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-24 00:55:08 +00:00
Abdelrazak Younes
a87c8175f1 About box: Migrate to DialogView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33180 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 20:29:00 +00:00
Enrico Forestieri
b5d172abc8 Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33178 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 17:24:58 +00:00
Jürgen Spitzmüller
96dc966114 really fix the Diamond toolbar item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33176 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:59:48 +00:00
Jürgen Spitzmüller
b33608452a * FindReplace.cpp:
- de-modularize message. It's impossible to properly translate such LEGO-strings.
	  Also mark the scopes, due to their syntactic case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33172 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:15:37 +00:00
Enrico Forestieri
b5d3593160 Revert r33169. That was too simplistic. We have to use the workaround
only when the Times Roman font is used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 01:36:40 +00:00
Enrico Forestieri
8b793d88b5 Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33169 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 01:27:42 +00:00
Jürgen Spitzmüller
407b359809 * FindReplace: allow proper localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33166 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 17:57:16 +00:00
Jürgen Spitzmüller
7746747506 * add support for the enchant spell checker (bug 6226).
SCons might be broken.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33157 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 15:26:38 +00:00
Richard Heck
1d6923b65b Use the attributes MTag now takes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:06:44 +00:00
Richard Heck
7a32a8489a Allow MTag to take attributes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:06:29 +00:00
Richard Heck
4a4ec0c96a We do not need to extract exponents, either.
There may be more we do not need to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:05:53 +00:00
Richard Heck
51a388e745 We do not need to extract limits for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 21:01:51 +00:00
Richard Heck
a36607b800 XHTML for InsetMathSize.
We now have nice output of the User's Guide.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 20:48:12 +00:00
Richard Heck
00753ae61e Simplify InsetCitation::basicLabel() code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:58:21 +00:00
Richard Heck
9a327ccc51 Fix non-BibTeX detection of "author (year)" labels.
Jurgen, this one is actually for branch, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:48:53 +00:00
Richard Heck
ca40daccb0 Forgot to wrap first citation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:30:39 +00:00
Richard Heck
7cd56e334d Output labels (1.1, etc) with the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:11:46 +00:00
Richard Heck
0ac7123011 Translate TOC title to document language, not GUI language.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:01:22 +00:00
Vincent van Ravesteijn
562f1da9c9 Fix the Compare feature. The compl_vector class shouldn't be accessed twice in one statement as it might happen that the vectors are reallocated, such that the references are not correct anymore.
(P.S. Compare this to the fact that you're not supposed to refer to x and ++x in one statement.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:58:55 +00:00
Richard Heck
3794f7c753 Use cached label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33136 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:55:02 +00:00
Richard Heck
f385f7a2b2 Remove it for real now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:51:26 +00:00
Richard Heck
22efc89c79 Remove an unnecessary dependency.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33134 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:49:08 +00:00
Richard Heck
b18bfcf3cc Kill a (public) magic boolean.
The point of this will become clear shortly. I hope.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:46:20 +00:00
Richard Heck
bb044b16c9 Formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 18:12:23 +00:00
Tommaso Cucinotta
dd38c54f66 Code cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 17:11:17 +00:00
Jean-Marc Lasgouttes
943a39b1e2 always close properly undo groups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 16:59:39 +00:00
Jürgen Spitzmüller
4ebc0c071e * HunspellChecker.cpp:
- implement accept()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 12:47:45 +00:00
Richard Heck
4390d8e3ef Don't show deleted stuff in output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33124 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:42:27 +00:00
Richard Heck
aff3907ec6 Fix output of formatted counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:28:42 +00:00
Richard Heck
0568e46eea Proper output of counters in appendix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 21:20:30 +00:00
Richard Heck
4dd9a8acf1 Partly disable pretty counter output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:11 +00:00
Richard Heck
c2ac70552c Introduce a "formatted counter" for use with formatted reference during
XHTML output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:33:36 +00:00
Richard Heck
f1b8f4d059 Make the new argument to step() mandatory, and add a comment to
sgml::OpenTag().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33112 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:47:27 +00:00
Richard Heck
f2e3342983 Fix warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:46:02 +00:00
Richard Heck
caa4e94bf0 Get rid of some magic booleans in updateLabels() and related routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:42:12 +00:00
Richard Heck
bd95cdb734 Add OutputEnums.h. This enum will shortly replace some magic booleans
that have crept into my code. I'm putting it in a separate file becuase
it is going to be included in Counters.h. The other obvious places to
put it would lead to large includes in this file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:41:44 +00:00
Richard Heck
22dc345e8c Better XHTML output for InsetRef.
The idea here is to implement something like \refstepcounter for LyX. We
do this by tracking the "active" counter in Counters.cpp. We also have
to track when we go in and out of environments to which counters are
local, and so on and so forth.

This all gets done in updateLabels(), but only if we are producing
output, which is why I added the output boolean a while ago.

I expect there are bugs in here, though it seems to work pretty well
with the documents I've tested.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:03:17 +00:00
Tommaso Cucinotta
be7d7df5a3 Dispatch BUFFER_SWITCH only if buffer actually changed (avoids some flickering when buffer is unchanged).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:18:04 +00:00
Richard Heck
37f4de4cd2 The BufferList does not know about cloned buffers, so the parent of a
cloned Buffer is always "unloaded" as far as the BufferList is
concerned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33105 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:53:18 +00:00
Richard Heck
e12d2b8b58 Move comments to functions, not private members.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33104 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:51:07 +00:00
Richard Heck
cf086092e2 Add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33102 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:51:20 +00:00
Richard Heck
4600e6c0b8 Remove half a comment?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33101 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:29:52 +00:00
Richard Heck
43e1428dbd Remove things to be removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:24:46 +00:00
Richard Heck
3e654186d2 Move the StartTag, EndTag, and CompTag classes into the html namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33099 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:08:04 +00:00
Richard Heck
1832a388c5 Collect the title for XHTML output, and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:43:15 +00:00
Richard Heck
557c705cbb Fix listings XHTML output: No paragraphs in there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33096 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:11:12 +00:00
Jürgen Spitzmüller
3a714c6057 * ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Jean-Marc Lasgouttes
c129f0f8b3 New behaviour when using break-paragraph on an empty paragraph where
KeepEmpty is false:
* if depth>0, decrease depth
* if depth = 0 reset layout to standard

This implments a hopefully intuitive way of getting out of enumerations and
other environments.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 22:11:06 +00:00
Jürgen Spitzmüller
4506ec88ab * Add support for aspell language varieties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:02:05 +00:00
Jean-Marc Lasgouttes
6ee95e6d64 make sure that error_ is correctly initialized
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 11:50:12 +00:00
Enrico Forestieri
51d70699ef Fix bug #5525: Windows XP doesn't shut down with LyX open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 23:01:48 +00:00
Enrico Forestieri
ff41842b03 Fix horizontal size of replacement combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33075 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 16:43:17 +00:00
Jürgen Spitzmüller
9a63a02956 * InsetIndex.{cpp,h}:
- add index name to button label (part of #6455).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33074 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 14:47:45 +00:00
Jürgen Spitzmüller
56b2ee289b * GuiSpellchecker:
- implement event filter and allow selection of suggestions with the keyboard
	  (second part of bug 6460).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 12:27:44 +00:00
Jürgen Spitzmüller
75988e1752 * Add more keyboard accelerators to the spellchecker dialog (part of bug 6460).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 10:51:32 +00:00
Jürgen Spitzmüller
95466fff15 * revert r32450 which broke polytonic Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:52:42 +00:00
Vincent van Ravesteijn
ec96bbe429 Try to fix an assert coming from "gcc vector-index checks".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 00:22:15 +00:00
Pavel Sanda
17e2928374 Kill LFUN_OUTLINE_DRAGMOVE.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157155.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:13:24 +00:00
Jean-Marc Lasgouttes
e88b91116f remove bad and unused #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:37:17 +00:00
Jean-Marc Lasgouttes
acefad32e4 Kill warning and avoid double arithmetic. Vincent, I hope I did not break something...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:32:05 +00:00
Jean-Marc Lasgouttes
ad55d4631f compilation fir with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 14:40:00 +00:00
Peter Kümmel
70e29b2cc7 add warning about processing events
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 10:53:56 +00:00
Richard Heck
9f2e85d565 Revert r33039, which did not work at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 23:45:53 +00:00
Richard Heck
59c04f7096 The fortoc argument I introduced earlier should all along have gone into
OutputParams. So now it is there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 22:24:43 +00:00
Richard Heck
d2dc4652fa Character styles should have MultiPar = false, by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:43:44 +00:00
Richard Heck
e0eaa73224 Minor InsetLayout cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:31:27 +00:00
Richard Heck
1d6b666431 Finish the output of the index for XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 20:01:53 +00:00
Richard Heck
c4d8a27585 Better error messages for failed conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33034 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 17:11:02 +00:00