Commit Graph

107 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
8c93f63b48 * filetools.[Ch]: Make functions that start with a capital
letter start with a lower letter.
	* All other .C and .h in the cs: adjust for above change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 22:31:11 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Martin Vermeer
a193ea09f9 Selective expose patch
* metricsinfo.h
	(ViewMetricsInfo): add size parameter

	* BufferView_pimpl.C
	(BufferView::Pimpl::metrics): return size

	* frontends/screen.C
	(LyXScreen::redraw): expose selectively, using y1, y2 in vi, and
	exposing lower grey at end using size test



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-20 15:05:07 +00:00
André Pönitz
282f86fbb1 send UpdatableInset down the way of the Dodo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
Martin Vermeer
a683500118 Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
allow single-paragraph update


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Martin Vermeer
31bded06b1 The processEvents / screen update recursion bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9931 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-11 07:44:20 +00:00
John Levon
ed0d2079b8 Better comment for the event queue magic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9615 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-11 18:07:06 +00:00
Asger Ottar Alstrup
f22059e9e4 - Move theCoords.doneUpdating here - right before we paint the cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9585 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-04 07:16:03 +00:00
André Pönitz
9a5b09b5e4 start fixing cursor size in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9460 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-10 09:28:06 +00:00
Alfredo Braunstein
3c696553ac draw incomplete cursors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9352 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-06 21:59:23 +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
fe87ad6b88 add Debug::DEBUG and add some saver coversions to qt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8816 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 13:31:55 +00:00
John Levon
3cd2264196 re-show the cursor. Report any cursor dirt please.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8672 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 14:25:05 +00:00
Alfredo Braunstein
db2c1d5917 the 'fitCursor fix'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8624 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 20:20:15 +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
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
29ef6251e8 re-enable click on button insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8394 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 16:44:57 +00:00
André Pönitz
6af06846fd remove cursor::drawSelection() plus some math reorganization (move the
'width' cache from MathAtom)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8383 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 17:32:56 +00:00
André Pönitz
99aacdad5c more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8376 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-30 11:41:12 +00:00
André Pönitz
ccc5d55764 Part of IU.
####################################################################

          1.4.0cvs is now NOT fit for any serious use

####################################################################


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8363 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-20 14:25:24 +00:00
André Pönitz
25bafa2772 Anchor globalization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8340 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 18:08:13 +00:00
André Pönitz
84b462dd37 ismall stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8144 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-28 08:55:12 +00:00
Alfredo Braunstein
79ae54d4c0 fitCursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8079 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-13 08:50:26 +00:00
Alfredo Braunstein
29eaa76094 some fitcursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-11 09:06:41 +00:00
André Pönitz
b0cffd9fc0 The deed is done.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8064 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-10 09:06:48 +00:00
André Pönitz
3e8ce5ac6c refrain from computing width in setHeightOfRow as this happens already
in rowBreakPoint before.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7976 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-24 09:45:07 +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
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
0d54d6b74d Remove #include "LColor.h" from inset.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7766 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 09:44:34 +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
e835c9477b Pimpl Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7719 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 11:24:33 +00:00
Angus Leeming
fd36f5ad76 Make buffer's member variables private; use accessor functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7717 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 09:47:59 +00:00
Angus Leeming
d6cb58ab66 Remove WorkArea.C (empty).
Rearrange #includes in alphabetical and directory order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7672 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 10:55:42 +00:00
John Levon
0769f8d599 remove cursor.i[xy]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7640 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-02 17:08:54 +00:00
Lars Gullik Bjønnes
b881ed2d5a Use Buffer const reference in most placees possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7623 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-28 07:41:31 +00:00
John Levon
7bfa084387 bug 1341
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7621 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 20:12:08 +00:00
Alfredo Braunstein
cf6549229d moves top_y from lyxtext to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7616 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-27 14:55:20 +00:00
Alfredo Braunstein
bf070fc876 missed this one yesterday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7607 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-26 13:46:58 +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
André Pönitz
08492c2703 shift rowpainter interface a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7575 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-19 16:46:47 +00:00
André Pönitz
dd25d9ffe5 drop one argument from paintRows, add pit argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7565 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 09:52:17 +00:00
André Pönitz
7000451e00 drop a few fitCursor() and draw() calls
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7563 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-18 08:23:03 +00:00
André Pönitz
221f1be82d remove toggleSelection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7552 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 10:24:39 +00:00
André Pönitz
09e0187997 split LyXText::rowlist_ into individual Paragraph::rows_ chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7551 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-15 08:03:54 +00:00
André Pönitz
37ae3fda0d * screen.[Ch]: merge update() and repaint()
suppress excessive debug messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7475 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 14:51:09 +00:00
André Pönitz
184b5dadaf - y - (-y) is pretty close to 0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7440 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-29 10:00:51 +00:00