Commit Graph

15531 Commits

Author SHA1 Message Date
André Pönitz
41f6e7ee54 unbreak font panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21272 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:03:59 +00:00
Uwe Stöhr
670b7eda34 languages: - reenable Sorbian as babel is now fixed
- add Albanian which is supported by babel since 2 years now

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 21:52:29 +00:00
Bo Peng
7fb4a57ab9 Put bindings in defaultKeyBindings() to site.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 19:45:43 +00:00
Martin Vermeer
325da0a915 Update current font when moving cursor by clicking mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21267 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 18:57:56 +00:00
Bo Peng
3f6c8981ed Use proper label in the shortcut panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21266 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 17:09:50 +00:00
Richard Heck
a0a04e4886 Make GuiRef and GuiInclude subclasses of GuiCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 16:51:07 +00:00
Martin Vermeer
50e5d51038 Commit the new parameter ForceLtR before Abdel moves things around again :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21261 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 14:39:29 +00:00
Abdelrazak Younes
ca0fd16ef7 Fix copy&paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 12:29:06 +00:00
Abdelrazak Younes
aeebc6565c * FontList:
- clear(): new
- set(): simplify a bit.

* Paragraph(): optimize appendString() and resetFonts().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 12:21:58 +00:00
Abdelrazak Younes
3a7509a901 * InsetERT::resetParagraphsFont(): use Paragraph::resetFonts().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21258 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 11:02:13 +00:00
Abdelrazak Younes
5e418fb660 put back the const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:47:41 +00:00
Abdelrazak Younes
0e87c91115 * InsetText::frame_color_: int -> ColorCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:46:13 +00:00
Abdelrazak Younes
c3452835a8 * MetricsInfo::background_color: int -> ColorCode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 10:36:20 +00:00
Edwin Leuven
608236c0db - add label and remove subclassed SearchLineEdit
- put ShortcutLineEdit in namespace lyx::frontend
- additional dialog layout tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:56:30 +00:00
Abdelrazak Younes
cff2f03285 RowPainter::paintForeignMark(): take a Language instead of a Font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:52:13 +00:00
Abdelrazak Younes
d58f8cf7f6 Add some const and avoid implicit constructions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 08:47:19 +00:00
Bo Peng
97db33209f Add initial embedding files panel in the Document->Settings dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21251 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 04:07:38 +00:00
Abdelrazak Younes
d2bfe05827 Forbid implicit conversion from FontInfo to Font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 23:32:18 +00:00
Abdelrazak Younes
f075554097 FontEnums.cpp doesn't exist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21249 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 23:30:46 +00:00
Abdelrazak Younes
d6f380eac1 Undo some Font -> FontInfo moves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21248 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 22:49:49 +00:00
Uwe Stöhr
256638827a InsetMathFrac: add support for \tbinom and \dbinom, fixes bug 4305
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 21:48:51 +00:00
Uwe Stöhr
4c3950f90a German Extended.lyx: updates from Hartmut again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21245 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 21:36:08 +00:00
Dov Feldstern
b4372a37d9 Getting rid of LTR bias --- part 2/?
This is a continuation of r21128. This round fixes the "Word" movement
functions and LFUNS.

Behavior should remain unchanged by this fix.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21244 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:35:57 +00:00
Abdelrazak Younes
725f07728b white space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:31:19 +00:00
Abdelrazak Younes
869a66f59f GCC Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21242 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 20:30:41 +00:00
Abdelrazak Younes
e194158259 Remove unneeded code and comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21241 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 19:27:12 +00:00
Abdelrazak Younes
5ddc612b73 Splitup Font in saner bits:
* Font::FontBits -> FontInfo
* Font::FONT_XXX -> all enums transfered to FontEnums.h and renamed to FontXxx

I've replaced Font uses with FontInfo were the language() member was not needed, basically all draw() and metrics methods. There's one problematic cases with InsetQuotes which I solved by taking the Buffer main language.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21240 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 18:51:54 +00:00
André Pönitz
053e705779 move stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21239 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 16:42:18 +00:00
André Pönitz
9be03a87f9 start some work on file dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 16:32:20 +00:00
Uwe Stöhr
a8551ebde2 German Extended.lyx: updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 15:36:30 +00:00
Uwe Stöhr
9c20e03c76 InsetMathFrac.cpp: fix bug 4308 by using the metrics change method of the fraction inset also for the binom inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 13:15:35 +00:00
Uwe Stöhr
3b313c026f remove the now obsolete German file TabellenBeispiel.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21234 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 11:49:50 +00:00
Uwe Stöhr
1862eaa2e3 Spanish translation of the file ItemizeBullets.lyx by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 11:44:52 +00:00
Bo Peng
4973ea12c0 simplify code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21231 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-28 04:13:40 +00:00
Uwe Stöhr
3b7e12c27c German UserGuide.lyx: fix image name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21229 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 17:55:22 +00:00
Uwe Stöhr
89a2658a21 amsmaths.inc: allow Theorems and the like to be empty, fixes bug 4304.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21228 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 17:49:02 +00:00
Uwe Stöhr
a268c867b9 German UserGuide.lyx updates from Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21226 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 16:56:46 +00:00
Enrico Forestieri
8c17e2fee4 Fix IEEEtran layout by loading counters before the sectioning styles,
in order to avoid having sections numbered as 0.X instead of simply X.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 16:12:19 +00:00
Martin Vermeer
9bc5e190d4 ERT simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-27 14:05:05 +00:00
Bo Peng
0a554a5216 add a missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21223 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 23:49:16 +00:00
Bernhard Roider
0886d316d4 complete fix of bug 3172: add binary mode open to the part where istreambuf_iterator is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21222 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 21:47:44 +00:00
Bo Peng
e6dd868635 PrefShortcuts: improve the Shortcut input dialog
* src/KeyMap.h|cpp: change interface and allow bind(KeySequence, FuncRequest)
	* src/frontends/qt4/CustomizedWidgets.h|cpp: use KeySequence, add event filter from Edwin
	* src/frontends/qt4/GuiPrefs.cpp: add another column, get KeySequence from the shortcut edit dialog directly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21220 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 20:43:22 +00:00
Martin Vermeer
4018d432de Fix ERT blanks doubling bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21214 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-26 10:55:49 +00:00
Bernhard Roider
74d22c2ce4 fix bug 3172: open file in binary mode, otherwise iteration of a binary file with for_each stops early.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21211 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 22:36:59 +00:00
Richard Heck
4ca3a3d59c InsetIndex is no longer an InsetCommand.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21210 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 22:29:45 +00:00
André Pönitz
f4b7b4b67c adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21209 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:53:58 +00:00
André Pönitz
ed7a07e007 put \frac style stuff into a single unit. -161477.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21208 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:53:06 +00:00
Richard Heck
dc45268132 Fix compilation problem due to same static variable in different files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21207 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 21:39:47 +00:00
André Pönitz
aece85ea30 188094 lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21206 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 20:36:17 +00:00
André Pönitz
ee120bd808 172725 lines down
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21205 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 19:41:06 +00:00