Alfredo Braunstein
e3fc822783
Added new signals to Buffer, connect/disconnect to them in BufferView, added BufferView::newFile
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7242 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-07 08:37:02 +00:00
Alfredo Braunstein
ffb610695f
added a parseError signal to Buffer and use it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7200 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 23:03:43 +00:00
Alfredo Braunstein
2d8eb4b9d4
take several functions out of BufferList, and split functionality
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7195 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-20 12:46:28 +00:00
Alfredo Braunstein
2a882902eb
get rid of InsetError users
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6986 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-20 16:51:31 +00:00
John Levon
c7b495326e
cursor.diff, bug 1095
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
John Levon
a4d63e9e79
update layout choice properly (bug 975)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6563 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-24 02:31:44 +00:00
John Levon
0623d1f074
The markDirty() and fitCursor() changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 14:45:22 +00:00
John Levon
609f0b3321
2003-02-13 John Levon <levon@movementarian.org>
...
* text.h:
* text.C:
* text2.C: move hfillExpansion(), numberOfSeparators(),
rowLast(), rowLastPrintable(), numberofHfills(),
numberOfLabelHfills() ...
* lyxrow.h:
* lyxrow.C: ... to member functions here.
* paragraph.h:
* paragraph.C:
* lyxtext.h:
* text.C: remove LyXText::beginningOfMainBody(), and call
p->beginningOfMainBody() directly. Move the check for
LABEL_MANUAL into the latter.
* text.h:
* text.C:
* text2.C:
* vspace.C:
* BufferView.h:
* BufferView.C: make defaultHeight() be a free defaultRowHeight()
* text.h:
* text.C:
* text2.C:
* text3.C:
* frontends/screen.C: move bv_owner private, introduce isTopLevel()
to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6143 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-14 00:41:44 +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
John Levon
ae87b94515
The big change tracking patch. Changes from posted version :
...
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global
I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
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
036147ebfa
Compilation fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5191 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 11:54:41 +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
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
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
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
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
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
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
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
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
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
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
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
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
John Levon
1cadf458e3
redraw() cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4450 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 02:22:13 +00:00
John Levon
60b905b885
Merge the working bits of the resize patch, and fix a couple of things
...
that broke.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4441 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-20 20:37:42 +00:00
John Levon
64488b06af
remove some more unneeded focus stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4436 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-19 23:55:55 +00:00
Lars Gullik Bjønnes
f1c24d1009
*duck*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
0db59752e2
Painter and scrollbar API patches
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4386 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 15:01:32 +00:00
John Levon
ab5f0efdcb
Some minor cleanup + use of scoped_ptr instead of raw pointer,
...
to reduce diff size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4374 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 02:54:19 +00:00
John Levon
ae11d20ade
Remove enter/leaveView since core has no right to know when
...
that happens, and rename wa->height to workHeight() for consistency
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4373 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 00:51:45 +00:00
John Levon
92e53dc01b
Rename screen, and don't re-construct it on a buffer change (that is far too
...
nosy of the core), and use an accessor ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 23:47:58 +00:00
John Levon
d6120758ce
apply workarea() patch. Most of it is orthogonal to the scoped_ptr
...
debate anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4370 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 22:38:49 +00:00
Lars Gullik Bjønnes
1e39473100
Switch from SigC signals to boost::signals
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
John Levon
97ef9131ba
static_cast-based key/mouse-state. Kill insetKeyPress.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
John Levon
98b254c810
more guii moving around.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4192 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 15:43:25 +00:00
Lars Gullik Bjønnes
482c04ecca
use more specific smart_ptr headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Jürgen Vigna
6e00a5436e
Remove wrong and unneeded insetSleep/Wakeup functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4046 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-23 13:35:43 +00:00
Jürgen Vigna
ba79607927
Simplified code and don't enter inset on cursor down/up while we are selecting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +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
bae36d14f7
2002-03-12 Lars Gullik Bj�nnes <larsbj@birdstep.com>
...
bufferlist.h: doxy changes
bufferlist.C: ws changes
DepTable.[Ch] (ext_exist): place const in the right spot.
BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
resizeInsets.
call resizeInsets when the with BufferView changes.
adjust for protectedBlank removal
call updateInset if the insert went ok.
BufferView_pimpl.[Ch] (protectedBlank): remove func, use
instead.
BufferView2.C (ChangeInsets): remove warning add FIXME comment
BufferView.h: doxy change
Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
lyxtextclass.C (operator[]): remove non-const version
out): remove non-const version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3733 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 17:15:44 +00:00
Jean-Marc Lasgouttes
4b07057b7e
"ding-dong, the witch is dead!", says John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3609 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:06:24 +00:00
Jean-Marc Lasgouttes
0dd7fe4e06
fix loss of selection from John; some small things
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3500 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 16:43:54 +00:00
Lars Gullik Bjønnes
813234f7e6
bug 69
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3357 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 17:28:42 +00:00
Jean-Marc Lasgouttes
6774c17368
fix to checkInsetHit() from John
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3227 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 14:25:04 +00:00