José Matox
76c3d964df
Convert lyxaccents to unicode (most of the work comes from Georg)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
Abdelrazak Younes
eb651c3d61
Move BufferView cached pointer out of LyXText:
...
* LyXText
- bv(), bv_owner, : deleted.
- These methods now need a (Buffer const &) argument: getFont(), applyOuterFont(), getLayoutFont(), getLabelFont(), setCharFont(), setLayout(), singleWidth(), leftMargin(), rightMargin(), computeRowMetrics(), isMainText(), spacing(), isRTL(), cursorX(), rowBreakPoint(), setRowWidth(), labelFill(), labelEnd().
- These methods now need a (BufferView const &) argument and are propably candidates for future removal when 1.6 is opened for development: redoParagraph(), x2pos(), getRowNearY(), getColumnNearX(), checkInsetHit(), setHeightOfRow().
- recUndo(): now need a LCursor argument.
* CoordCache::get(LyXText const *, pit_type):
- now const.
- use const_iterator instead of iterator.
* FontIterator:
- add (Buffer const &) argument to ctor
- buffer_: new const reference to applicable BufferView.
* InsetBase
- xo(), yo(), covers() and neverIndent() are now const.
* InsetText::setViewCache(): deleted
All other changes are due to the LyXText and InsetBase API changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15618 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-30 12:45:33 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Lars Gullik Bjønnes
cf4293824f
* Change several freestanding and class methods with first letter
...
capitalized to have first letter lowercased.
* Adjust all affected files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
André Pönitz
40a425f072
fix cursor positioning after entering an InsetLatexAccent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10183 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-14 13:05:03 +00:00
André Pönitz
4bcfc43c29
IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +00:00
Lars Gullik Bjønnes
c38370d1c3
the exception safety patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8020 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-03 17:47:28 +00:00
Lars Gullik Bjønnes
44cd0fc9a1
The std::string mammoth path.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00
Angus Leeming
57a24ea912
Replace 'using namespace abc;' with 'using abc::xyz;'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7725 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 22:13:45 +00:00
Angus Leeming
91de22ef34
Strip 320 #includes from the files in src.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +00:00
Angus Leeming
0be0fcfd59
If I ever see another licence blurb again, it'll be too soon...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-23 00:17:00 +00:00
Lars Gullik Bjønnes
92d522b7f1
introduce namespace lyx::support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
Lars Gullik Bjønnes
83e37d57dd
remove NO_STD_LIST stuff, and some other small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7063 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-29 11:19:52 +00:00
Lars Gullik Bjønnes
064714a102
Remove the BufferView* arg from almost all LyXText class functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
Lars Gullik Bjønnes
99d1627a47
dont use pragma impementation and interface anymore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-13 16:53:15 +00:00
Lars Gullik Bjønnes
8283e978f8
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3803 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:27:08 +00:00
Lars Gullik Bjønnes
c80187fbfc
remove out-commented code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:50:13 +00:00
Lars Gullik Bjønnes
33a28bdc9c
Add string << operators for the other streams as well, and removes
...
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset
I also change some "while(" to "while ("
mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
Jean-Marc Lasgouttes
55bf6460f3
fix insertion of raw double quote, reading of Info inset, initial width of collapsed insets, insertion of index; better support for insetAllowed, for french quotes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2300 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-23 09:11:14 +00:00
Lars Gullik Bjønnes
efe0b0b8eb
Dispatch->dispatch, some trans work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2254 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-16 15:42:57 +00:00
Lars Gullik Bjønnes
9f42e337f0
simplify normalkey
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2201 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-07 17:52:03 +00:00
Lars Gullik Bjønnes
85a5ea7bfc
change a lot of methods to begin with small char
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
76ef051b1c
LyX Drinkers United: patch 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da
LyX Drinkers Union: patch 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
4820fdd44f
add bindings for latin charsets, use self-insert as intended from the beginning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2000 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-16 07:53:23 +00:00
Jean-Marc Lasgouttes
e59e72d1d1
do not include language.h and gettext.h in lyxfont.h and lyxparagraph.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 12:26:41 +00:00
Lars Gullik Bjønnes
3eea90dbbc
no log...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1698 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 19:29:58 +00:00
Lars Gullik Bjønnes
e7401bd8f2
use more std::functors add some of my own, some change to fl_display etc. read the change log...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Lars Gullik Bjønnes
d6665cba42
get rid of dead code, some new functions constify variables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1041 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-26 13:54:57 +00:00
Lars Gullik Bjønnes
45a03f4f67
use the new sstream return non-pods as const, use string instead of char * in a lot of places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1019 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-14 17:53:12 +00:00
Jean-Marc Lasgouttes
ab45a3ae91
Removed Options->LaTeX and all related code. New Variables.[Ch] files (not
...
sure what I will do with them).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@894 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-18 11:06:04 +00:00
Lars Gullik Bjønnes
6bba977f42
FILMagain changes (will need some work)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@807 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-12 11:27:15 +00:00
Lars Gullik Bjønnes
2889b5fd3e
some small stuff before the meeting begins for real
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@806 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-08 23:16:16 +00:00
Lars Gullik Bjønnes
532141facf
const fixes and alway generate/run latex on view/update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@787 a592a061-630c-0410-9148-cb99ea01b6c8
2000-06-01 00:01:17 +00:00
Lars Gullik Bjønnes
bdd630cd5a
another patch by Dekel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@781 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-30 20:06:27 +00:00
Jean-Marc Lasgouttes
3c8aba3b55
clear()->erase() ; lots of using directives for cxx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@712 a592a061-630c-0410-9148-cb99ea01b6c8
2000-05-04 10:57:00 +00:00
Lars Gullik Bjønnes
77e706c441
fix the smallcaps drawing, move xfont metrics functions out from LyXFont, move non-inlineable functions out of line
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@638 a592a061-630c-0410-9148-cb99ea01b6c8
2000-04-04 00:19:15 +00:00
Lars Gullik Bjønnes
85798535a1
some using changes small changes in lyxfont and some other things, read the Changelog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@632 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-28 02:18:55 +00:00
Lars Gullik Bjønnes
1c9a8d27a2
the figinsetpatch some lyxrc changes, read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@603 a592a061-630c-0410-9148-cb99ea01b6c8
2000-03-12 10:35:05 +00:00
Lars Gullik Bjønnes
53b464c5e9
some new (not extensive) changes, some fixes, will probably reverto to .la libs later .o libs is too much a hassle, please read the ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@408 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-08 21:02:58 +00:00
Lars Gullik Bjønnes
5f3f9ad231
fixes because of SUN CC warnings, bmtable now compiled with C compilator, countChar should also work on CC now, read ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@390 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-21 06:10:21 +00:00
Lars Gullik Bjønnes
7c6267e4b1
remove bogus backslashed from iso-8859-1, try to fix insert and encodeString, fixes in insetlatexaccent removed some unused code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@383 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-16 06:43:25 +00:00
Jean-Marc Lasgouttes
a320e34382
Tiny things found while peering at chset code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@381 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-15 14:50:27 +00:00
Lars Gullik Bjønnes
6130fe1aa5
read the ChangeLog, use the C++ style casts more, some changes to the debugbufs, some whitespace changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@366 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-13 00:05:34 +00:00
Lars Gullik Bjønnes
ee1229d743
the buffer patch, moved Buffer::text to BufferView, moved Buffer::update(short) to BufferView::update(short), some whitespace changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@362 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-10 00:07:59 +00:00
Lars Gullik Bjønnes
75c5c8c9e5
the fstream/iostream changes and some small other things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@354 a592a061-630c-0410-9148-cb99ea01b6c8
1999-12-07 00:44:53 +00:00
Lars Gullik Bjønnes
a040c0bc6f
white-space changes, removed definitions.h several enum changes because of this, new file undo.C rewritten some in chset.C
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@314 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-15 12:01:38 +00:00
Lars Gullik Bjønnes
3660343dc7
a couple of name changes and new functionality in lyxvc and vc-backend
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@302 a592a061-630c-0410-9148-cb99ea01b6c8
1999-11-09 23:52:04 +00:00
Lars Gullik Bjønnes
bd29a5db31
erase->clear, AM_CONDTIONAL for conditional compilation of lyxstring, better LYX_CXX_STL_STRING
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@214 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-19 20:59:27 +00:00
Lars Gullik Bjønnes
35584afc11
the merge from branch debugstream
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@180 a592a061-630c-0410-9148-cb99ea01b6c8
1999-10-07 18:44:17 +00:00