Commit Graph

119 Commits

Author SHA1 Message Date
Stephan Witt
e99bd868f9 use "alt" instead of "option" for modifier keyword
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34967 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 10:04:59 +00:00
Stephan Witt
0d386d7c25 make mouse scroll wheel zoom configurable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34955 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 22:29:42 +00:00
Richard Heck
17166837d7 Revert last commit. I was confusing two things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 14:13:47 +00:00
Richard Heck
e611cc2d4a Enhance LyX by fixing #6760. New preference to set minimum length of
automatically spellchecked words.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 14:08:44 +00:00
Uwe Stöhr
e2e63b4b1b support for the ISO C-series paper formats; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-13 01:06:20 +00:00
Stephan Witt
7b34b13b71 avoid LYX_PLATFORM_DARWIN10 macro
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34861 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 21:30:47 +00:00
Stephan Witt
f4aedbe672 correct ifdef+defined construct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34813 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 10:39:24 +00:00
Stephan Witt
0a326e90f7 provide native spell checker for Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:40:50 +00:00
Peter Kümmel
f50127ffe8 compile with GCC 4.4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-06 10:07:49 +00:00
Edwin Leuven
f403c0a601 get rid of some missing enum warnings after r34598
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34599 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 08:26:00 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Uwe Stöhr
326e228107 LyXRC.cpp: add new page sizes to known sizes, thanks JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34443 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-21 22:10:57 +00:00
Pavel Sanda
62ca7f3ae5 Proper camel case for FileName.absFilename
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:09 +00:00
Enrico Forestieri
3f87d9056d Fix bug #2844: Need option to overwrite without dialog popup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34229 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-20 16:49:49 +00:00
Pavel Sanda
98f106f2ca Guify forward search.
No viewer set by default, which keeps context menu clean for uninterested users.
Settings are hinted at combobox.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:09:07 +00:00
Enrico Forestieri
ba57ee8a24 Modify the forward-search lfun such that no argument is needed.
If a dvi file exists in the temp dir, the command specified by the
\forward_search_dvi rc setting is used to initiate the search.
Otherwise, if a pdf file exists, the forward search is performed by
using the command specified by the \forward_search_pdf rc setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 23:32:52 +00:00
Jean-Marc Lasgouttes
fe0a508b83 correctly escape the forward search command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:45:09 +00:00
Pavel Sanda
837ef10312 We need the whole line in settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:35:02 +00:00
Pavel Sanda
5862c1e414 Fix #94 - LYX forward DVI search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 13:19:48 +00:00
Vincent van Ravesteijn
1e4ccc2d22 Fix bug #6617: Allowing "compressed documents" be the default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33870 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:02:56 +00:00
Richard Heck
8f5d4a3fcb Get rid of label_init_length. There is no way to set it from the GUI any
more. Worse, it was being used inconsistently. And we don't really need
it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:50:58 +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
Richard Heck
626e17a55d Show only those spellers that are active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 14:03:19 +00:00
Richard Heck
973b0e25fb Redo the viewer_alternatives and editor_alternatives in terms of a map,
rather than a vector. This helps deal with problems involving multiple
specifications of a single command. (Even after the previous commit, 
we were still getting duplicates in the UI after every alteration of 
the preferences.) It's also more natural, anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-17 22:52:16 +00:00
Richard Heck
9c3fc03f3a Fix how viewer_alternatives and editor_alternatives are written
to the preferences file. The old way produced tons of duplicates.
The fix is the same as for a prior bug with bibtex_alternatives.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-17 18:02:40 +00:00
Pavel Sanda
a1ca858084 Fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:22:06 +00:00
Pavel Sanda
3f170ec08c Fix bug #5977 - Make Close button on tabs configurable
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154950.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31535 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 23:06:29 +00:00
Abdelrazak Younes
2d027e83f9 Move actOnUpdatedPrefs() to LyXRC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31494 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 19:37:29 +00:00
Uwe Stöhr
cb71b8a8de GuiPrefs:
- implement an UI to specify the size of InstantPreview images
- change the default size to 1.0 because we've got many complaints that the former default size of 0.9 was too low

Both changes fix #6176.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 00:44:43 +00:00
Jürgen Spitzmüller
b21794071f * LyXRC.cpp:
- support blanks in viewer_alternatives command.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 16:06:50 +00:00
Jürgen Spitzmüller
2ebb97758c * store all available viewers/editors and allow for an alternative selection in the GUI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31291 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:11:43 +00:00
Vincent van Ravesteijn
6ee19b2a54 Fix bug #6129: Show paragraph marks / pilcrows.
To be activated in Tools->Preferences->Display.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:46:43 +00:00
Abdelrazak Younes
21daab357b Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC.
There are two new rc preference:

* spellchecker: can now be "aspell" or "hunspell", this is selectable in the SpellChecker preference dialog
* hunspelldir_path: needed for hunspell dictionaries which are defined to be in a fixed location. This can be modified in the path preference dialog.

The SpellChecker classes could be instanciated on the fly whenerver they are needed if we want that.

Please test and help me finish this hunspell integration...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-08 17:05:31 +00:00
Vincent van Ravesteijn
997d8ba557 Fix bug #6119: Keyboard map still shows up after deleting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30850 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 19:54:32 +00:00
Jean-Marc Lasgouttes
dae70977a0 get rid of the \use_escape_chars pref, which was not used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:53:49 +00:00
Jean-Marc Lasgouttes
889fdbd39b get rid of the \use_alt_language pref, which was not used. Instead, we test whether \alt_language is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:31:43 +00:00
Jean-Marc Lasgouttes
9cd55dbe5c fix reading of obsolete prefs (the argument never got discarded)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:04:55 +00:00
Jean-Marc Lasgouttes
539fa60a80 fix a few compilation warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 14:28:13 +00:00
Jean-Marc Lasgouttes
c676b24359 prefs \use_personal_dictionary and \personal_dictionary are not used anymore (ispell only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 13:30:28 +00:00
Jean-Marc Lasgouttes
6b92b1c6ae pref \use_input_encoding is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:56:33 +00:00
Enrico Forestieri
3e18652f8e Fix doubling of bibtex and index alternatives everytime preferences are saved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29876 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 12:49:41 +00:00
Enrico Forestieri
852dfe3869 Fix writing of \bibtex_alternatives and \index_alternatives to the
preferences file. Now the alternatives are only written if they have
actually been changed, and not always as it was before. Existing
preferences files will be automatically trimmed on next save.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:21:33 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
Jürgen Spitzmüller
48f36f59e7 * configure.py:
- add new method that records all available alternative programs
	  as opposed to only the first found one.

* LyXRC[cpp,h}:
* LyXFunc.cpp:
	- new RCs \bibtex_alternatives and \index_alternatives, holding
	  alternative processors.

* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
	- UI to select from a list of preconfigures bibliography/index processors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
26b361417d * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Jürgen Spitzmüller
823e44822e * remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:11:14 +00:00
Jürgen Spitzmüller
25a14730ed * First step towards default view format.
The icons could be replaced by something nicer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 05:01:08 +00:00
Abdelrazak Younes
29c40527e5 Put the foundations to support continuous spell checking.
* Font: new misspelled_ member.
* GuiPrefs/PrefSpellchecker: new check box to enable/disable continuous spellcheck.
* LyXRC: new spellcheck_continuously parameter.
* RowPainter: new paintMisspelledMark() method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:57:30 +00:00
Vincent van Ravesteijn
7ad28349ab Fix bug 4935: Scroll down below document
http://bugzilla.lyx.org/show_bug.cgi?id=4935

* GuiPrefs: Add an option to the Editing dialog.

* BufferView: Scroll below document if the option is set.

* LyXRC: Write/read the option from preferences file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:41:58 +00:00