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
Uwe Stöhr
22b6c6d4f2
Spanish Math.lyx, UserGuide.lyx: translations by Ignacio
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33341 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 14:58:52 +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
Kornel Benko
0f3c445dd4
Extracting also strings containing dash from languages-file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 14:49:58 +00:00
Jürgen Spitzmüller
112a909fbe
revert r33327.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33331 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 09:25:49 +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
Kornel Benko
2a69d4e4f8
Change, so that lyx_pot.py is extracting this string too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33327 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 19:40:51 +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
Uwe Stöhr
b2e2f61495
Math.lyx: update typographic advice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33321 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 01:18:47 +00:00
Uwe Stöhr
1b916a1930
elsarticle.lyx: don't use the geometry package because this leads to option clashes when global document class options are used, see this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79184.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33319 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 00:07: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
Jean-Marc Lasgouttes
2425391657
remove variables initializations that are immediately overridden
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33317 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-02 19:26:04 +00:00
Enrico Forestieri
032370fe10
Try to mitigate shortcut collisions in it.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33315 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-02 15:57:59 +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
Enrico Forestieri
10b3f73e19
Update it.po
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33305 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 23:49:00 +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
Uwe Stöhr
fcdad6f7e7
UserGuide.lyx: fix some typos and add an information
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33299 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 18:22:58 +00:00
Uwe Stöhr
d5a1c38bb4
- EmbeddedObjects.lyx: fix spelling of the KOMA-Script package
...
- English EmbeddedObjects.lyx: fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33297 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 17:52:51 +00:00
Uwe Stöhr
13b8b19f6a
UserGuide.lyx:
...
- accept most of Richard's changes
- fix some typos
(again: please add all non LyX 2.0-specific stuff only to the docs in branch.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33296 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 17:23:50 +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
Uwe Stöhr
126e78e408
EmbeddedObjects.lyx: fix several typos I have overwritten with r33287
...
(Please apply changes to the docs that are not LyX 2.0-specific only to branch, otherwise I loose the track.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33289 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 04:14:11 +00:00
Uwe Stöhr
55b2e360e6
EmbeddedObjects.lyx: fix a typo spotted by a user
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33287 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 03:53: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