Commit Graph

6382 Commits

Author SHA1 Message Date
André Pönitz
7d4c0027d8 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8620 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 13:15:34 +00:00
André Pönitz
82197e8dcf fix reading subscripts/superscripts.
A true one-liner.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8619 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 12:10:19 +00:00
Angus Leeming
21ea61eb81 Prevent crash when clicking on either the external or the include insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8618 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 09:25:31 +00:00
André Pönitz
6c9b23105c fix table crash;
selection by mouse


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8617 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 08:07:26 +00:00
Martin Vermeer
9b35643f8e Use 'assign' as the name for the operation that opens/closes branch
insets according to selection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8616 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-07 05:28:51 +00:00
Angus Leeming
dcd66fa802 Georg's latest contribution to squashing bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8615 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 21:07:27 +00:00
André Pönitz
57501b9306 several small fixes for mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8614 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 19:25:39 +00:00
Jean-Marc Lasgouttes
5b992e53e5 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8613 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-06 13:48:13 +00:00
Angus Leeming
ceff8c17ef Realize Allan Rae's PreferencesPolicy correctly and return the
preferences dialogs of all three frontends to it. The 'Save' button
should now behave as expected when the dialog is closed and reopened.
Squashes bug 1274 for the 1.4.x tree.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8612 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:34:36 +00:00
Angus Leeming
9f4d9b92b9 Bug fix: enable the frontend to ignore the contents of system_lyxrc
when posting the user's changes to lyxrc back to the core.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8611 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:21:25 +00:00
Angus Leeming
d75a027942 Cruft removal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8610 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 18:17:47 +00:00
André Pönitz
678d4d3ce8 and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8609 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:47:55 +00:00
André Pönitz
d473dff417 remove unneded math specific stuff, use altered notifyCursorLeave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8608 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:44:10 +00:00
André Pönitz
03b6d27f47 use LCursor & in notifyCursorLeave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8607 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:39:52 +00:00
André Pönitz
022a3ca047 additional nargs check
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8606 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:36:03 +00:00
André Pönitz
ec744e7583 small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8605 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 16:31:52 +00:00
Angus Leeming
90e427465d Squash bug 1345 in the 14x tree: xforms frontend doesn't have
%theight or %pheight as a graphics sizing choice.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8603 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 14:05:03 +00:00
Angus Leeming
65aa219f2e Get the date right ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8602 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 14:01:30 +00:00
Angus Leeming
29e3a03b63 Squash bug 1372: Misleading graphics label when deactivating lyx view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8601 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 11:59:14 +00:00
Jürgen Spitzmüller
08a4a228f7 Fix a crash when trying to open the qdocument dialog. Sorry all!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8600 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 10:38:04 +00:00
Angus Leeming
4420370ee0 Ensure that the accessor index is valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8599 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 10:37:16 +00:00
Angus Leeming
0424a53b20 Wrap all #warning calls inside #ifdef WITH_WARNINGS blocks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8598 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 09:36:28 +00:00
Angus Leeming
d5fff7cbd8 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8597 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 08:52:45 +00:00
Jürgen Spitzmüller
971a9ac4e3 Angus' fix to make pclose work again:
block SIGCHLD during popen/pclose.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8596 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-05 06:46:22 +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
9ae9abddf8 small fix to the fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8592 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 22:20:49 +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
Jürgen Spitzmüller
5d2127ac8e I hope this is the final adjustment to enable/disable
the placement options in the qt float dialog correctly.
Yesterday's fix still had some glitches.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8590 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 09:32:45 +00:00
Jürgen Spitzmüller
071120c767 fix the float fix and apply the fixed float fix to insetwrap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8589 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-02 08:54:37 +00:00
Angus Leeming
72b9c5c702 Soothe Georg's minor irritation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8588 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 21:03:52 +00:00
Angus Leeming
12780bf2b6 Removed another historical artefact.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8587 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 18:53:03 +00:00
Jürgen Spitzmüller
61290c38be the fix for the enabling/disabling of the placement options (bug 1016) was not yet perfect. It should be now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8586 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 16:06:34 +00:00
Jürgen Spitzmüller
a6c8ac4791 fix the float bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8585 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 10:43:45 +00:00
André Pönitz
fc06c3ea10 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8584 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 10:21:29 +00:00
Alfredo Braunstein
5ff360a6e6 add missing lfun status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8583 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 09:05:28 +00:00
Alfredo Braunstein
d34600cd3e add BufferView::getStatus and use it + some lyx::find fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8582 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-01 08:58:45 +00:00
Angus Leeming
c78edc6711 Missed this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8580 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:10:32 +00:00
Alfredo Braunstein
ab5ef14827 enable search & replace in LyXFunc::getStatus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8579 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:10:23 +00:00
Angus Leeming
d2603b93c7 Remove all the cruft needed by the original MVC dialog code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8578 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:09:52 +00:00
Angus Leeming
97e2756b9f s/C_FormBase/C_FormDialogView_/ and thereby fix a crash when
invoking the dialog's callback functions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8577 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 22:02:10 +00:00
Angus Leeming
b518346bbd Convert the preamble dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8576 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 20:55:59 +00:00
Angus Leeming
2bff4a6c86 Convert the spellchecker dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8575 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 19:51:55 +00:00
Alfredo Braunstein
303a6c126c s/DocumentIterator/DocIterator/g a.k.a showing off my sed abilities. Sorry for the cvs spam.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8574 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 19:11:56 +00:00
Angus Leeming
2f10d02e30 Convert the prefs dialog to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8573 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 18:51:11 +00:00
Alfredo Braunstein
3d1fe03e56 some spellcheck fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8572 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 17:58:11 +00:00
Alfredo Braunstein
5dba8f0731 The lyx rabbit attacked again?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8571 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 17:29:16 +00:00
Angus Leeming
931a49cc87 A new LFUN_LYXRC_APPLY lfun, together with a bit of a clean-up of the
preferences dialog code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8570 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 16:50:59 +00:00
Angus Leeming
2baeac64ff Fix crash when changing text class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8569 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 09:44:40 +00:00
Angus Leeming
72f045c60f Rename getOutOfInset as leaveInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8568 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 09:24:43 +00:00
Angus Leeming
3666618138 Use Alfredo's getOutOfInset suggestion, but use it in the inset::dispatch
functions as suggested by Andre. Squashes the bug beautifully.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8567 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-31 08:43:47 +00:00
Angus Leeming
7ae6332b03 Move the document dialog over to the Dialog-based scheme.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8566 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 19:18:14 +00:00
Angus Leeming
eddeb13d2d 5 new lfuns, move all apply code out of ControlDocument and into the core.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8565 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 16:19:50 +00:00
Angus Leeming
991b0ec589 A slightly buggy lfun all-insets-toggle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8564 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:36:33 +00:00
Angus Leeming
72dd20be15 Added/corrected header blurb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8563 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 12:14:01 +00:00
Alfredo Braunstein
610e905ed3 change iterators ctors, implement backwardPos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8562 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-30 08:18:09 +00:00
Jürgen Spitzmüller
7aadb167bf add bibtopic support (bug 870).
That's it for now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8560 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 13:17:25 +00:00
Jürgen Spitzmüller
aecf612d10 customize bibtex call (bug 720)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8559 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 12:11:53 +00:00
Jürgen Spitzmüller
0848070e91 remove conflict indicators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8558 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:43:34 +00:00
Jürgen Spitzmüller
4072a82b6e support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Alfredo Braunstein
374e280417 cure a couple of funny new bugs introduced in my latest patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8556 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 09:46:05 +00:00
Alfredo Braunstein
3e80b0b318 the pariterator stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8554 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 22:00:22 +00:00
Alfredo Braunstein
979a4d8ecf fixes 3 c&p crashes, and a vanishing insets bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8553 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 19:13:11 +00:00
Angus Leeming
39ec3d0eb8 Introduce LFUN_PRINT.
Convert the printer dialog to the Dialog-based scheme.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8552 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-28 14:12:33 +00:00
Angus Leeming
71a40af134 New LFUN_EXPORT_CUSTOM.
Convert the Sendto dialog to the Dialog-based scheme.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8551 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 23:11:46 +00:00
Angus Leeming
744c845a05 Squash a couple of warnings, one at compile time and one at run time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8550 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 18:50:49 +00:00
Angus Leeming
77d02a91dd Georg's tex2lyx patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8549 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 16:51:21 +00:00
Alfredo Braunstein
728193eacc fix collapsables drawing problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8547 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 13:29:17 +00:00
Angus Leeming
3f70e153ee Ensure that insetlist always contains non-null pointers to insets.
Fix a couple of possible memory leaks.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8546 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 13:24:16 +00:00
Alfredo Braunstein
6e600e84f8 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8545 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:58:44 +00:00
André Pönitz
52ed731842 rest of patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8544 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:46:30 +00:00
André Pönitz
206a1c6a02 new InsetIterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8543 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:42:10 +00:00
André Pönitz
32855cf6ed partial fix for cursor movement in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8542 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:40:39 +00:00
André Pönitz
f16f69eb0c add forwardInset, operator! etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8541 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:37:41 +00:00
André Pönitz
60fa184251 partial fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8540 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:36:38 +00:00
André Pönitz
fd0fb15d42 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8539 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 12:33:53 +00:00
Angus Leeming
b11b6f78b1 Squash a bunch of compiler warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8538 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 01:18:51 +00:00
Angus Leeming
e26fc29a3c Squash a noisy but useless warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8537 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:57:40 +00:00
Angus Leeming
abbcb43353 Clean-up the forked process code a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8536 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:55:33 +00:00
Angus Leeming
a9f5a1b06b Ensure that the build can find lyx_forms.h when srcdir != builddir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8535 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 23:45:55 +00:00
Alfredo Braunstein
9590084489 add a 'cancel' button to the two alert dialogs triggered in File->Open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8534 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 17:49:08 +00:00
Jean-Marc Lasgouttes
500fa5f591 display key binding in native UI style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8532 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 15:12:35 +00:00
Martin Vermeer
c158a7987b add using std::advance to compile for stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8531 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-26 08:27:14 +00:00
Angus Leeming
53ec3603e7 Remove test code in the LFUN_QUIT handler as it leads to a crash when no
buffer is present.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8530 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 17:24:13 +00:00
Martin Vermeer
31c24b4002 New LColor::setColor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8529 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 15:51:21 +00:00
Angus Leeming
7c70a8ee0f Georg's take on Bug 605.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8528 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 10:12:44 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
Angus Leeming
4e9ea80fb5 Use SIGCHLD to reap zombies.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8526 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:38:54 +00:00
Angus Leeming
120e59bc97 64 bit compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8525 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:06:17 +00:00
Angus Leeming
aa3ddafe96 GTK compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8524 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 17:03:02 +00:00
Jean-Marc Lasgouttes
af6712f963 more tweaks to i18nLibFileSearch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8523 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 13:19:07 +00:00
Jean-Marc Lasgouttes
54cdd0291a fix selection of locale when loading help files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8519 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-24 12:05:57 +00:00
Angus Leeming
e942a15dd8 Store the forked calls in boost::shared_ptr rather than a raw pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8518 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-23 14:39:41 +00:00
Jean-Marc Lasgouttes
5a59ab2c37 fix handling of read-only in getStatus; fix handling of LFUN_FILE_INSERT_*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8516 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-23 11:22:11 +00:00
Jean-Marc Lasgouttes
aefbd97a16 find correct ps and pdf previewers in win32 (bug 1508); remove lyxrc variable \ps_command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8515 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 16:22:52 +00:00
Angus Leeming
d4c54a1da3 Remove cruft left over from the removal of the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8511 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 14:10:20 +00:00
Angus Leeming
85bb58ad1d Remove unused nopos_ mamber variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8510 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:36:13 +00:00
Angus Leeming
c20a8956e4 Prevent tedious warning message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8509 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:35:36 +00:00
Angus Leeming
eed73def23 Make error handling a little more robust.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8508 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-22 13:09:59 +00:00
Alfredo Braunstein
f16a17fa42 Kayvan's patch (crash fix)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8507 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-21 10:16:39 +00:00
Alfredo Braunstein
87a0c7598f andre's "brown paper bag" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8506 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-19 16:36:52 +00:00
André Pönitz
bddfd8ff66 more privacy for CursorSlice members
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8505 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:41:45 +00:00
André Pönitz
7892c861f9 more 'value' semantics for paragraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8504 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:12:51 +00:00
André Pönitz
7688a62d7e the forks compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8503 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:08:02 +00:00
André Pönitz
13a89fc8af remove part of old texted<->mathed interface
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8502 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 16:05:32 +00:00
Jean-Marc Lasgouttes
bed4cb9684 fix color nastiness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8501 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 15:49:44 +00:00
André Pönitz
b634b3eb3b split LyXFunc::getStatus() into inset specific chunks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8500 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:57:20 +00:00
André Pönitz
9e78fe66de remove a few rarely neede LyXTExt member functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8499 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-18 13:28:49 +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
Angus Leeming
5394e9acc5 Remove the Forks dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8497 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 21:21:47 +00:00
Alfredo Braunstein
f13b5fb356 tiny fix (current font was not set)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8496 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 19:08:16 +00:00
Alfredo Braunstein
39bccdb268 fix crash reported by Martin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8495 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-17 18:48:53 +00:00
Jürgen Spitzmüller
d6ed2fc309 use opening quotation marks after '[' char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8493 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-16 10:48:10 +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
Angus Leeming
f146640834 Georg's mangling patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8485 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-11 11:45:08 +00:00
Alfredo Braunstein
60cbc89f03 inlined open submode, in the hope someone will actually test it. Easy take it back if there are problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8483 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-10 08:50:46 +00:00
André Pönitz
83d91912b5 remove dead files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8482 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:15:33 +00:00
André Pönitz
4c8d536692 redo undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8481 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-08 21:14:45 +00:00
Jürgen Spitzmüller
b1fa5cd0d0 Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX references, as requested in bug 408.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8480 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-07 14:33:17 +00:00
Jürgen Spitzmüller
891bb08e37 support for second \cite option.
Natbib users can now use the before field.
file format is up to 230.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
Martin Vermeer
6f4ac88ac8 Fix UI to branch activation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8478 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 13:33:56 +00:00
Jürgen Spitzmüller
f0b5144444 two small qbranch ui fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8477 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 13:08:08 +00:00
Alfredo Braunstein
97c371abd9 avoid endless loop in LCursor::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8476 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-04 07:49:40 +00:00
Alfredo Braunstein
bebf2f3c88 make right mouse button click only open the inset dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8475 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-04 07:38:11 +00:00
Alfredo Braunstein
995a7a4c86 coord fix + shut up compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8474 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 21:10:47 +00:00
Alfredo Braunstein
d0bcd26ec5 fix row breaking before display()ed insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8473 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 17:25:16 +00:00
André Pönitz
fc52df8243 the DocIterator stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8472 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 17:12:09 +00:00
Alfredo Braunstein
c1e5e3de20 some renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8471 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 16:29:30 +00:00
Alfredo Braunstein
dd30647314 move prepareToPrint out of the rowbreaking loop, do not cache its results.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8468 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 12:23:17 +00:00
Alfredo Braunstein
a92a5e20e6 move FontIterator to own files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8467 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 10:46:58 +00:00
Alfredo Braunstein
2f78aab340 FontIterator + rowbreaking fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8466 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-01 10:10:10 +00:00
Jean-Marc Lasgouttes
c4bbb682aa fix crash with drag and drop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8465 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 14:21:00 +00:00
Alfredo Braunstein
f3a750ab93 ws fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8464 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 13:06:16 +00:00
Alfredo Braunstein
c3ed8dc263 fix a rebreaking bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8463 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 12:53:58 +00:00
André Pönitz
8943967181 Wednesday's 'de-mathed-ification' + Row::fill removal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8462 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 09:18:03 +00:00
Alfredo Braunstein
1bef03ac20 make cygwin and Angus happy (remove insetlist.[Ch]).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8461 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-27 08:33:24 +00:00
André Pönitz
1a793d7b47 de-mathed-ification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8460 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 15:24:38 +00:00
André Pönitz
2c535ef9e9 some de-mathed-ification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8459 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 14:39:14 +00:00
Jean-Marc Lasgouttes
d891a896f4 Georg Baum\'s no-tempdir patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8458 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-25 12:00:53 +00:00
Lars Gullik Bjønnes
65047994df gtk-patch_2004_2_9.new
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8454 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-23 00:21:04 +00:00
André Pönitz
e6b54c9fb6 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
* cursor.[Ch]: prepare for localized getStatus()

	* lyxtext.h:
	* tabular.C:
	* text.C:
	* text2.C:
	* text3.C:  streamlines the LyXText cursor movement handlers a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8453 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 17:19:53 +00:00
André Pönitz
48366502d7 fix tabular crashs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8451 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 11:00:41 +00:00
Jürgen Spitzmüller
56a3e2e1c0 add lfun 'quote-insert' arguments single/double (ERT fixes not included)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8450 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 10:32:44 +00:00
André Pönitz
5ede7e4889 rename a function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8449 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-20 08:44:11 +00:00
Jürgen Spitzmüller
c71c23dd78 Real fix for bug 1511 and bug 1512
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8445 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-19 09:07:43 +00:00
Jürgen Spitzmüller
8770174a52 various qt fixes (bug 1146, bug 1037, bug 1511)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8440 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-18 14:02:49 +00:00
Alfredo Braunstein
3d0d1e5a82 move some coords to absolute
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8438 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 17:26:09 +00:00
André Pönitz
3ed8009bcc fix crash on 'do nothing'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8436 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 12:09:31 +00:00
André Pönitz
357a3741c0 * insettabular.[Ch]: remove remains of the 'update' mechanism,
simplify cursor moving function,
	  re-enable horizontal scrolling for large tables

	* insetbase.C:
	* insetbase.[Ch]: remove explicit 'DispatchResult' return type and
	  implicitly assume 'DispatchResult(true, true) with exception of
	  InsetBase::priv_dispatch which does the equivalent of
	  'retrun DispatchResult(false)'

	* inset*.[Ch] (priv_dispatch): adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8435 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 11:58:51 +00:00
Alfredo Braunstein
61189bef79 selection inside insets y-coord fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8434 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-16 09:28:34 +00:00
Alfredo Braunstein
609f8b8607 Georg's compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8433 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-15 20:05:17 +00:00
André Pönitz
02291d14f1 some table work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8432 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 16:22:53 +00:00
André Pönitz
7a0b5603e5 more IU as advertised
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8431 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 13:51:12 +00:00
André Pönitz
2288d17247 more IU stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8430 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 11:05:29 +00:00
Alfredo Braunstein
fcc89010ec a fix for s&r
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8429 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 09:50:18 +00:00
Alfredo Braunstein
83f68485ee two bits for cursor navigation inside insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8428 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 09:43:02 +00:00
André Pönitz
4bcfc43c29 IU stuff + shuffling things from BV::dispatch to LyXText::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8427 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-13 07:30:59 +00:00
André Pönitz
df974a3904 add LCursor & parameter to cursor moving functions
additional small stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8424 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-12 16:36:01 +00:00
André Pönitz
4da45fc728 fix mathed crash on triple clicks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8423 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-12 11:39:30 +00:00
André Pönitz
2a5bc90633 bug + spped fixes + small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8421 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:45:44 +00:00
André Pönitz
fcc19bf137 and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8420 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-11 14:05:25 +00:00
André Pönitz
299b6e315a a bit of selection is back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8415 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 16:50:29 +00:00
André Pönitz
67f9c9fdae fix mathed crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8414 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 16:14:06 +00:00
André Pönitz
89e58c4431 and this...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8412 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 14:00:16 +00:00
André Pönitz
3f01b19844 shift some text related stuff from BufferView::dispatch to LyXText
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8411 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:59:26 +00:00
Alfredo Braunstein
09e11f4d38 fix some coordinates (tabular and math missing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8410 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 13:18:49 +00:00
André Pönitz
38512e8412 fix two warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8408 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:50:13 +00:00
André Pönitz
93adf5d595 re-enable bits of selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8407 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 11:12:49 +00:00
André Pönitz
9270b36fb4 disable a few messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8406 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 09:34:04 +00:00
Martin Vermeer
51cd5a7a70 Needed for 2.95 / stlport compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8405 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-06 08:23:39 +00:00
Martin Vermeer
302a00b035 Workaround for gcc 2.95 pointer compare bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8402 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 12:24:01 +00:00
André Pönitz
281047c2bf two bug fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8401 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 11:23:25 +00:00
André Pönitz
ccd12088c5 * BufferView.[Ch] (insertInset):
* BufferView_pimpl.[Ch] (insertInset): remove unneeded return value

	* text2.C:
	* text3.C: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8400 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 09:44:12 +00:00
Alfredo Braunstein
982344dc61 fix crash when opening collapsables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8399 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 09:14:27 +00:00
André Pönitz
62e4adaef2 more cursor dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8396 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 17:12:34 +00:00
Martin Vermeer
905dd033d3 Compile fix gcc 2.95 + stlport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8395 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 16:49:10 +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
7ffc9e9175 fix super/subscript crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8393 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 14:29:00 +00:00
André Pönitz
14d27fe324 fiix FIXMEs by moving message() from FuncRequest to the cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8390 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 11:49:05 +00:00
André Pönitz
04296d3738 fix a few of the recent width cache related problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8388 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 11:21:08 +00:00
Alfredo Braunstein
a436d4fcfb re-enable bv::dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8387 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 09:08:15 +00:00
André Pönitz
22590a98b3 remove math cursor plus
* BufferView.C:
	* cursor.[Ch]: some additional asserts

	* undo.[Ch]: remove LyXText dependency in interface

	* lyxfunc.C: adjust

	* lyxtext.h (firstPar, lastPar): remove dead functions

	* text.C:
	* text2.C:
	* text3.C:
	* paragraph.[Ch]: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8386 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 08:56:28 +00:00
Alfredo Braunstein
905a6f6158 trivial fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8385 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 07:57:29 +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
a73da74db2 * cursor.[Ch]: remove direct access to anchor
* text.C: remove findText() hack


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8382 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 16:38:13 +00:00
André Pönitz
39374cc4c7 fix brown paper bag bug (missing 'return')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8381 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 11:56:50 +00:00
Alfredo Braunstein
da1f3b8ac9 remove lockPath
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8380 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 11:07:51 +00:00
Alfredo Braunstein
26b1ba3a9b fix undo crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8379 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 08:55:45 +00:00
Lars Gullik Bjønnes
2e5976a0be Cleanup usage of contains and simplify a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8378 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-01 12:46:14 +00:00
Lars Gullik Bjønnes
3420904448 The func.diff patch. Functors work and some tiny cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-31 15:30:24 +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
Lars Gullik Bjønnes
ca176cc434 std:: changes, stupid stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8375 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-28 16:21:29 +00:00
Lars Gullik Bjønnes
c812bf5ba4 unpimplify ParIterator, move some functions around, remove some friends.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8374 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-27 15:14:34 +00:00
Lars Gullik Bjønnes
7ea6f6e883 use std::advance and std::distance instead of home-grown versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8372 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 17:00:09 +00:00
André Pönitz
1eaa3eb913 more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
Angus Leeming
be2ce42c65 Convert the Search/Replace dialog to the cleaner MCV scheme.
The dispatch reaches the correct place in the core, but the core
doesn't seem to act on it properly. No doubt Andr�'s doing ;-)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8370 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 00:43:56 +00:00
Jean-Marc Lasgouttes
85fa1d41ba move Buffer::nice to LaTeXFeatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8364 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-21 17:52:07 +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
335e83b1a8 shift small stuff from math cursor to cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8360 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-16 13:35:10 +00:00
André Pönitz
ea53de7c85 and some mathed de-uglyfication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8359 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-16 12:36:23 +00:00
André Pönitz
69bee02a89 mathed uglyfication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8358 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-16 10:55:19 +00:00
André Pönitz
70d0ba9001 the monster patch
mathed is completely broken, but it's difficult to imprevo with such a
big patch in the tree.

If things don't improve until tomorrow evening, I'll revert this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8357 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 17:34:44 +00:00
Jean-Marc Lasgouttes
842adc894d allow mac os x to find its fonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8356 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 16:07:17 +00:00
André Pönitz
f7b38dbdc5 some renaming + safety stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8353 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 11:58:35 +00:00
André Pönitz
6102cddc08 fix one of the tabular crashs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8352 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-15 10:20:25 +00:00
André Pönitz
55ee6cb346 more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8351 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 18:17:02 +00:00
André Pönitz
04076d27ac more math iterator adjustment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8350 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:58:07 +00:00
André Pönitz
95ced6f509 remove more functions from MathIterator to prepare merger with text-ed
cursor slice stack


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8349 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:46:46 +00:00
André Pönitz
f1cc244c8b drop another function unknown to the outer world...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8348 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:33:01 +00:00
André Pönitz
691594432d more shuffling...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8347 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 17:21:39 +00:00
André Pönitz
f4982f38a2 even more unneeded functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8346 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 16:28:39 +00:00
André Pönitz
8e3d425230 remove unneeded inset() member function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8345 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 16:20:45 +00:00
André Pönitz
6238e20d09 move selStart and selEnd from LyXText to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8344 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 15:09:01 +00:00
André Pönitz
4eb75f09eb move the Selection structure from LyXText to BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8342 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 14:16:11 +00:00
Alfredo Braunstein
bc596c4af7 fix two lfuns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8341 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-14 09:33:14 +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
7cfc5e86a4 globalize the cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8339 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 15:25:52 +00:00
André Pönitz
d8f81752eb replace LyXCursor by CursorSlice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8338 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 14:13:51 +00:00
André Pönitz
7f48aeeab1 some integer type changes for inset unification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8337 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 12:28:35 +00:00
André Pönitz
09c7f0bf77 remove typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8336 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 11:41:35 +00:00
André Pönitz
4b8c9ebca8 augment global cursor by a slice a the bottom for the main text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8335 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 11:33:22 +00:00
André Pönitz
97901b5d51 hide cursor and selection anchor behind accessor function
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8333 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-13 10:37:38 +00:00
Alfredo Braunstein
80296aac50 add and LyXText::undoSpan to compute the influence of a layout change.
Fix Bug 578.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8331 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-09 09:04:33 +00:00
Alfredo Braunstein
fcd7023559 partial fix to Bug 1251. The bug is still present, but only when pressing 'esc' for exiting the index dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8330 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-09 08:52:53 +00:00
André Pönitz
2336bc463a some selection work for tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8329 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 18:30:14 +00:00
Angus Leeming
2f1d525ee1 Handle Qt-style file filters like
"TeX documents (*.tex);;LyX Documents (*.lyx)".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8327 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-08 10:59:51 +00:00
Lars Gullik Bjønnes
c6c9bbdac2 adaptablize a functor, remove a warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8326 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 18:30:14 +00:00
André Pönitz
fa494db882 simplified search in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 18:28:50 +00:00
Lars Gullik Bjønnes
2f33eaa286 Make some functors adaptable and related small stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8324 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 17:57:47 +00:00
Angus Leeming
5f96595b44 Handle the new LFUN_WORD_FIND and LFUN_WORD_REPLACE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8323 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 17:00:03 +00:00
Jean-Marc Lasgouttes
de9240227b make LyX/Mac compile and work better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8321 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 16:40:30 +00:00
André Pönitz
713beb3655 re-enable commandline search in a single formula
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8319 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 15:13:19 +00:00
André Pönitz
40a63479cc and this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8318 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 15:10:30 +00:00
André Pönitz
a16452bc34 new LFUN_WORD_REPLACE and LFUN_WORD_FIND
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8317 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 15:09:51 +00:00
André Pönitz
33b7e61bff *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8316 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:47:24 +00:00
Jean-Marc Lasgouttes
30f1fd59ae status tag patch from Georg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:36:43 +00:00
André Pönitz
8af1fa7aeb somewhat clearer logic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8314 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:07:46 +00:00
Alfredo Braunstein
bb5291a013 remove a warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8312 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 10:04:03 +00:00
André Pönitz
6c2ebc8c1a prevent crash in cursorX when row cache is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8311 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 08:36:30 +00:00
Alfredo Braunstein
4ad759dbc4 use max & min
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 06:48:30 +00:00
Angus Leeming
839ee41559 Cygwin compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8309 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-06 21:37:31 +00:00
Lars Gullik Bjønnes
653ef9a012 Delete a coupld of unwanted files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8308 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-06 19:32:05 +00:00
Lars Gullik Bjønnes
159b879729 a bit nicer functor usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8304 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 18:00:12 +00:00
Lars Gullik Bjønnes
4b1212acf2 Some more functor work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8303 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 17:33:57 +00:00
Angus Leeming
9387970e7d Globbing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 16:49:38 +00:00
Lars Gullik Bjønnes
36fda753fc Some functor work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8298 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-05 15:49:40 +00:00
Angus Leeming
7fdd6e23f1 No need to assume that the fdfix files are in the same directory as
the .fd files. Rather assume that all fdfix files are in the same
directory as each other.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:58:08 +00:00
Angus Leeming
3a7d078cb3 Correct a couple of spelling mistakes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8294 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:55:29 +00:00
Angus Leeming
7e9788e62d Prevent crash in the file browser if the file mask is an invalid regex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8293 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-02 21:54:09 +00:00