Commit Graph

168 Commits

Author SHA1 Message Date
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
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Martin Vermeer
b4b47d783b Make autocorrect configurable in preferences file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 09:48:00 +00:00
Pavel Sanda
c5b2eb76b6 another ispell leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-09 10:45:29 +00:00
Jürgen Spitzmüller
df4814e026 Add support for MyThes (i.e., OpenOffice thesauri).
RegExp experts please have a look at the FIXMEs in GuiThesaurus.cpp.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 18:48:25 +00:00
Jean-Marc Lasgouttes
970911abe6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:57:21 +00:00
Pavel Sanda
03cc2c2f13 Add some hook for the next rc2rc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 13:27:00 +00:00
André Pönitz
8e366b1cab remove spellchecker command and flag telling us whether to use a process or a
library.

Somebody schould create a rc2rc script...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27531 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 12:22:54 +00:00
André Pönitz
8f081b1e74 remove ISpell and PSpell support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27477 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 19:06:17 +00:00
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Jürgen Spitzmüller
641708ac4b * separate nomencl processing command from index processing command, since nomencl
relies on makeindex (with specific options) [bug 5184].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 09:44:00 +00:00
Jean-Marc Lasgouttes
5cef8b6887 * LyXRC.cpp:
* development/MacOSX/lyxrc.dist.in: new variable mac_like_word_movement,
	set to true on Mac OS X. There is no GUI for it now.

	* src/Paragraph.cpp (isSpace): new method
	(isChar): return false for a space.

	* src/Text.cpp (cursorForwardOneWord, cursorBackWardOneWord): implement
	mac-like cursor movement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 14:42:32 +00:00
Abdelrazak Younes
43d9183798 Idea from JMarc:
Merge env_gui_language into gui_language. "auto" now means that the language will be retrieved from the environment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25380 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-24 13:23:44 +00:00
Abdelrazak Younes
b04c22ba67 Add two RC variables that can be used to set the GUI language:
- env_gui_language: set to true (default) if the language is to be retrieved from current environment variable.
- gui_language: specify language for GUI strings. Only used if env_gui_language is false


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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 07:34:55 +00:00
André Pönitz
2e968d0661 next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-29 17:57:57 +00:00
Jürgen Spitzmüller
adc9429855 Correctly handle quotation marks in command preferences (bug 2016):
* src/LyXRC.cpp:
	- new helper function to escape commands
	- parse escaped commands

* src/Lexer.{cpp,h}:
	- whitespace/typos.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 13:53:28 +00:00
Jean-Marc Lasgouttes
69500a4eb3 Fix bug 4779 (printing not possible)
http://bugzilla.lyx.org/show_bug.cgi?id=4779

This was a collateral damage of the 'lyxlex simplification'.`


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24474 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-23 10:25:34 +00:00
Richard Heck
8a69ffd3bf Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got everything, but this does compile, and it seems to work at least reasonably well. Any problems should of course be reported to the list.
For the record, this developer is sorry that the problems with this code were not noticed much earlier. It's not fun to do so much work and then have it all reverted.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24373 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-20 03:08:11 +00:00
André Pönitz
37e0c52f1d more compact code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24126 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 12:56:43 +00:00
André Pönitz
e7645f2439 use simpler parser interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-05 10:34:29 +00:00
André Pönitz
c88e7a7ef6 simplify Lexer handling a bit more
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24106 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-03 20:55:09 +00:00
André Pönitz
11a0458d3f next try...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24100 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 23:06:22 +00:00
André Pönitz
2012beb58e revert last patch. there's something wrong, possibly unrelated to this
patch, but as this was rather largish...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24099 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:44:33 +00:00
André Pönitz
7677e9487c simplify Lexer use a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24098 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 22:14:45 +00:00
Jean-Marc Lasgouttes
680a2f39b6 restore line removed by mistake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24096 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 17:08:48 +00:00
Jean-Marc Lasgouttes
6e74e240ff do not use #ifdef in main code; use the lyxrc.dist mechanism to provide defaults for mac osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 09:18:03 +00:00
Stefan Schimanski
9e499117e3 * possibility to disable the completion cursor in text. All those
"*supported" methods maybe should be merged with a bit-enum as return value.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23776 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-16 17:07:10 +00:00
Bo Peng
0f9a8fcad4 Add use_bundled_format rc entry to allow creation of new buffers in bundled format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 22:41:54 +00:00
Stefan Schimanski
e46d043034 * fix order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-15 00:14:15 +00:00
Stefan Schimanski
25e0113c9c * Use open_buffers_in_tabs instead of single_window. The latter even confused me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:27:31 +00:00
Stefan Schimanski
0ba2a1e6f8 * preference option to open buffers in tabs or new windows
* moved the open/new file dispatches into GuiApplication to make them GuiView independent


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 23:24:45 +00:00
Stefan Schimanski
473091fb82 * center the line in the layout category headers in the middle of the lowercase chars
* some messages for the statusbar
    * configuration option for grouping of the layouts
    * put category headers above the first item of each category in the
      layout list.
      To avoid scrolling we have to sneak in space for the headers.
      So we tweak this value accordingly. It's not nice, but the
      only possible way it seems.

    Note 1: Because QComboBox uses the "first row's height * rowCount" to
    estimate the height of the popup, we have to fake some extra pixel
    lines to avoid scrolling because of the extra space taken by the
    headers. This is a hack, but I don't see a better way to establish that.

    Note 2: An alternative implementation is to insert headers as real list
    items. But it seems that QListView cannot skip them in cursor
    navigation then. So we stick to the upper approach.

    * remove checkbox in layout menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23626 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:02:57 +00:00
Jean-Marc Lasgouttes
e744d0e989 sort lyxrc keywords table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23124 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-22 10:25:12 +00:00
Stefan Schimanski
1bf7b59d60 * completion infrastructure
* completion support for mathed
* experimental completion support for text


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-21 19:42:34 +00:00
Pavel Sanda
72b270ab4b Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut

Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html ) 
- Toolbars visibility is shared between windows (views)
  (needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
  (i.e. margins and tabbar get visible)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 21:51:55 +00:00
Abdelrazak Younes
2bf1c09376 header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23049 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-18 07:14:42 +00:00
Dov Feldstern
a9770a18cd Adding preference for visual mode for bidi cursor movement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22928 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-10 19:51:23 +00:00
Stefan Schimanski
dd3842505b * a configuration value for the mouse wheel scrolling speed:
lyxrc.mouse_wheel_speed 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22717 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-30 21:20:29 +00:00
Stefan Schimanski
4eaa564c95 * sort lyxrc tag table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-26 17:44:15 +00:00
Stefan Schimanski
8e212b98b4 * optional old-style editing mode for macros with a parameter list.
* combobox in the preferences dialog to choose the macro editing mode of choice.

The reason for the three choices (inline box, inline without box,
list) is that it seems that there are at least these three groups of
people, and each of them is very strong about their opinion what that
the best mode is. So here there are all of them, pick your favourite.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-25 22:02:38 +00:00
Stefan Schimanski
0a701fb254 * Option to make macro editing less "noisy" by hiding the grey box with the
macro name when the cursor is inside. The downside of the coin is that
you have to look into the statusbar to see which macro is used. But
some people prefer that than having the slight size change of macros
when the cursor enters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22650 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 21:23:41 +00:00
Abdelrazak Younes
33eb188fb6 Add an RC setting to disable/enable the tooltips in the work area.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 13:52:56 +00:00
Abdelrazak Younes
7c392af6ea getting rid of superfluous lyx::support:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:57:42 +00:00
Abdelrazak Younes
9abb7db468 getting rid of superfluous std:: statements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
b89cc942eb 'using namespace lyx::support' instead of 'using support::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
9383f4c3c6 'using namespace std' instead of 'using std::xxx'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Bernhard Roider
4cd6123095 CmdDef:
- deboostification
- correct comments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21931 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-02 22:10:26 +00:00
André Pönitz
9d0ea8aeff Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
Now support/* should have no dependencies on src/* anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
Uwe Stöhr
58135f8b27 support to set the examples folder in the preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:26:58 +00:00
André Pönitz
e1ce2f92db reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00