Angus Leeming
e22c5f4d97
Asger's commentary, const-correct and bug-squashing little beauty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 16:29:48 +00:00
Lars Gullik Bjønnes
342cdf4322
the convert patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff
rename tostr.[Ch] to convert.[Ch]
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506
tostr -> convert and some bformat work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Jürgen Spitzmüller
701b99ecd7
float2string #4 (Spacing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9445 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 13:48:13 +00:00
Jürgen Spitzmüller
2102d461fa
small mathed fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9418 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-04 09:18:48 +00:00
Jürgen Spitzmüller
e3ff1652a1
fix LFUN_MATH_MODE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9403 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-27 18:26:11 +00:00
Alfredo Braunstein
358e068298
remove selection_possible (fix a problem with selections not stucking inside tables)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-06 13:03:38 +00:00
Jean-Marc Lasgouttes
e78648a4f5
fix recent bug where too many lfuns got disabled;fix minibuffer message when a command is disabled
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9330 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-02 11:32:14 +00:00
Alfredo Braunstein
a2cd656e25
CoordBranch merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Lars Gullik Bjønnes
686f1e276f
InsetOld -> InsetBase renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 19:13:07 +00:00
Alfredo Braunstein
ed064bdee6
par->pit renaming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Jean-Marc Lasgouttes
6ae4dc23f4
allow more than one optional inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9272 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-19 16:17:52 +00:00
Jean-Marc Lasgouttes
d366b652fa
fix cursor when inserting some insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9158 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 14:25:14 +00:00
André Pönitz
b4b6c8b078
make all cached positions screen-absolute
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8936 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:56:40 +00:00
André Pönitz
11c69712d3
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8931 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:03:55 +00:00
André Pönitz
6cb284c727
fix some crash when we start selection outside an inset and get the
...
first motion event inside this iset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8930 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 20:34:46 +00:00
André Pönitz
edbef46cd7
move around stuff, remove unneeded declarations etc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8929 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:55:00 +00:00
Lars Gullik Bjønnes
d20f0af816
some nicer margins and some small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8925 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 15:55:22 +00:00
André Pönitz
02ebc072b0
remove per-inset position cahce, use new external map instead.
...
this allows us to bomb early on uninitialized cache values.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
André Pönitz
b119fd180d
remove unused mathed parts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8915 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:24:42 +00:00
Lars Gullik Bjønnes
a4ea144c32
bug 1305
...
Make sure that we keep the language over a rebreak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8911 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 20:26:26 +00:00
André Pönitz
48aa5d66cf
fix bug #571 , also for insettabular
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8910 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 20:14:32 +00:00
Jean-Marc Lasgouttes
9e20808369
constify the various incarnations of editXY
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8907 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 19:14:17 +00:00
André Pönitz
aa8fa8e243
don't crash on C-m
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8884 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-12 19:49:25 +00:00
Lars Gullik Bjønnes
8a490234de
fix wheel handling for xforms
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8856 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-01 21:24:03 +00:00
Lars Gullik Bjønnes
e34a1e90af
obvious stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8851 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-25 00:04:42 +00:00
Lars Gullik Bjønnes
7c15014ec2
change "support/std_sstream.h" to <sstream>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Alfredo Braunstein
ff6706002f
avoid to update when navigating
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8759 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-18 07:18:02 +00:00
Angus Leeming
5009d66e16
* Positionable and dynamically visible toolbars for the XForms frontend.
...
* General Toolbars code clean-up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8707 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:54:59 +00:00
John Levon
7a4a8abd42
fix bug 1569 (insert->label suggestion)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8667 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 02:39:05 +00:00
André Pönitz
ba0a69bcd9
partial fix for cut and paste
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8658 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-18 07:32:34 +00:00
Angus Leeming
571594d508
Re-enable previews for mathed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8651 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 17:38:16 +00:00
André Pönitz
b447408de2
macro rework
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8644 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 06:27:29 +00:00
André Pönitz
2bdaf96dfb
the Paragraph::inInset() changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8632 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 15:03:33 +00:00
André Pönitz
7ae9a86d4d
compile fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8622 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 16:57:57 +00:00
André Pönitz
6c9b23105c
fix table crash;
...
selection by mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8617 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 08:07:26 +00:00
Angus Leeming
0424a53b20
Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +00:00
Lars Gullik Bjønnes
68b7ef25fb
simple ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
Alfredo Braunstein
e4025acc32
revert last commits. I've detected problems with it (i.e. it is not complete as is)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8593 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 22:43:14 +00:00
Alfredo Braunstein
0d47b55a84
fitcursor work
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8591 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 22:06:21 +00:00
Alfredo Braunstein
5ff360a6e6
add missing lfun status
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8583 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 09:05:28 +00:00
Angus Leeming
991b0ec589
A slightly buggy lfun all-insets-toggle.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
André Pönitz
0d43ba149a
the stuff from the sneak preview:
...
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).
Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.
I had an extensive talk with my profiler and we are happy nevertheless.
This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now lyx::cap::. Was inconsistent with the rest....
Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.
Remove some unneeded prototypes and function declarations
Use ParameterStruct directly instead of ShareContainer<ParameterStruct>
Inline a few accesses to CursorSlice members as suggested by the profiler.
Fix commandline conversion crash reported by Kayvan.
Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...
Remove math specific hack from Documentiterator
Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.
Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.
Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
b634b3eb3b
split LyXFunc::getStatus() into inset specific chunks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8500 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:57:20 +00:00
André Pönitz
9e78fe66de
remove a few rarely neede LyXTExt member functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8499 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:28:49 +00:00
André Pönitz
5198e1d9a3
The Buffer::LyXText -> Buffer::InsetText patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8498 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 12:53:43 +00:00
André Pönitz
ec4ab8ce18
revert Buffer LyxText->InsetText commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8489 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 17:16:38 +00:00
André Pönitz
1b3f5ee46f
the Buffer::text -> inset change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8488 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 16:09:42 +00:00
André Pönitz
4c8d536692
redo undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8481 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:14:45 +00:00