Commit Graph

61 Commits

Author SHA1 Message Date
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
André Pönitz
efff440e70 remove toggleToggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7427 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:22:42 +00:00
André Pönitz
b6c4462095 slimmer interface to paintrows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7425 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 20:04:43 +00:00
André Pönitz
b83d39ce33 move row loop for drawing from screen.C and insettext.C to rowpainter.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7423 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 18:40:05 +00:00
André Pönitz
cf9d1fb908 make the drawing loops in screen and InsetText more similar to each other
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7416 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:18:35 +00:00
Lars Gullik Bjønnes
4ba8a4d6f6 the clone auto_ptr patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7356 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-25 17:11:25 +00:00
André Pönitz
172c868068 small stuff
less debug output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7344 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-22 15:12:04 +00:00
Angus Leeming
0d4d71dfe6 Finish the migration from namespace grfx to lyx::graphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7334 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 21:30:57 +00:00
André Pönitz
cd12251e27 'full redraw' related stuff that's innocent for the upward-selection-in-tables bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7285 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 16:25:02 +00:00
André Pönitz
4ec8f6453d refresh_status_ trisate -> need_refresh_ bool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 11:08:02 +00:00
André Pönitz
e347e9e925 collapse REFRESH_AREA and REFRESH_ROW handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7275 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 09:44:54 +00:00
André Pönitz
8aff4a1530 slimmer row painter interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7272 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-14 17:50:00 +00:00
Lars Gullik Bjønnes
fe390e9da1 namespace grfx -> lyx::graphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7239 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-04 08:23:23 +00:00
Lars Gullik Bjønnes
92d522b7f1 introduce namespace lyx::support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7224 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-30 23:56:22 +00:00
André Pönitz
5795dddd40 remove LyXCursor::row_ member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7214 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-27 08:38:41 +00:00
John Levon
06c81c0ec4 fix the fix for bug 818. Hopefully. Damn I hate this stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7096 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-03 19:32:08 +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
Angus Leeming
b1bf0d92b3 A couple of Alfredo's bug fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6828 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-17 08:07:07 +00:00
Lars Gullik Bjønnes
02a6251610 cached y positions patch from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6785 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-12 23:03:05 +00:00
Lars Gullik Bjønnes
0d876bc179 rowlist10
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6674 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 16:55:48 +00:00
Lars Gullik Bjønnes
82d3d4dff6 rowlist9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6669 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 10:10:28 +00:00
Lars Gullik Bjønnes
0eaa5ae519 rowlist4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 18:42:37 +00:00
Lars Gullik Bjønnes
6778eeaa36 rowlist3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6647 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 07:27:36 +00:00
John Levon
12b2d2ec4d rename the refresh stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6572 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-25 01:28:29 +00:00
John Levon
fa15f1b24a Ding dong, the CID is dead...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6558 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-22 17:26:03 +00:00
Lars Gullik Bjønnes
064714a102 Remove the BufferView* arg from almost all LyXText class functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6519 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 16:25:00 +00:00
John Levon
3b9620ae6d paint cleanups as sent to list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6517 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-17 01:34:36 +00:00
John Levon
c803419c43 Alfredo's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6372 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-06 20:21:21 +00:00
Angus Leeming
86154691fc Fix Qt crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6292 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-27 09:39:24 +00:00
John Levon
4d440a1473 The row-painter patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 17:04:10 +00:00
Angus Leeming
df9798bec7 Ensure that the LyX splash screen is drawn if desired.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6278 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-26 12:49:01 +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
Angus Leeming
7a0ca9b48c * disable loading of xpm files by the xforms image loader.
* prevent a crash when the file browser dialog is shrunk too much.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-12 19:35:40 +00:00
Lars Gullik Bjønnes
c5058bffd8 better selection and scrolling behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5769 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-03 18:28:17 +00:00
Lars Gullik Bjønnes
2068180f37 add delay if we have a selection going
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5767 a592a061-630c-0410-9148-cb99ea01b6c8
2002-12-03 09:57:59 +00:00
Lars Gullik Bjønnes
53274e31ec the string -> char patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5725 a592a061-630c-0410-9148-cb99ea01b6c8
2002-11-27 10:30:28 +00:00
Angus Leeming
1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
6fac1dc980 Really dull and boring header shit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 14:10:50 +00:00
André Pönitz
6c12adeebe Finish the re-indroduction of the show_banner flag. It is 'true' by
default now and not changable from the UI, but a \show_banner "false" in
the .lyx/preferences gets honored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4877 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 13:00:50 +00:00
Lars Gullik Bjønnes
de236c41d8 Changes to make RH-7.3 be able to run lyx.
Also changes to make gcc 3.1 compiled lyx exit cleanly after
above changes.

Move operator== out out InsetCommandParams.

Change some signals in GraphicsImage to function instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4535 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-04 17:45:35 +00:00
Angus Leeming
888532c465 Asymptotic approach to a well-designed graphics loader.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4502 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-28 11:22:56 +00:00
Angus Leeming
1bb197b5d4 Create a grfx::Loader class and so move large chunks of code out of
frontends/screen.C and insets/insetgraphics.C. Leave mathed/preview.C
untouched as an excercise for Andr� ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 14:15:08 +00:00
André Pönitz
9c1a896972 There is now a \preview lyxrc variable defaulting to 'false'.
Would be nice if someone would make this available in the preferences
dialog.

And this incorporates Herberts' patch to use pdfLaTeX which means
we are approaching TeXMacs ballpark of sluggishness...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-26 08:59:25 +00:00
Angus Leeming
514156adbb * Split the graphics loader into a frontend and a backend.
* Add frontend code to generate and display the pixmap to InsetGraphics.
* Add (much simpler) frontend code to the LyXScreen to show the splash screen
once more.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-25 15:59:10 +00:00
Lars Gullik Bjønnes
65d4b13616 layout as layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4471 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 20:28:12 +00:00
Angus Leeming
e64503b8c2 Virtual code for the splash screen and a suggestion that this isn't the
best way to proceed after all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4460 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-21 17:16:35 +00:00