Abdelrazak Younes
68fbb326af
* GuiWorkArea::addWorkArea(): avoid multiple unneeded drawing.
...
* GuiWorkArea::on_currentTabChanged(): make sure the bufferView has the correct size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25271 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 07:23:08 +00:00
Enrico Forestieri
90837aaf6e
Fix bug 1527
...
http://bugzilla.lyx.org/show_bug.cgi?id=1527
* src/mathed/*.cpp:
- Track mode (math or text) when outputting latex code and
properly wrap commands that are in the wrong mode with
either \ensuremath or \lyxmathsym.
* src/mathed/MathParser.cpp:
- Parse \ensuremath and \lyxmathsym, such that exported latex
produces the same result when imported back.
- Replace latex commands with corresponding unicode symbols.
* src/Encoding.cpp:
- Implement Encodings::fromLaTeXCommand() for converting either
a single or a sequence of latex commands to unicode symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-16 01:21:17 +00:00
Pavel Sanda
4044737b8d
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:56:45 +00:00
Stefan Schimanski
978a357864
* doxygen for LFUN_MATH_MACRO
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25268 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:42:45 +00:00
Pavel Sanda
389d2f99c0
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:22:47 +00:00
Pavel Sanda
8ab36ddef7
Let LFUN_MATH_SPACE use various spaces we support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 22:12:40 +00:00
Jürgen Spitzmüller
483e1fcd19
ExternalTemplate.cpp:
...
- sort Lexer table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:23:45 +00:00
Enrico Forestieri
593e06989a
Fix bug 4951
...
http://bugzilla.lyx.org/show_bug.cgi?id=4951
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25261 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 14:21:53 +00:00
Pavel Sanda
61e2044d22
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25258 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 10:19:39 +00:00
Pavel Sanda
a4b76f6605
Make Delimiter dialog stretchable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25257 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 10:06:54 +00:00
Pavel Sanda
58ad19a232
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25251 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-15 00:44:17 +00:00
Pavel Sanda
cb5ce8348b
Ressurect LFUN_MATH_SIZE, set toolbars accordingly.
...
http://thread.gmane.org/gmane.editors.lyx.devel/108469
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25250 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-14 18:38:14 +00:00
Pavel Sanda
5e603f5703
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-14 18:25:21 +00:00
Pavel Sanda
ce2380135b
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 14:15:13 +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
Pavel Sanda
2c44c3d031
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25244 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 00:03:36 +00:00
Pavel Sanda
87a64de1e7
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25243 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 20:16:51 +00:00
Abdelrazak Younes
d353a6f899
Mac compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25241 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 17:34:01 +00:00
André Pönitz
5791f8a894
cosmetics; compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25239 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 16:46:46 +00:00
Abdelrazak Younes
28b77e4f72
GuiView: Moving updateStatusBar() out of updateDialogs() because this is no end of trouble WRT recursive paintings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25238 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 16:00:36 +00:00
Abdelrazak Younes
825bac4b43
Fix crash on new document.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:43:31 +00:00
Abdelrazak Younes
edd117f27a
remove unneeded TocModel::clear() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25236 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:34:12 +00:00
Abdelrazak Younes
6876ffa65b
Simplify TocModel by using UserRole data.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25235 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:31:10 +00:00
Abdelrazak Younes
f8110b8b60
Fix another recursive repaint problem with Qt4.4 when erasing a section text with backspace while the Outline is opened.
...
This should in principle not affect drawing but X11 testing with autorepeat key is required.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25234 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 15:25:17 +00:00
Abdelrazak Younes
1494e0a687
Fix crash when closing a second lyx window due to a recursive painting (QT4.4 issue). This code was not needed anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 13:04:59 +00:00
Pavel Sanda
dc4f254726
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25232 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 11:10:47 +00:00
Pavel Sanda
74fa517035
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25231 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 23:24:28 +00:00
Abdelrazak Younes
158863fd3b
TocWidget: Small reorg in order to fix http://bugzilla.lyx.org/show_bug.cgi?id=4940
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 18:13:14 +00:00
Pavel Sanda
ed12154445
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:49:43 +00:00
Pavel Sanda
154fe36eb2
Old, unused and handled elsewhere.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 09:05:46 +00:00
Pavel Sanda
07113cf424
LFUN_FONT_FREE_* -> LFUN_TEXSTYLE_*
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg141274.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25225 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-11 08:35:15 +00:00
Pavel Sanda
d708dfe1fd
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25224 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 21:37:40 +00:00
Pavel Sanda
4315b23d61
cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25223 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:50:04 +00:00
Pavel Sanda
95b509baef
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25222 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 11:46:40 +00:00
Jean-Marc Lasgouttes
b4811438e3
typo spotted by JP Chretien
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25221 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-10 08:31:21 +00:00
Pavel Sanda
08b0aaea54
oops.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25220 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:34:50 +00:00
Pavel Sanda
6c9f298fa1
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:31:22 +00:00
Abdelrazak Younes
1239d32174
Maybe fix http://bugzilla.lyx.org/show_bug.cgi?id=4939
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25218 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 22:25:51 +00:00
Abdelrazak Younes
fe9de1f1d6
potential fix to outline drawer when leaving full-screen mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25217 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 16:11:47 +00:00
Abdelrazak Younes
efd40b2673
Outline focus fix for mac: Make sure the GuiView is raised and activated before setting the focus.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25216 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:33:42 +00:00
Jürgen Spitzmüller
15676a062f
proper fix for bug 4936.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25215 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:20:38 +00:00
Abdelrazak Younes
16420e5263
Allow the toc and view-source dock widget to be restored if needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25214 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 15:01:45 +00:00
Abdelrazak Younes
42cb86adb9
Fix initial focus problem with outline and view-source panes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25213 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:52:38 +00:00
Abdelrazak Younes
7f4247e718
createLyXTmpDir(): Don't hardcode /tmp, use package().system_temp_dir() insetad.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25212 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:33:31 +00:00
Abdelrazak Younes
f15ede6534
set the object name for all DockView based dialog (fix http://bugzilla.lyx.org/show_bug.cgi?id=4922 )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25209 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 14:09:27 +00:00
Abdelrazak Younes
430296f4af
Hopefully fix http://bugzilla.lyx.org/show_bug.cgi?id=4918
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:05:24 +00:00
Abdelrazak Younes
5e6a1a3da8
GuiToc: set the object name for proper state restoration.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25206 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 12:54:14 +00:00
Pavel Sanda
b37f9a379e
* Doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25204 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 11:54:35 +00:00
Jürgen Spitzmüller
3b00c86b9d
brute fix weird bug 4936.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25203 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 10:41:58 +00:00
Abdelrazak Younes
af7b5b5e26
More sensible error messages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25202 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 09:57:10 +00:00