Commit Graph

566 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
fb97c0689b First part of r14315 from the younes branch:
* BufferView and BufferView::pimpl:
   		- getClipboard, stuffClipboard, haveSelection: deleted

	* CutAndPaste.C: use BufferView::owner()->gui().clipboard()
	* insettabular.C: ditto
	* math_nestinset.C: ditto
	* text3.C: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14323 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 20:19:33 +00:00
Georg Baum
0c0c43b8eb merge booktabs branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:13:56 +00:00
Jürgen Spitzmüller
913a4129aa * src/insets/insettabular.C (doDispatch): set cursor properly on mouse
(button 3) press. Fixes crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14237 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 18:16:38 +00:00
Martin Vermeer
2e590eeee4 * insettabular.C (drawSelection): revision of previous patch:
initialize table background



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14158 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-20 10:44:49 +00:00
Abdelrazak Younes
d8ae51dbe1 This is the merging of the GUI API cleanup branch that was developed in svn+ssh://svn.lyx.org/lyx/lyx-devel/branches/personal/younes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14152 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-20 08:39:16 +00:00
Martin Vermeer
40d8a3cce5 * insettabular.C (drawSelection): initialize cell background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14141 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-18 09:27:57 +00:00
Jürgen Spitzmüller
a6c099326c * insettabular.C (doDispatch):
set cursor after mouse (button 3) press
	(re-fix bug 2526).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13909 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 14:19:34 +00:00
Jürgen Spitzmüller
6116f95f83 * insettabular.C (doDispatch):
do not mark the cursor undispatched after mouse (button 3) press
	(prevents the cursor from leaving the tabular when opening the 	
	dialog).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13906 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 13:11:57 +00:00
Jürgen Spitzmüller
645f5e83fb * insettabular.C (doDispatch):
fix crash due to invalidated
	cursor after insertAciiString (bug 2603).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13905 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 10:19:27 +00:00
Michael Schmitt
1396ade8b1 fix LFUN enum values (some of them were broken by r13801)
adjust some commands according to the LyX naming conventions
(toggle-tooltip => tooltip-toggle, *-change(s) => change(s)-*) 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13811 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-08 18:09:19 +00:00
André Pönitz
da65e2b7fb rename LFUN enum values according to their command (as used in th minibuffer/bind files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13801 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 20:23:12 +00:00
Jürgen Spitzmüller
6e836024f5 Don't jump back to cursor on inset clicking:
* src/insets/insetcollapsable.C
	(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
	(void InsetTabular::doDispatch):  undispatch cursor after rmb click.
* src/insets/insetref.C
	(void InsetRef::doDispatch):  undispatch cursor after rmb click.
* src/text3.C
	(void LyXText::dispatch): set cursor also after rmb click.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13684 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 15:10:03 +00:00
Jürgen Spitzmüller
6fb5b5cd4e * src/insets/insettabular (doDispatch): use insertAsciiString in
LFUN_PASTESELECTION. Simplifies the code a lot and fixes 
	wrong language settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13665 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 14:19:12 +00:00
Lars Gullik Bjønnes
cf4293824f * Change several freestanding and class methods with first letter
capitalized to have first letter lowercased.
* Adjust all affected files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13605 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 00:26:19 +00:00
Lars Gullik Bjønnes
3b9338a3a8 Whitespace cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Martin Vermeer
726637fc29 A more general way of setting paragraphs in an inset to standard
layout upon paste.

	* insettext.[Ch]: add forceParagraphsToDefault method

	* insettabular.C
	(InsetTabular::doDispatch): use it for cell

	* insetbox.C
	(InsetBox::doDispatch): use it

	* insetert.C
	(InsetERT::doDispatch): use it

	* insetcharstyle.C
	(InsetCharStyle::doDispatch): use it



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13535 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-30 12:43:32 +00:00
Georg Baum
a7ec02ea03 revert my faulty fix of bug 2380 and use one by Jean-Marc instead:
* insets/insettabular.C
        (InsetTabular::insertAsciiString): set BufferView cache of cell


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13524 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 10:13:40 +00:00
Jürgen Spitzmüller
149c83d35d src/insets/insettabular (doDispatch, insertAsciiString): fix insertion of \t- and \n-separated content from external clipboard (bug 2394)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13518 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 14:04:14 +00:00
Georg Baum
2129ed9082 Fix bug 2380:
* src/insets/insettabular.C
        (InsetTabular::hasPasteBuffer):
        (InsetTabular::doDispatch):
        (InsetTabular::insertAsciiString): Construct LyXTabulars with a
        BufferView
* src/tabular.[Ch]
        (cellstruct): Set bv_owner of the text inset
        (LyXTabular::fixCellNums):
        (LyXTabular::appendRow):
        (LyXTabular::deleteRow):
        (LyXTabular::appendColumn):
        (LyXTabular::read): Construct cellstructs with a BufferView


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13516 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:49:47 +00:00
Jürgen Spitzmüller
d121dae1c8 (getStatus): add extra condition for PASTE to reflect tabularStack (bug 2377)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13411 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 13:11:32 +00:00
Jürgen Spitzmüller
b5ce210697 fix coordinate miscalculation in tabular (bug 2006)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13340 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-11 16:09:41 +00:00
Jean-Marc Lasgouttes
2486c96b8d cleanup some debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10757 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-19 15:49:21 +00:00
Jean-Marc Lasgouttes
0711d8e045 fix bug 2188
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-01-11 14:22:11 +00:00
Georg Baum
dd6c706cef restore 1.3 behaviour when changing tabular columns to variable width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10625 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-28 11:52:03 +00:00
Jürgen Spitzmüller
217a57fbc7 first step to sanitize forceDefaultParagraphs (part of bug 1953).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10607 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-17 08:41:56 +00:00
Jean-Marc Lasgouttes
7020659bc6 bug 2066: C-i for opening/closing insets only works when cursor is at the beginning of the inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10569 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-24 09:42:20 +00:00
Jean-Marc Lasgouttes
e70927a96c fix bug 2101: Any character followed by Right Arrow moves the cursor to the next cell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10563 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-21 08:16:12 +00:00
Jürgen Spitzmüller
6f78a2f91d fix bug 1845 (setAutoBreakRow asserts)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10461 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 14:38:13 +00:00
Martin Vermeer
bce7cd4cef Fix bug 1765 (multicol cell width display)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10452 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-16 10:19:02 +00:00
Jürgen Spitzmüller
36881fc272 fix undo in tabular cells (bug 1937, bug 1986)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10442 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 10:40:12 +00:00
Jürgen Spitzmüller
9f3a134c99 don't force tabular cell alignment to BLOCK when switching to pwidth (bugs 1296, 1840).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10428 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-08 15:29:40 +00:00
Jean-Marc Lasgouttes
52a2eb2c52 John&JMarc's change tracking patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10424 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-07 10:37:05 +00:00
Jürgen Spitzmüller
4110aa3b1e fix bug 1919 (table cells won't accept normal text pastes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10416 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-06 17:39:39 +00:00
Martin Vermeer
b9898f8a87 Fix Helge's ERT-in-tabular bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10390 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-07 18:36:21 +00:00
Jürgen Spitzmüller
a5e061ce42 Disable newlines and paragraph breaks in non-fixed width tabular cells (bug 1938)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10366 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-28 09:45:43 +00:00
André Pönitz
f70191cc10 some (yet unfinished) up/down work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10333 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 17:12:28 +00:00
André Pönitz
7856f2c683 3 more percents...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10323 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:57:08 +00:00
André Pönitz
af5acb6dc7 ~4% speedup by inlining a few one-line accessors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10320 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 11:00:15 +00:00
Jürgen Vigna
18ed7fe334 Fix cursor UP/DOWN movements in tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10319 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 10:24:35 +00:00
André Pönitz
575bb2a15a fix bug 1815
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10285 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 14:23:33 +00:00
André Pönitz
372365845d some more inlining
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10259 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 18:25:58 +00:00
André Pönitz
282f86fbb1 send UpdatableInset down the way of the Dodo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10228 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 22:10:25 +00:00
André Pönitz
4beb140b99 fix clicking into nested tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10224 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 17:15:32 +00:00
André Pönitz
6100178a37 work on inset scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10222 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 16:44:41 +00:00
André Pönitz
41ecabf519 make boundary property an iterator property instead of a CursorSlice property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10214 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 15:49:40 +00:00
André Pönitz
c1ef1ac5e4 some consolidation of inset scrolling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10205 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 12:50:10 +00:00
André Pönitz
f5ecca49d6 conmsolidate scrolling code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10204 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 11:43:07 +00:00
André Pönitz
1a9992c796 partial fix for bug 622, cosmetic rest remains open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10195 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 00:39:44 +00:00
Georg Baum
7fdf13d545 Don't store row and col in cursor, add some documentation about idx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10135 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 07:28:16 +00:00
Jürgen Spitzmüller
e9dc778832 fix calculation of tabular cell dimensions (bug 1801)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10105 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-27 12:53:35 +00:00
Jürgen Spitzmüller
7fd5dc56be disable LFUN_TABULAR_INSERT when multiple cells are selected (bug 1837)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10077 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-16 15:20:09 +00:00
Martin Vermeer
5230d7b794 Fix tabular paste (and conflict markers in ChangeLog file :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9939 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-12 12:22:39 +00:00
Angus Leeming
fb70c52b05 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9877 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 11:12:20 +00:00
Jürgen Spitzmüller
8082ce80c7 fix longtabular ui (bug 1860)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9868 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-23 17:39:12 +00:00
Georg Baum
aa17555cde fyx the previous getStatus patch: enable the tabular dialog again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9815 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-15 08:13:54 +00:00
Georg Baum
a1ba34bef9 disable open dialogs if applying them is not allowed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9811 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-13 09:43:58 +00:00
Alfredo Braunstein
c605824a66 fix crash in table selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9735 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 18:21:13 +00:00
Jürgen Spitzmüller
7a032c6b06 fix tabulator keys in tabular (bug 1836)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9730 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 11:14:54 +00:00
Alfredo Braunstein
ee8338a112 cosmetic bugfix in selection of tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9727 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-21 10:17:21 +00:00
Jürgen Spitzmüller
fdfd858b02 fix LFUN_CUT and LFUN_PASTE in insettabular (bug 1799), partial restore of middle mouse button in tabular (see FIXME)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9719 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-17 15:57:41 +00:00
Jürgen Spitzmüller
d13d6da879 some tabular fixes for the problems reported by Helge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9718 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-17 13:23:14 +00:00
Martin Vermeer
69eb781b4b Multi-cell select font change bug fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9714 a592a061-630c-0410-9148-cb99ea01b6c8
2005-03-13 10:36:42 +00:00
Lars Gullik Bjønnes
aa491cdb98 dociterator dont inherit from std::vector and updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9602 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-08 13:18:05 +00:00
Angus Leeming
e22c5f4d97 Asger's commentary, const-correct and bug-squashing little beauty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9558 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-31 16:29:48 +00:00
Lars Gullik Bjønnes
342cdf4322 the convert patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9538 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-27 21:05:44 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
Georg Baum
2842e66638 re-enable SET_ALL_LINES in tabulars (from J�rgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9377 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-15 20:17:39 +00:00
Alfredo Braunstein
597ef42648 assorted tabular fixes (selection and scroll)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9345 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-06 02:35:12 +00:00
Georg Baum
e70294c413 use better index types for tabular rows, columns and cells than int
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9334 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 13:57:50 +00:00
Alfredo Braunstein
a2cd656e25 CoordBranch merge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9325 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-30 01:59:49 +00:00
Lars Gullik Bjønnes
686f1e276f InsetOld -> InsetBase renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9310 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-25 19:13:07 +00:00
Lars Gullik Bjønnes
183239b7de rename priv_dispatch to doDispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9301 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:58:42 +00:00
Alfredo Braunstein
ed064bdee6 par->pit renaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9300 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 21:53:46 +00:00
Georg Baum
2621ad0763 fix tabular multicolumn handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9298 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-24 16:48:21 +00:00
Lars Gullik Bjønnes
59413be9a0 clone NVI, other small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9295 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-23 23:04:52 +00:00
Georg Baum
feb701e35e determine current cell in the tabular controller instead of the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9265 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-18 12:58:19 +00:00
José Matox
1ecc7b79cd Remove mixed_content from output parameters.
Escape ids to always produce legal output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9157 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 11:25:20 +00:00
André Pönitz
5147e05cc1 fix further crashs due to invalid cursor positions
adjust comment


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9111 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:46:33 +00:00
André Pönitz
f83d81275f fix crash after removing a table row (again due to uncorrected cursor
position)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9110 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 09:21:38 +00:00
André Pönitz
3f65d1489a fix tabular crash after cutting a selection (cursor position was not
corrected)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9108 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-23 08:50:30 +00:00
José Matox
4acce5c117 replace nextToken by more appropriate lex methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9049 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 12:56:22 +00:00
Angus Leeming
e978fa42e3 Whitespace, only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9044 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-05 10:11:42 +00:00
Jean-Marc Lasgouttes
d194cfffa5 get rid of ownerPar(), which was super slow; fix tabular crash due to recently introduced BOOST_ASSERTs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8951 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 00:32:04 +00:00
Jean-Marc Lasgouttes
e5c1dd967b some profiler work, a few cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8942 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:52:44 +00:00
André Pönitz
93430a89da change a few par_type args in LyXText::* to Paragrpah & to speed things
up


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8940 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 00:01:45 +00:00
André Pönitz
1c8329d3a4 better mouse selection within tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8938 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 22:38:45 +00:00
Jean-Marc Lasgouttes
4979ab7ab4 fix width of unconstrained cells in insettabular
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8935 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:55:38 +00:00
André Pönitz
790ca645c8 fix a crash when selecting within tabulars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8933 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 21:23:16 +00:00
André Pönitz
edbef46cd7 move around stuff, remove unneeded declarations etc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8929 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 19:55:00 +00:00
André Pönitz
02ebc072b0 remove per-inset position cahce, use new external map instead.
this allows us to bomb early on uninitialized cache values.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8923 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 14:03:42 +00:00
André Pönitz
7914e9c401 use accessor functions if possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8917 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:48:48 +00:00
André Pönitz
b119fd180d remove unused mathed parts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8915 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 22:24:42 +00:00
Jean-Marc Lasgouttes
9e20808369 constify the various incarnations of editXY
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8907 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-13 19:14:17 +00:00
Lars Gullik Bjønnes
7c15014ec2 change "support/std_sstream.h" to <sstream>
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8849 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-24 10:55:30 +00:00
Georg Baum
cb73d69ae4 improve tex2lyx paragraph and comment handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8815 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-18 06:47:19 +00:00
Georg Baum
db707dab04 remove now unnecessary const casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8757 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 11:28:31 +00:00
André Pönitz
b3eefc106e fix the cursor-y problem in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8646 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-13 12:47:48 +00:00
André Pönitz
2bdaf96dfb the Paragraph::inInset() changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8632 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-08 15:03:33 +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