Lars Gullik Bjønnes
05347e4101
make some more regexs static
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:23:41 +00:00
Lars Gullik Bjønnes
87ca6fbbeb
the dispatch patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7931 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 18:01:15 +00:00
Jean-Marc Lasgouttes
dab52aa183
compile fixes for stlport
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 14:30:33 +00:00
André Pönitz
7f3eb7cf70
RowList::iterator -> Row &, ParagraphList::iterator -> Paragraph &
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 10:31:47 +00:00
Lars Gullik Bjønnes
1684282f8a
Get rid of the TextCache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7928 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-17 09:32:41 +00:00
André Pönitz
f88fb47bc7
* filetools.C (ReplaceEnvironmentPath): set up patterns just once
...
using static variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7927 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:41:32 +00:00
André Pönitz
9ed14b41fa
make updateRowPositions() a bit faster.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7926 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 16:19:56 +00:00
Lars Gullik Bjønnes
506844eca2
Fix a crashing problem with unknown actions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7925 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-16 11:16:15 +00:00
José Matox
eac541985f
add missing bits to gtk port
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7924 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 10:55:42 +00:00
André Pönitz
18ce60e3c6
undo per inset. still a few crashes...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-15 08:49:44 +00:00
Angus Leeming
50257b8690
Turn LyX into a singleton class. Kill the BufferView cache.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 21:30:23 +00:00
Angus Leeming
6fc6d7e010
Only draw the preview when previews are activated.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:54:16 +00:00
André Pönitz
7e2343e016
make it compile & disable debug message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7920 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:13:55 +00:00
André Pönitz
5c2f0c5c46
In insets:
...
2003-10-14 Andr� P�nitz <poenitz@gmx.net>
* insetcollapsable.[Ch]:
* insettabular.[Ch]:
* insettext.[Ch]:
* inset.h: getText() as alternative to getParagraphs()
In src:
2003-10-14 Andr� P�nitz <poenitz@gmx.net>
* iterators.[Ch]: new direct access to innermost LyXText and Inset
* undo.[Ch]: restoring part of 'undo in insets'
* Makefile.am:
* undo_funcs.[Ch]: merge with undo.[Ch]
* tabular.C: small cleansing stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7919 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 13:01:49 +00:00
Alfredo Braunstein
5705714920
Fix bug 1323
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7918 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 12:49:15 +00:00
Angus Leeming
4e136e6f41
(Jo�o Assirati): add the ability to inverse-search a dvi file.
...
To use, you'll need either to run 'latex --src-specials' or, if your version
of latex isn't up to the task, to use the srcltx package. Further, your
vi viewer must be up to the task. xdvi 22.38 or the kde 3 version of kdvi.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7917 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 11:35:50 +00:00
Angus Leeming
09e56ecb68
Missing ChangeLog entry for the new socktools.[Ch] files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-14 09:40:16 +00:00
Angus Leeming
e9e4ffb1d1
displayTranslator is now a function. No need to invoke setDisplayTranslator
...
explicitly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 21:50:33 +00:00
Angus Leeming
9a01e253a1
(Kayvan): compile fix for non-Linux platforms.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 20:49:31 +00:00
José Matox
f91146d22b
fixes to compile and link gtk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7913 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 15:23:45 +00:00
André Pönitz
0336ebd447
restore undo on parlist level.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:59:45 +00:00
André Pönitz
b79331e005
preparations to regain ability of per-inset undo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7911 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 13:27:45 +00:00
Angus Leeming
45a8d5a93a
Jo�o Assirati's lyxsocket patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 12:25:11 +00:00
André Pönitz
a316a54e60
* BufferView_pimpl.C:
...
* lyxtext.h:
* text.C:
* text2.C:
* text3.C:
* undo_funcs.[Ch]: use paroffset_type instead of
ParagraphList::iterators to prevent multiple conversion
(and get a more robust interface)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:59:31 +00:00
Angus Leeming
57c37d2760
Use Andr�'s prefered idiom here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7908 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:25:44 +00:00
Angus Leeming
360b55ea0f
Make it compile with g++-2.95.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7907 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:16:05 +00:00
Angus Leeming
efae689873
Remove a couple of #includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 10:00:39 +00:00
Angus Leeming
a60b5c0b72
Whitespace only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
Angus Leeming
18b220ac99
No trailing whitespace left in src...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:43:15 +00:00
Lars Gullik Bjønnes
16e1f90daa
ws changes only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7903 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 02:10:45 +00:00
Lars Gullik Bjønnes
32d1460f26
missed this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7902 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:58:25 +00:00
Lars Gullik Bjønnes
da6d2de0ba
do not call InsetOld::localDispatch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7901 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:53:45 +00:00
Lars Gullik Bjønnes
75b485d110
DISPATCH -> dispatch_result
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7900 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:35:47 +00:00
Lars Gullik Bjønnes
22c7835022
move some vars to smaller scope
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7899 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 01:01:33 +00:00
Lars Gullik Bjønnes
6cebb34085
Get rid of LyXFunc::dispatch that takes a string.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7898 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 00:38:09 +00:00
Angus Leeming
122e7616d7
Minimise the use of the BufferView cache. The only things left using it
...
are InsetFormula, InsetExternal, InsetGraphic and InsetInclude that all
need to inform the BufferView of their changed status when the graphic
is loaded.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7897 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-12 18:54:12 +00:00
Lars Gullik Bjønnes
c57b67f24f
Bug: 820
...
2003-10-11 Lars Gullik Bj�nnes <larsbj@gullik.net>
* LaTeX.C (deplog): move found file handlig from here...
(handleFoundFile): .. to new function here.
(deplog): make sure to discover several files mentioned on the
same log line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7896 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-11 01:21:26 +00:00
Angus Leeming
1c4ae33f9a
A little further clean-up.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:24:06 +00:00
Angus Leeming
dff822442a
RenderButton, RenderGraphic and RenderPreview now have a common lineage.
...
Almost sane code ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7894 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 21:08:55 +00:00
Angus Leeming
f690ef67a6
A bunch of prettier buttons for the math toolbar.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7893 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 20:56:25 +00:00
Angus Leeming
cfdd1f4b61
Don't try and generate the previews from draw.
...
insetUnlock is already doing a fine job...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7892 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 14:20:59 +00:00
Angus Leeming
d091b17e92
The \sqrt and \root icons on the math toolbar were transposed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7891 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 14:04:28 +00:00
André Pönitz
c8829b0feb
fix #1384
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7890 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 11:27:05 +00:00
André Pönitz
839576adbc
fix a few of the tabular crashes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-10 09:01:23 +00:00
Angus Leeming
760829360d
Towards saner generation of previews code. Yeah, I know. I wrote it in
...
the first place. I was younger then.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7888 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 23:14:30 +00:00
Angus Leeming
97a1af408e
Remove the inset and view member functions from PreviewedInset.
...
Ensuing changes elsewhere.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 19:27:07 +00:00
Angus Leeming
8ddfa9d784
Don't use the cached BufferView to get the Buffer when we have direct access
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7886 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 14:36:16 +00:00
Lars Gullik Bjønnes
b5b225c657
remove some more debug noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7885 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 13:33:19 +00:00
Lars Gullik Bjønnes
bae961184e
remove some debug noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7884 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 13:27:51 +00:00
André Pönitz
dcd8fb0428
replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
...
invalidation if the paragraphlist is changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +00:00