Commit Graph

233 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
2e4ee6f503 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4056 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 15:37:16 +00:00
Jürgen Vigna
9b75c4a848 Fix mouse wheel handling. Added code to interpret wheel-value as % of
workarea-height, but #ifdef'd out because Lars doesn't like it in now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4055 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 15:17:33 +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
43ad9cf095 Fix the rebreak and cursor position if we had a CHANGED_IN_DRAW (fix #175).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4035 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 14:16:08 +00:00
Jürgen Vigna
19ba6786a9 Fix recalculating of row dimensions on a zoom (fix #333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4034 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 13:23:39 +00:00
Jürgen Vigna
a5e70bd5ef Change the layout also for the last selected paragraph and also if one of
the selected paragraphs does have a different layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4025 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 14:14:06 +00:00
Jürgen Vigna
2fbc66100c Fix page up/down behaviour with very high rows. Same for selection with mouse.
(fix #311, #60)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4021 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 09:47:08 +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
Jürgen Vigna
1eba5295d8 Losts of fixes to cursor handling with insets. Cursor up/down now can
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4008 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 14:10:39 +00:00
Jürgen Vigna
ba21e6498c Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jürgen Vigna
8f1a6ffaed Fix the cursor position to be on the end of the row before an inset which
needs a full row (#44).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3966 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 09:53:23 +00:00
Lars Gullik Bjønnes
80d6670b7b ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3912 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-05 15:17:24 +00:00
Jürgen Vigna
c04225fdf1 Fix insetButtonPress in InsetText the same way as in Bufferview_pimpl.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3892 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 13:59:04 +00:00
Jürgen Vigna
b45d1b31f5 Fixes to mouse handling in and outside a InsetText (fix #308, #309).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-29 12:24:50 +00:00
Jean-Marc Lasgouttes
34046e3c4d fix to #241 and #300 from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 17:00:04 +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
Jürgen Vigna
92904c615a Fix polling of selection request to not call the asString function every time.
Fixed a redraw problem for InsetGraphics (fix #271).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3787 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 10:36:03 +00:00
Jean-Marc Lasgouttes
ff86a01601 remove LFUN_DEPTH; some small work on icons and menu reorganization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3776 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 11:17:46 +00:00
Jürgen Vigna
961b1a47ed Find selection inside InsetText and always leave pasted text selected.
(fix #100, #35)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3763 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 13:47:37 +00:00
Jean-Marc Lasgouttes
08bd49a344 lfun_core.diff, make insetgraphics inline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3743 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 13:24:51 +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
Jürgen Vigna
6bb95ff114 Set layout informations on newly created paragraphs and don't resize InsetTexts
LyXText if we didn't create a new LyXText as it is not needed then.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3726 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 13:27:51 +00:00
Jürgen Vigna
45ca3f0c3c More wrong update fixes when we work inside an InsetTexts LyXText (fix #182).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3712 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 15:25:36 +00:00
Jürgen Vigna
a222bf08fa I reactivate the code to resize the InsetText on a resize event of the main
LyxText (this should fix #234 and #179).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3711 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 15:12:23 +00:00
Jürgen Vigna
1045951369 Fixed cursorPrevious for insettext (fix #60).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3709 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 14:33:52 +00:00
Jürgen Vigna
2b24ca217f Fix updating inset inside insets (typically graphics after loading).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3701 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-08 11:42:30 +00:00
Jean-Marc Lasgouttes
1846e91782 fix crash when doing nothing (from John) and upgrade Martin in CREDITS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3669 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-05 16:18:02 +00:00
Lars Gullik Bjønnes
b9288969ec remove lowercase, better layout handling and some variable renameing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Jean-Marc Lasgouttes
d5c4ecc548 tentative fix for #177; small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3624 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-01 12:39:22 +00:00
Angus Leeming
eb6a0ad551 Upgrading of my xforms libs showed that lots of files thought they depended
on xforms. Further inspection showed that they didn't!
I've done nothing more than remove #include "lyx_gui_misc.h" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3615 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 17:50:20 +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
Jürgen Vigna
96c10746aa Fixed by calling edit() before InsetButtonPress on locking the inset for
HIGHLY editable insets (fix #250).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3584 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-22 14:51:53 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +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
Jean-Marc Lasgouttes
342932ad32 two patches from john
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3479 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 11:30:25 +00:00
Lars Gullik Bjønnes
bd82f1d334 fix for something similar to bug132, pluss some small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3429 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-21 12:16:56 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jean-Marc Lasgouttes
fb424bae1b fix starting up which binary is really a symlink; make sure insetinclude file browser returns a relative path when this makes sense; straightforward cleanup of the ways to get filename and filepath for a buffer (in preparation of future work)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3381 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 23:31:23 +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
c890dfa0f8 add shortcuts to filedialogs directory buttons; small gnome patch from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:01:25 +00:00
Jean-Marc Lasgouttes
7bb99be122 fix problem with nroff detection, remove dead code with old floats, bogus message when closing last buffer, toolbar status when changing fonts in math; remove gnome menubar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 13:07:27 +00:00
Lars Gullik Bjønnes
33c5d408fa small stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3348 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 00:33:21 +00:00
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Jürgen Vigna
dde058d322 Update the toolbar if we unlock an inset (or change paragraph).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:32:11 +00:00
Jean-Marc Lasgouttes
61ccd8b8b5 various fixes from John, Martin and Kayvan, plus one of mine. Read ChangeLogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3299 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-07 10:17:44 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
Jürgen Vigna
2f64c235d3 Fixed tripleClick inside InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3264 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:11:31 +00:00
Lars Gullik Bjønnes
a45afb24a4 no change logs, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3232 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:30:35 +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