Bo Peng
a90f967d6f
InsetListings: fix bug 3626
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18373 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:34:57 +00:00
Bo Peng
40a746bb0f
InsetListings: Use a combo box for number placement, fix bug 3623
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18372 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 20:28:46 +00:00
Abdelrazak Younes
d2649159ca
Toc navigation doesn't work well with child document. This is the first part of the fix: the Toc item selection is properly done before the location of the child document.
...
Use case solved by this patch:
1) open EmbeddedObject.lyx
2) open the TOC widget (Uwe says it crashes there but I can't reproduce)
3) try to select an item previous to 6.2.2: crash because of an assertion:
Assertion triggered in bool __cdecl lyx::operator <(const class lyx::CursorSlice
&,const class lyx::CursorSlice &) by failing check "false" in file D:\LyXSVN\ly
x-devel\src\CursorSlice.cpp:106
I think this patch will also solve bug 3616:
http://bugzilla.lyx.org/show_bug.cgi?id=3616
* TocItem::child_: new member for child document; default to false.
* TocBackend::item(): skip DocIterator comparison if item is in child docuemt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18370 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 16:43:14 +00:00
Bo Peng
be8a8c302c
InsetListings: rename Number style to Line numbering, as suggested by Uwe, bug 3621
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18368 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 13:57:58 +00:00
Abdelrazak Younes
961db56ed8
Temptatively fix bug 3546 by testing for more exceptionm types and by unifying the possible errors. I think the reason why we did not have a crash on windows is because we don't use wchar_t and the related basic_filebuf etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 10:39:41 +00:00
Abdelrazak Younes
e9780fe317
Fix cursor movement inside insets within RTL mode.
...
* Bidi.{h,cpp}:
- isWithinRtlParagraph(): new helper function.
* Text2.cpp: use function above for cursor up and down instead of needReverseDirection() which is about cursor left and right.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18364 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 09:35:12 +00:00
Bo Peng
291b765a61
InsetListings: fix bug mouse symbol in the layout dialog, bug 3620
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 02:58:00 +00:00
José Matox
04e3cd2297
Add file format change to support the standard font size for ext* family of textclasses
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 23:31:47 +00:00
Peter Kümmel
daf8c932ce
bug 3203: try to load as local 8-bit encoded when it is not utf-8
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 18:45:23 +00:00
Abdelrazak Younes
ff19dcb49c
Fix assertion with LOF and LOT by transfering the test from TocWidget::select() to QToc::getCurrentIndex().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 18:01:22 +00:00
Jürgen Spitzmüller
4912255342
* src/mathed/IndetMathNest.cpp (getStatus):
...
- disable specialchar inset (bug 3590)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:33:42 +00:00
Abdelrazak Younes
06676b6d5b
rev 18350: forgot this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18352 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:25:30 +00:00
Abdelrazak Younes
105b8b2bf1
rev 18350: forgot this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18351 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:24:26 +00:00
Abdelrazak Younes
55a26d72d4
Fix cursor movement inside insets by Dov Feldstern.
...
* Bidi.[h,cpp]: new helper function reverseDirectionNeeded()
* Cursor::isRTL(): delete unused method
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18350 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:19:05 +00:00
Abdelrazak Younes
6277ba63ab
Properly search for relevant TocItem. Now works fine with sections inside insets.
...
* DocIterator
- new comparison operators: <, > and <= (Courtesy of JMarc)
* TocBackend::item() use above <= operator instead of crude pit() comparison.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18349 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:07:55 +00:00
Abdelrazak Younes
f653540961
Fix bug 3183 by Ozgur Ugras BARAN:
...
* TocWidget::select()
- Do not allow select ModelItem from the code for non-TOC types
- add a FIXME explaining the situation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 17:02:10 +00:00
Peter Kümmel
2c7396cc59
Add debug output, harmless
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 16:29:04 +00:00
Jürgen Spitzmüller
4944e64733
From Ozgur Ugras BARAN:
...
* src/TocBackend.cpp:
- Allow TOC entries with depth larger than bufferParams.tocdepth.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18346 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 15:09:19 +00:00
Bo Peng
7ea0cd1dd9
InsetListingsParams.h/cpp: fix compiler warning about initialization order
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18344 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 14:56:55 +00:00
Georg Baum
9c765e64de
* src/ConverterCache.cpp
...
(ConverterCache::Impl::readIndex): prevent assertion in
fs::last_write_time for corrupted cache index
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18341 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:34:26 +00:00
José Matox
111516498d
André was nice to scons and forgot autotools :-)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:27:04 +00:00
Jürgen Spitzmüller
9e4022e235
From Ozgur Ugras BARAN: Fix bug 3529
...
* src/frontends/qt4/TocWidget.{cpp,h}:
- new member disconnectSelectionModel()
- (select): replace blockSignal() directives for tocTV selectionModel()
with disconnect (the above new function) and reconnect relevant signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18338 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 11:26:24 +00:00
Edwin Leuven
ccc639d842
* layout tweak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 07:22:55 +00:00
Bo Peng
d7ccd7a35f
InsetListings: properly clear values of widgets when jumping between insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18329 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 02:37:59 +00:00
Bo Peng
2260a558da
InsetListings: minor fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 01:38:27 +00:00
Bo Peng
72e0b87a90
Separate caption and label from InsetListingsParams and handle them separately in listings and Include dialog, from Jurgen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18324 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:42:14 +00:00
Bernhard Roider
9b5b7587a3
add comments and rtl support for cursor positioning problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 20:03:40 +00:00
Martin Vermeer
fd70aabcc8
Add charstyles Alert and Structure to beamer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 19:56:05 +00:00
Abdelrazak Younes
5849954507
restore changed() connection that vanished in revision 18307 with the creation of the PreambleModule class.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18313 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:54:27 +00:00
Abdelrazak Younes
9e371e2a24
Fix gcc warning and be 64 bit clean.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 16:41:50 +00:00
Bo Peng
accafcb88c
InsetListings: use Edwin's dialog, which is much nice
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18311 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:56:21 +00:00
Bo Peng
6e81ea9be8
InsetListings: fix a few checkbox logics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18310 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:55:26 +00:00
Abdelrazak Younes
fcc2297ba7
compil fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18309 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 14:23:55 +00:00
Abdelrazak Younes
043fdb9141
Fix bug similar to 3377 by Ozgur Ugras BARAN.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18308 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:43:17 +00:00
Abdelrazak Younes
06099a8959
restore cursor position in preamble.
...
* ControlDocument::id(): new method returning the id of the current buffer.
* PreambleModule: new class for the preamble module. Handle everything preamble related, including memorizing the cursor position for each Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18307 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 12:09:14 +00:00
Abdelrazak Younes
c35007dbce
Add two optimized versions of the ucs4 to local encoding.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:41:00 +00:00
Abdelrazak Younes
e2da5d1771
Improve Farsi support by Mostafa Vahedi. Arabic support now depends on 'ArabTeX' and Farsi support depends on the 'Arabi' package.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18305 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:34:53 +00:00
Jürgen Spitzmüller
a8010a4dc6
fix bug 2758:
...
* src/Paragraph.cpp:
- make sure removed bibitems (inside a par) are restored correctly
(in pos 0).
* src/Text.{cpp,h} (handleBibitems):
- new member, used by erase and backspace.
* src/Text3.cpp (getStatus):
- allow inserting of bibitems only in pos 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 09:24:17 +00:00
Jürgen Spitzmüller
c0b5b39246
* src/LaTeXFeatures.cpp:
...
- fix definition of \lyxadded and \lyxdeleted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 06:28:47 +00:00
Stefan Schimanski
eb96bab927
The source view dialog does not send a lfun, so it can be applied
...
unconditionally. This fixes #3398 and #3594 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 05:16:57 +00:00
Bo Peng
9f3c96efc5
Bug 3600, not a real solution but prevents lyx from crashing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 03:07:00 +00:00
Bernhard Roider
5d9e65058c
fix cursor movement (up/down) problem at the end of lines in insets and table cells.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 19:53:06 +00:00
Jürgen Spitzmüller
0f2bcd0d0c
* src/Color.cpp:
...
- fix encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:35:31 +00:00
Jürgen Spitzmüller
babc15ea87
* src/Color.cpp:
...
- add proper x11 colors for lyxadded and lyxdeleted (preventing an assert in RGBColor)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 16:24:03 +00:00
Michael Schmitt
8684c07664
output changes by means of xcolor and soul
...
- when exporting with pdflatex
- when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
Bo Peng
1fb2456cec
InsetLisings: fix extra npos comparisons intruduced by wrongful commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18283 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 14:39:44 +00:00
Bo Peng
0bbdc3ffeb
InsetListings: Enhanced listings dialog, more than 10 widgets are added to handle common listings parameters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 04:06:37 +00:00
Bo Peng
dfa6012292
Remove unused var in InsetMathHull.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 22:51:13 +00:00
Bernhard Roider
6de5d0ad58
fix bug 2453
...
change of behavior of rotate-tabular and rotate-cell toolbar buttons such that they toggle the rotation. Therefore a toggle feature is added to the tabular features. Moreover after the patch the state of the set-rotate-cell and toggle-rotate-cell buttons is on only if all selected cells in the table are rotated. If not all selected cells are rotated then the toggle button rotates all selected cells.
The toggle-icons are copied from the set-icons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18280 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 20:59:21 +00:00
Bo Peng
59252c1f8f
InsetListingsParams.h/cpp: Allow , in parameter string which is common in caption
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18279 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 15:07:18 +00:00
Bo Peng
4d0552dd80
add color mathcorners and implement mathbg (partially)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18277 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 06:24:46 +00:00
Uwe Stöhr
e1d855eb41
BufferParams.cpp: forgot this in last commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18275 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 00:22:37 +00:00
Uwe Stöhr
40ba4d3630
BufferParams.cpp: the long discussed babel call logic cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-12 00:13:35 +00:00
Uwe Stöhr
ff8f2b3609
output_latex.cpp: Fix bug 3571:
...
http://bugzilla.lyx.org/show_bug.cgi?id=3571
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 23:43:17 +00:00
Bo Peng
b8813615ea
InsetListings: touch up the TextLayout dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:59:32 +00:00
Bo Peng
203b569b7b
InsetListings: touch up the include dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 17:53:01 +00:00
Bo Peng
6099a3dba7
InsetListings: touch up the listings dialog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 16:56:16 +00:00
Abdelrazak Younes
d5acfddef7
Fix bug 3377 by Ozgur Ugras BARAN:
...
In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:25:25 +00:00
Abdelrazak Younes
b9765984c0
remove unneeded header.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:19:59 +00:00
Abdelrazak Younes
bd3e07179f
Remove optimization to avoid char and symbol metrics calculation. This was incompatible with the way the font zooming works in LyX.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:17:53 +00:00
Abdelrazak Younes
7831aff546
Bug fix: the type combo was not cleared at each update.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18265 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 14:05:43 +00:00
Abdelrazak Younes
bee94bbcd2
Enable RTL language support and Converter cache by default.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 13:01:59 +00:00
Bo Peng
e44fc571cc
revert wrongly committed patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18263 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:34:56 +00:00
Bo Peng
a8e9fe82d0
lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:28:14 +00:00
Bo Peng
fe879a0a6c
revert src/frontends/qt4/ui/ListingsUi.ui
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 20:56:58 +00:00
Peter Kümmel
950e4b2097
fix crash: change empty line to paragraph and press a key
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 17:55:07 +00:00
Abdelrazak Younes
5b5ee8cc32
Fix bugs 3528 and 3534 by Ozgur Ugras BARAN and myself:
...
* ControlToc::updateBackend(): emit Buffer::structureChanged()
* QToc:
- updateToc(), updateType(), typeModel(): deleted.
* TocWidget
- updateGui() manually with ControlToc::typenames()
- on_typeCO_activated(): changed to on_typeCO_currentIndexChanged()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 16:25:11 +00:00
Jean-Marc Lasgouttes
e916170647
Use QTextEdit::setPlainText instead of QTextEdit::setText, because the
...
later is not available in Qt 4.1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:44:16 +00:00
Jean-Marc Lasgouttes
aeeac15128
Patch from "hzluo" <memcache@gmail.com>:
...
Remove all explicit 8bit characters from the source, to fix compilation
with windows xp under a chinese locale (bug 3496).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 10:35:57 +00:00
Abdelrazak Younes
63fca5a1ce
Fix number display for Farsi and Arabic from Mostafa Vahedi:
...
In Hebrew, Arabic and Farsi (Right-to-Left) languages the numbers are written from left to write.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 09:25:44 +00:00
Jean-Marc Lasgouttes
5f7d6947e1
* BufferView.cpp (moveToPosition): do not use ParIterator, which moves
...
through nested insets; what we want here is much simpler (bug 3472)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-10 07:53:00 +00:00
Bo Peng
ae9afa946a
fix a listings param name
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:28:43 +00:00
Uwe Stöhr
3db8583e2b
BufferParams.cpp: only whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:17:22 +00:00
Uwe Stöhr
0d555fa675
BufferParams.cpp: Simplify babel call
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:10:55 +00:00
Bernhard Roider
b5c5c1efe6
Problem: When canceling the preferences dialog after changing a color then the icon in the colors list is not reverted after reopening the dialog. Moreover when pressing apply later then the color is really changed.
...
Solution: Move the color initialization from the constructor to the update() method. I've read the mail from Richard (referenced in the source code) concerning this, but i don't understand why we should not move parts of the initialization the constructor does into the update method. With this changes the hack for fixing http://bugzilla.lyx.org/show_bug.cgi?id=3109 is not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:16:31 +00:00
Bernhard Roider
4a2ffc83f8
Problem: A crash when no color is selected and the "alter" button is pressed.
...
Solution: Disable the alter button if no item is selected and add an additional test for a valid index.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:09:03 +00:00
Bo Peng
1038ed69e6
Fix InsetListings::init, call setButtonLabel explicitly because that function is not virtual
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18246 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 20:00:06 +00:00
Bernhard Roider
43419ef0bd
Problem: When canceling the color selection dialog the color of the selected item is changed to black.
...
Solution: Add a test whether the color returned from the color dialog is valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:52:24 +00:00
Peter Kümmel
e5df7b6978
also compile with merged files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:31:42 +00:00
Bo Peng
4ce743a0a7
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
...
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Abdelrazak Younes
31c9218c7e
Fix cursor movement in RTL embedded math insets by Elazar Leibovich.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 09:42:33 +00:00
Edwin Leuven
f5cfb824aa
* set some sizehints to ingore so that toc widget does not take up too much space on toggle...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 08:23:57 +00:00
Uwe Stöhr
c9baa9bd3f
BufferParams.cpp: fix bug 3569:
...
http://bugzilla.lyx.org/show_bug.cgi?id=3569
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 23:53:35 +00:00
Michael Schmitt
038cc70650
change tracking:
...
introduce 'semantic' TeX commands \lyxinserted and \lyxdeleted in order to decouple change tracking
output from dvipost. Raise user warning if dvipost is not installed (i.e. no changes are shown in TeX output)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18237 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 17:46:03 +00:00
Richard Heck
bd71f0adac
Fix for bug 3524: Indent checkbox is enabled even when paragraphs are marked
...
with skips.
Added helper method canIndent() to controller and appropriate logic to
QParagraph::update_contents().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 15:35:44 +00:00
Richard Heck
7753dd6e6f
Fix for bug 2951. Adds default fn: prefix tolabels in footnotes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 15:10:08 +00:00
Abdelrazak Younes
fe4da6920b
remove 'lyx::'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 14:09:27 +00:00
Abdelrazak Younes
492562091e
declare 'std::foo' and remove 'lyx::'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 14:01:40 +00:00
Abdelrazak Younes
b6407071cf
code formatting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18232 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-08 13:21:50 +00:00
Uwe Stöhr
db72d04fd9
BufferParams.h: add comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 22:32:44 +00:00
Uwe Stöhr
f910f7d6e8
BufferParams.cpp: fix bug 3568:
...
http://bugzilla.lyx.org/show_bug.cgi?id=3568
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18227 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:55:14 +00:00
Uwe Stöhr
8d8b55cf92
QMathMatrixDialog.cpp: fix part of bug 3475
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 18:30:41 +00:00
Abdelrazak Younes
b5ff27fdd1
Cleanup in order to better understand bug 3043 and 3561.
...
* switchEncoding(): simplify return logic (transform 'and -> do' to 'or ->return')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 17:10:10 +00:00
Jürgen Spitzmüller
7f4becba15
* src/Encoding.cpp (latexChar):
...
- assure the encodings are proper initialized.
supposedely fixes bugs 3561 and 3562
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18221 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 15:08:27 +00:00
Jürgen Spitzmüller
8b238ec805
Fix remaining parts of bug 3146.
...
* src/Cursor.cpp:
- new helper function parbreak that checks whether a blank line is
to be inserted or not (currently only relevant for ERT content)
- (selectionAsString): use parbreak instead of hardcoded "\n\n"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-07 08:57:53 +00:00
Uwe Stöhr
80b94c6bf5
Georg's patch for bug 3043:
...
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Uwe Stöhr
2550861643
fix inputenc handling bug introduced with r18198
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 14:18:40 +00:00
Jürgen Spitzmüller
b9350d4038
* src/Cursor.cpp:
...
- revert accidental commit in r18206.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 08:38:10 +00:00
Jürgen Spitzmüller
574b28db65
Fix bug 3508:
...
* src/ToolbarBackend.cpp:
* lib/ui/stdtoolbars.inc:
- add tooltip to table widget
* src/frontends/qt4/QLToolbar.cpp:
- display tooltip as icon text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 07:26:51 +00:00
Uwe Stöhr
fabf9f5af3
forgot this in my last commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 20:27:43 +00:00
Uwe Stöhr
c5527942f3
set infrastructure to allow not to call babel
...
This is a part of the fix for bug 3043.
I got the OK from Georg, that this patch doesn't introduce conflicts as it only sets the infrastructure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 19:18:34 +00:00
Jürgen Spitzmüller
71d75896e0
* src/TextMetrics.cpp (setHeightOfRow):
...
- don't use parkip in ERT insets (bug 3146)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-05 12:06:37 +00:00
Abdelrazak Younes
94674dec6a
revision 18202: I forgot this one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18203 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:46:03 +00:00
Abdelrazak Younes
ab2324315b
TOC Widget beautification by Stefan Schimanski:
...
* lib/images: 3 new icons
* TocUi/TocWidget: Replace labeled button with icon buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:37:05 +00:00
Abdelrazak Younes
1becd845c1
* LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
...
* GuiApplication::event():
special case for FileOpen events: memorize the filenames if LyX is not properly started yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:20:53 +00:00
Edwin Leuven
1f9652587e
* do not ignore "requires" field in MathMacro
...
(fixes http://bugzilla.lyx.org/show_bug.cgi?id=3520 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18199 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 15:30:27 +00:00
Jürgen Spitzmüller
ced73c33e6
* lib/encodings:
...
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
- implement new encoding (skip inputenc)
- fix logic error with thailatex
* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
- format increment to 267
- reset encoding to utf8 on reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Abdelrazak Younes
ce3fce19c4
* QLPainter: antialias edges of primitives only if text is antialiased.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18197 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 09:24:44 +00:00
Abdelrazak Younes
58cc6d28e8
Fix antialiasing problem in straight lines within polylines. Prepare for optional antialiasing.
...
* QLPainter::lines(): use QPainter::drawLine() multiple times instead QPainter::drawPolyline().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 08:52:40 +00:00
Enrico Forestieri
1f3bec86bd
Last(?) missing rename: version.C -> version.cpp
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 00:47:24 +00:00
Jürgen Spitzmüller
410a946f1f
* src/insets/InsetMarginal.h:
...
- revert accidental encoding change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18189 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:54:56 +00:00
Jürgen Spitzmüller
6896eafabd
* src/insets/InsetMarginal.h:
...
- add missing name() (fix bug 3540)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18188 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 15:53:14 +00:00
Abdelrazak Younes
9ed920f62a
revert 18186: this cannot be done right now because of the way LFUN_BUFFER_PARAMS_APPLY is implemented.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:47:22 +00:00
Abdelrazak Younes
696b6a2167
Fix interface problem in order to cleanly support "cursor position memory" in the preamble editor.
...
* ControlDocument::params(): replace BufferParams local copy with Buffer::params() direct access.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18186 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 14:20:12 +00:00
Jean-Marc Lasgouttes
a67a27e6de
* src/Cursor.cpp (isRTL): simplify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-03 13:31:16 +00:00
Uwe Stöhr
701f204b22
LaTeXFeatures.h: fix tipo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 18:12:31 +00:00
Uwe Stöhr
227f80157c
file format change: support for Armenian
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Abdelrazak Younes
cf5a9defdd
Restor 1.4.x behaviour: Don't touch the preamble QTextEdit if the preamble text is unchanged.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:33:04 +00:00
Michael Schmitt
8dcc7cf00e
* src/Text2.cpp: fix error message (do not refer to old, non-existing menu item);
...
I wonder whether this message is used at all, as it does not occur when
runnig font-free-apply after program start
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:25:46 +00:00
Michael Schmitt
cd289ad718
* src/frontends/qt4/QParagraph.cpp: reduce the verbosity of a tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 10:07:29 +00:00
Michael Schmitt
a746aa5214
"fix" bug #3332 (plain text export depends on the menu language)
...
Please note that method B_ (translate text to buffer language) is presently broken (at least on Windows)!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 08:26:40 +00:00
Jürgen Spitzmüller
3d1225a5c0
* src/LyXFunc.cpp: add comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18140 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 06:50:09 +00:00
André Pönitz
75637c0dd8
remove RowList_fwd.h. Not really needed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 22:02:15 +00:00
André Pönitz
a939474037
consolidate tex-accent.* Trans.* KmodInfo.h into Trans.{h,cpp}. All stuff was used at most once and basically implementation details
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18131 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:44:00 +00:00
André Pönitz
40e4ab9bf3
distribute content sof tex-strings.cpp to their respective unique places of usage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 21:01:24 +00:00
André Pönitz
e941660705
merge lyx_sty.* into LaTeXFearures.cpp. was not used anywhere else
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 20:20:05 +00:00
Abdelrazak Younes
845feeabfc
Fix bug 3186?
...
http://bugzilla.lyx.org/show_bug.cgi?id=3186
Caption outside float or long table will get the "Senseless!!" label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18120 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 15:17:16 +00:00
Abdelrazak Younes
2640b21228
* Inset and derivatives: insetName() -> name()
...
* InsetMath::name(): deleted.
* buffer_funcs.cpp:setCaptions() fix potential bug by using docstring copy instead of reference while using Inset::name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:39:09 +00:00
Jürgen Spitzmüller
699fd5a7b4
* src/lfuns.h:
...
* src/LyXAction.cpp:
* src/LyXFunc.cpp:
- implement new LFUN_DIALOG_TOGGLE
- remove obsolete LFUN_TOC_VIEW
* lib/ui/classic.ui:
* lib/ui/stdmenus.inc:
- use dialog-toggle for toc and view-source
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18118 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 14:29:49 +00:00
Abdelrazak Younes
9d37c60314
Get rid of GridInsetMailer: this is completely useless and unused and consumes a lot of CPU when editing a file with a lot of macro (which is a heavy user of InsetMathGrid).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18117 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 12:27:12 +00:00
Abdelrazak Younes
7b06307cc6
* Cursor::isRTL(): correctly deal with the inner paragraph when within mathed.
...
* DocIterator::innerParagraph(): new method giving the inner paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 11:46:02 +00:00
Abdelrazak Younes
9fa2880677
revert unrelated change in rev 18110 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18111 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 10:44:23 +00:00
Abdelrazak Younes
00e1771f94
Now that setPosCache() is in Inset, InsetMathDim is not needed anymore: ERASED!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18110 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-30 10:31:51 +00:00
André Pönitz
e0d54dd3b4
LyXText -> Text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 23:33:02 +00:00
Michael Schmitt
295eea310e
replace term "Glossary" by "Nomenclature"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18102 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:21:00 +00:00
André Pönitz
757d5d67ac
resolve the layout.h <=> Layout.h conflict
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18099 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 22:04:32 +00:00
André Pönitz
6add1994c7
rename LyXTextClass* into TextClass*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:53:54 +00:00
André Pönitz
0bf9ac02a8
rename LyXLayout into Layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18096 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:58:28 +00:00
André Pönitz
fc6ce7cd08
rename LyXFont to Font except in tex2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 18:17:15 +00:00
André Pönitz
d079c908b3
rename LyXServer into Server
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 16:22:46 +00:00
André Pönitz
32871c1284
rename InsetBase to Inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 13:39:47 +00:00
André Pönitz
51fbea02a8
Remove InsetOld
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18087 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 12:32:14 +00:00
Jürgen Spitzmüller
b0b7aa2bf5
Implement shortcut (M-x) to hide the minibuffer
...
* src/frontends/controllers/ControlCommandBuffer.{cpp,h}:
- new member hide()
* src/frontends/qt4QCommandEdit.{cpp,h}:
- new signal hidePressed(), emit it on M-x/Alt-x
* src/frontends/qt4/QCommandBuffer.{cpp,h}:
- new slot hideParent(), connected to QCommandEdit::hidePressed()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 08:58:09 +00:00
Abdelrazak Younes
b3548c1f72
* Cursor::isRTL(): new method that gives the RTL state of the paragraph.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18080 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 08:29:16 +00:00
Bo Peng
d30304cf84
Rename class RefInset to InsetMathRef
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:49:56 +00:00
Bo Peng
e36fba33ab
Last (?) batch of renames:
...
src/frontends/Alert.h src/frontends/alert.h
src/frontends/Alert.cpp src/frontends/alert.cpp
src/frontends/Alert_pimpl.cpp src/frontends/alert_pimpl.cpp
src/frontends/qt4/Alert_pimpl.cpp src/frontends/qt4/alert_pimpl.cpp
src/frontends/controllers/ButtonPolicies.cpp src/frontends/controllers/ButtonPolicy.cpp
src/frontends/controllers/ButtonPolicies.h src/frontends/controllers/ButtonPolicy.h
src/insets/InsetEnv.cpp src/insets/InsetEnvironment.cpp
src/insets/InsetEnv.h src/insets/InsetEnvironment.h
src/mathed/MathMacroTable.h src/mathed/MacroTable.h
src/mathed/MathMacroTable.cpp src/mathed/MacroTable.cpp
src/lyx_cb.h src/callback.h
src/lyx_cb.cpp src/callback.cpp
src/UpdateFlags.h src/update_flags.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:44:46 +00:00
Bo Peng
153c9b0461
Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
André Pönitz
8c622e4ff0
rename/merge LyXLength related stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18067 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 12:58:49 +00:00
Abdelrazak Younes
2409b887af
Fix arabic character transformation by Mostafa Vahedi:
...
The old code in the method "Paragraph::transformChar" had a bug, when the prev_char is a COMPOSE character (such as FATHA) and the previous BASE character is a SPECIAL character (such as ALEF). In this case the current character (such as BAA) gets the medial form and gets connected to the previous SPECIAL character which is not correct. The correct way to handle this situation is that, similar to the next_char, the first previous non-COMPOSE character should be assigned to the prev_char if exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18065 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 20:37:57 +00:00
André Pönitz
50016ccf3a
rename LyXKeySym into KeySymbol
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18059 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:43:38 +00:00