Commit Graph

126 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
7da68795a5 selection patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8243 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-12 15:19:35 +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
44dd615836 remove unneeded bv->text->init call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8132 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 20:03:47 +00:00
Alfredo Braunstein
cd76f580e3 reactivate replace + some code simplification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8089 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-17 09:02:10 +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
Alfredo Braunstein
15ac230f5d flag the buffer dirty if replacing something
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8052 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 10:10:43 +00:00
Alfredo Braunstein
32a716152e the spellcheck cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8034 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-04 12:01:15 +00:00
André Pönitz
dcd8fb0428 replace ParagraphList::iterator by lyx::paroffset_type to prevent cursor
invalidation if the paragraphlist is changed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7883 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-09 10:52:12 +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
e7e92ec660 Remove IsInsetChar and IsWordChar from textutils.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7771 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-16 12:12:33 +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
4c6e0fe422 Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-08 00:33:41 +00:00
Angus Leeming
91de22ef34 Strip 320 #includes from the files in src.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7684 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-05 16:31:30 +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
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
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
07bfd64255 replace "complicate" BufferView::update(...) calls with simpler ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7491 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-04 09:06:35 +00:00
Lars Gullik Bjønnes
00e5c3f3a2 get rid of namesapce lyxfind and introduce namespace lyx::find
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7379 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:02:58 +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
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
John Levon
d2d231b3c9 parlist for lyxfind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6822 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-16 00:39:24 +00:00
Lars Gullik Bjønnes
0408f69287 Make lyxcursor store a ParagraphList::iterator, change three functions to take a ParagraphList::iterator instead of a ParagraphList::iterator. Other changes to adjust for this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6741 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 09:15:20 +00:00
John Levon
793b375202 alfredo's patch for 782 and 1020
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6732 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-08 00:02:32 +00:00
John Levon
06242eb145 Strip old tabular code. More Alert fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6627 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-29 10:29:38 +00:00
John Levon
0623d1f074 The markDirty() and fitCursor() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6537 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-19 14:45:22 +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
Lars Gullik Bjønnes
2f71b9d235 ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6333 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-04 09:27:27 +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
John Levon
ae87b94515 The big change tracking patch. Changes from posted version :
1) abstract time_t into lyx::time_type
2) abstrace struct passwd into support/userinfo
3) make authorlist a per-buffer property instead of global

I will look at the paragraph breaking soon, in the meantime I opened a bug on bugzilla.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-08 19:18:01 +00:00
John Levon
7d23c29dee small cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4910 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 21:08:02 +00:00
Jürgen Vigna
d0cc00980d Fixed 2 more problems with s+r. This fixes #482.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4792 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-26 09:50:16 +00:00
Jürgen Vigna
2232b64760 Fixed some s+r bugs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4788 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-25 15:42:35 +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
John Levon
64488b06af remove some more unneeded focus stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4436 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-19 23:55:55 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
Jürgen Vigna
9b6fc7b6c9 Clear the selection if we didn't find the searchstring (fix #310).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3980 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 09:02:21 +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
Allan Rae
ce2ec24b67 Modified form of John Levon's icon title patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3277 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 03:14:40 +00:00
Jean-Marc Lasgouttes
1070702ea4 removed most uses of toupper and friends, removed <config.h> from headers and added it to some source files, applied patch from John for search&replace, and perhaps other things you will discover by browsing Changelog :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3255 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-20 15:11:51 +00:00
Jean-Marc Lasgouttes
b78b32b554 two patches for search and replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3177 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 12:50:09 +00:00
André Pönitz
10f096880f whitespace changes;
change *::pos_type into lyx::pos_type


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
André Pönitz
cd6e293ed7 start reducing header file dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jean-Marc Lasgouttes
85e30074c2 new alert code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 10:19:58 +00:00
Jean-Marc Lasgouttes
43cb604df7 fix indexing first word in a list layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2738 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 10:41:25 +00:00
Angus Leeming
ab09cf6fc9 John's miscellaneous collection of small bits and pieces patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2522 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 10:19:59 +00:00
Jürgen Vigna
9f3dd22dd3 Fixed S&R functions with insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2497 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:27:53 +00:00
Jürgen Vigna
4a2096fff1 Fixed bug that did not single replace words with casesensitive off sometimes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2495 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 10:09:50 +00:00
Jürgen Vigna
3c32875ece Applied Edwins patch, fixes to free memory read in insettext, partial fix
for the width of collapsable insets (more to do).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Jürgen Vigna
cc3955aa12 Fixes to various bug-reports.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2402 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:42:53 +00:00
Asger Ottar Alstrup
80dda8f6b2 - Applied the thesaurus patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2381 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 10:42:11 +00:00
Jürgen Vigna
7c0dad35b3 Implemented Search/Replace functionality for Insets. Cleaned up a bit.
Small fixes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Lars Gullik Bjønnes
b17500c1c4 the rest read the ChangeLog, hope I remembered all
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1934 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 15:15:59 +00:00
Lars Gullik Bjønnes
8cb2e519b3 remove Last when NEW_INSETS is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-11 00:21:13 +00:00
Lars Gullik Bjønnes
b95e8f250d some cascading name changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1720 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-09 00:56:42 +00:00
Jean-Marc Lasgouttes
e121a69c4a find&replace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1683 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 11:05:15 +00:00
Jürgen Vigna
f88cee29f6 Edwins f&r GUII patch with a small fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1678 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-06 10:20:33 +00:00