Commit Graph

32 Commits

Author SHA1 Message Date
Angus Leeming
d51710eb3e Add a pre-handler that triggers an input event when text is pasted into
an xforms text input widget.
Use this in the Preamble dialog.

If anybody wants to help add this functionality to the rest of the dialogs
then feel free. Apart from FormPreferences (which has it's own prehandler
already that would need to be modified) there are about 60 text input
widgets that all need the extra code:
	extern "C" int C_CutandPastePH(FL_OBJECT *, int, FL_Coord, FL_Coord,
				       int, void *);

	fl_set_object_prehandler(widget, C_CutandPastePH);

Not too hard, is it?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2613 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 11:01:05 +00:00
Angus Leeming
ccb3cb54e5 Clean fix for Michael's reported bug with the character dialog. Occurred
because build() is called from the controller meaning that minw_ etc
were not reset.

Fix to citation dialog; the style should now remain centred within the frame.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2607 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 13:48:40 +00:00
Angus Leeming
467323b2b8 Removed // -*- C++ -*- from all .C files!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2121 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 15:11:17 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Angus Leeming
62f5f89bec trivial changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2059 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 14:54:25 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +00:00
Angus Leeming
8999098e94 Remove some xforms cruft from BufferView.h BufferView_pimpl.h.
John's name-changing patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1878 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-03 14:30:58 +00:00
Angus Leeming
58d99b4a97 * Baruch's GuiBC template.
* Some file (and class) name changes:
	ButtonController.[Ch] to ButtonControllerBase.[Ch]
	BCTemplates.h to ButtonController.h
	ControlBase.[Ch] to ControlButton.[Ch]
* Moved file browsing into the controllers for the Graphics, Include and
Print popups.
* Fixed search bug in Citation popup. Added case sensitive button.
* Implemented controller-view split for External Material popup. Think that
it's now correct, but could you check again, Dekel?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 09:51:46 +00:00
Angus Leeming
a12309c76b Implementation of controller-view split for FormCharacter.
Some small clean-ups of code in frontends/controllers and frontends/xforms.
Added size_type and size() to Languages in language.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 13:27:03 +00:00
Angus Leeming
9f29ab3aa5 controller-view split of FormLog and FormVCLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 10:14:03 +00:00
Lars Gullik Bjønnes
fc8465aa1f use anon namespace, somewhat better comp. handling of minipages, not quite there yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 01:22:46 +00:00
Angus Leeming
5997291fc3 Rewrote the maths panel so that ALL the popups now derive from FormBaseBD,
cleaning up the logic in the process. Should now be easy to move to a
controller-view split.
Moved the minw_, minh_ bug-fix into the base class. Can now forget about it!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-19 15:38:22 +00:00
Angus Leeming
9c36dd0f40 Merging BRANCH_MVC back into HEAD.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1770 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 13:37:04 +00:00
Angus Leeming
2e279fe9c7 John's small fixes to qt2 and xforms + his elegant replacement to FL_TRANSIENT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1612 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:19:54 +00:00
Angus Leeming
99a8f84465 extended ButtonController so that only FL_OBJECT *s in a trigger_change_
vector can actually cause the Ok, Apply buttons to change state on input.
Vector created for FormCitation.

Please test!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1514 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 18:56:38 +00:00
Jean-Marc Lasgouttes
891bff2bfe A few patches I forgot to commit on friday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1272 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-11 09:46:09 +00:00
Jean-Marc Lasgouttes
048b42443d Preference/Color changes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1253 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-04 14:10:44 +00:00
Lars Gullik Bjønnes
977cf6160f apply the patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1229 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 21:51:25 +00:00
Lars Gullik Bjønnes
a32d2c972f fix a couple of hard crashes, constify local variables, whitespace changes, some changes to new code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1215 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-14 02:01:57 +00:00
Jean-Marc Lasgouttes
0c978e6a3f Color patch from Angus, KDE patch from Johnm menu patch from Rob, and the usual uninteresting tweaks from me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1211 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-10 17:29:47 +00:00
Lars Gullik Bjønnes
7ec7c9da44 changes read the dirr and changelog, something should be remvoed/changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1205 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-08 09:39:46 +00:00
Jean-Marc Lasgouttes
c9dbe4fd82 Cleanup patches for xforms (Angus) and KDE (John)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1148 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-24 13:13:59 +00:00
Jean-Marc Lasgouttes
8effd3eec4 The forms resize patch, and small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1142 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-20 09:50:09 +00:00
Allan Rae
ba01a232ea Angus's FormInset work; Dekel's languages patch; my reworking of Angus's stuff + other xforms cleanup; No guarantee I got the kde or gnome stuff right wrt updateBufferDependent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1110 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-13 05:57:05 +00:00
Allan Rae
d4c8acbcb2 Angus's xforms patch -- I don't like some of it but overall we need it...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1090 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 01:33:42 +00:00
Allan Rae
2c80c7bdd1 Dekel's lyxrc.example; Angus's FormDocument; John's build-listerrors; POTFILES.in and ext_l10n.h now handled by Makefile rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1084 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-05 07:57:00 +00:00
Allan Rae
20b05ef8c1 FormBase extends its reach into the codebase and gains a ButtonController
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1062 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 00:10:25 +00:00
Lars Gullik Bjønnes
5f1427b648 more type changes, some consts added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1061 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 18:44:07 +00:00
Jean-Marc Lasgouttes
f3850c0c5f More small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1058 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 13:58:45 +00:00
Allan Rae
0d5c7b928f allow derived classes to manipulate signal connections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1054 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 06:34:04 +00:00
Allan Rae
52d76611c3 Angus's FormBase patch with tiny cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1045 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-27 05:40:29 +00:00
Jürgen Vigna
63f7e47a62 Angus inseterror patch + Dekel mathed fix + added language_country code and
support this for pspell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1033 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-22 15:09:51 +00:00