Commit Graph

313 Commits

Author SHA1 Message Date
John Levon
ebef7baa26 Darren's patch, reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5451 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-21 00:15:48 +00:00
Angus Leeming
2ed6872ad5 Fix to bug 633.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5382 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 12:18:55 +00:00
John Levon
5a15177281 remove noload/don't typeset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5243 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 17:32:53 +00:00
André Pönitz
65e2f0f63d BufferView.[Ch]:
don't provide direct access to WorkArea, use two simple
		acessors haveSelction() and workHeight() instead

  [And the ChangeLog entry, which was in the editor but not saved...]


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5173 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:41:58 +00:00
André Pönitz
edc55ba120 Makefile.am:
BufferView2.C: remove file, move contents to...
BufferView.C: ... here

BufferView_pimpl.C:
factory.C: move more inset creation to factory

vspace.C: avoid direct usage of LyXText, ws changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5172 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-29 13:05:55 +00:00
John Levon
5ef09542a2 Do not dispatch in BV when no buffer. Andre, please review.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5147 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 23:56:05 +00:00
André Pönitz
cd4d035577 moving more stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5142 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 17:33:42 +00:00
André Pönitz
f59571dcab 100 lines moved, 33 dead.
Just for the record:

1.2.1:
  3666    8203   85497 BufferView_pimpl.C
  2693    8230   72506 text2.C
  6359   16433  158003 total

1.3cvs equivalent:
  1451    3413   34098 BufferView_pimpl.C
  2407    7391   64931 text2.C
  1588    4040   39668 text3.C
    94     203    2167 factory.C
  5540   15047  140864 total

so we saved over 800 lines by just moving stuff around...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5134 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:09:19 +00:00
André Pönitz
eb395d9d31 move mouse click handling to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5132 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 10:45:38 +00:00
André Pönitz
3c7c7a3209 the workarea changes plus small math stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5128 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 08:30:27 +00:00
André Pönitz
b9d544874e 7 out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5126 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 16:16:17 +00:00
Jean-Marc Lasgouttes
a0d71b53fe move floatlist to textclass
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5124 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:51:19 +00:00
André Pönitz
ef17c169f4 15 moved, 23 dead, 1 bug squashed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5122 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:23:01 +00:00
André Pönitz
b3d8d0d1a2 just move
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5121 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:00:59 +00:00
André Pönitz
527cd00d2f move 42, kill 12
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5120 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 14:43:49 +00:00
André Pönitz
38fd440edb 27 moved, 19 killed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5119 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:39:27 +00:00
André Pönitz
2a0909f47b 73 lines moved, 15 killed... spoils the average ;-}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5118 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 13:17:22 +00:00
André Pönitz
45b2220180 move a bit moer stuff from BufferView::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5117 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 12:32:04 +00:00
André Pönitz
ea8e13cd2f the factory stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5115 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 10:14:56 +00:00
André Pönitz
17b41b1655 move cut&paste lfun handling from BufferView to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5112 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 13:25:49 +00:00
Jean-Marc Lasgouttes
11953d3734 the optional argument patch from martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5079 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 09:05:32 +00:00
André Pönitz
107ecefbad move some stuff from BufferView_pimpl.C to text3.C and lose a few lines...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5072 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-22 13:02:14 +00:00
Lars Gullik Bjønnes
e733558125 use boost::bind instead of home grown stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5044 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 20:04:24 +00:00
André Pönitz
53cc89eed6 - parts of Lars' diff-6.diff
- move inline functions from buffer.h to buffer.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5038 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 17:18:21 +00:00
André Pönitz
1d4154f333 another 100+ lines bite the dust...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 15:26:52 +00:00
André Pönitz
c69f29dda7 move half of BufferView_pimpl::dispatch() to LyXText::dispatch()
which has its new home in text3.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5030 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 13:00:25 +00:00
Dekel Tsur
8d72afd0ec Insert insetbibtex with "plain" style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5029 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-20 12:14:00 +00:00
André Pönitz
72f30959c1 remove unused code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5026 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 16:41:39 +00:00
André Pönitz
799f3049d1 move handling of LFUN_APPENDIX to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5025 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 15:39:25 +00:00
André Pönitz
11ffa04773 use the new mouse LFUNs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 10:11:13 +00:00
Dekel Tsur
4a0b9802c4 RTL fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5019 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-18 17:15:24 +00:00
André Pönitz
0b86a117fb streamlining interaction mathed <-> rest of the world
remove unneeded lfun
general cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4996 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 14:33:14 +00:00
André Pönitz
808973619b the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4958 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 17:43:40 +00:00
Angus Leeming
c10dfd15cd * LyXView: the accessor methods now return a reference to the member
variables, not a pointer.
* WordLangTuple: you can forward-declare a return type you know ;-)
* Qt: get it to compile again, having broken it yesterday.
* Everything else? See above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4957 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 14:40:38 +00:00
Jürgen Vigna
46af93a495 Don't open collapsable insets on mouse button 3 events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4940 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 09:35:52 +00:00
Lars Gullik Bjønnes
116dbc66eb a new paragraph function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4930 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 15:21:07 +00:00
John Levon
a04092ebdb Martin/Angus srcdoc patch, a fix for scrollbar and font size change, fix warning, fix X selection on double/triple click
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4890 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 14:15:06 +00:00
André Pönitz
b8198905dc the FuncRequest changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4887 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:11:41 +00:00
John Levon
8c47d2cec3 A small missing repaint bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4885 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 23:21:06 +00:00
John Levon
7c98b3bd37 spellchecker cleanup - fscked knows why pspell is broken, I am TOTALLY
baffled by that one.

Various other cleanups, including a fixed version of lyxlex that doesn't
destroy the preamble ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:11:50 +00:00
Lars Gullik Bjønnes
e39935204d remove some unneeded version of functions from lstrings,
some gcc 3.2. minor compile fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4800 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-28 18:13:51 +00:00
Lars Gullik Bjønnes
92c15c86a5 add connection objects and assign to them to
work around a bug with some gcc compilers,
RHs 2.96 in particular.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4752 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-22 20:57:58 +00:00
Jean-Marc Lasgouttes
1dc25c472f time to recompile everything: I removed #include directives from headers here and there... Not sure what the net effect is, but it cannot be worse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4736 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-21 21:21:06 +00:00
Jean-Marc Lasgouttes
8a91f206c6 implement DependsOn tag for layout files; more uninteresting cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4729 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 20:47:54 +00:00
Dekel Tsur
73ed77bf66 Fix opening of a bibitem inset in a RTL paragraph.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4726 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-20 17:41:12 +00:00
John Levon
1d0eda5d02 fix some dispatch calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4712 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-19 17:15:56 +00:00
John Levon
91bcdf564a Make showState be view_state_changed, and rename setState to something
more descriptive


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4671 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 04:13:41 +00:00
Angus Leeming
4432148136 Small tidy up of preview code, part I.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4654 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-16 18:10:03 +00:00
John Levon
61fc371093 redraw fix 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4605 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:09:45 +00:00
John Levon
52d30225b8 add two FIXMEs , little cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4573 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 16:19:14 +00:00