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
Abdelrazak Younes
ef442584b7
compilation fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13776 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 14:16:21 +00:00
Abdelrazak Younes
17f05af743
* text3.C:void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
...
For LFUN_PARAGRAPH_MOVE_DOWN and LFUN_PARAGRAPH_MOVE_UP call:
void updateLabels(Buffer const & buf,
ParIterator & from, ParIterator & to)
instead of:
void updateLabels(Buffer const & buf,
ParIterator & iter)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13775 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 13:02:05 +00:00
Edwin Leuven
513ea10589
Adding PARAGRAPH_MOVE_UP/DOWN + key bindings:
...
* src/LyXAction.C
* src/text3.C
* src/lfuns.h
* lib/bind/cua.bind
* lib/bind/sciword.bind
* lib/bind/xemacs.bind
* lib/bind/emacs.bind
* lib/bind/mac.bind
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13752 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 22:43:26 +00:00
Abdelrazak Younes
f6bcac7285
* src/buffer_funcs.[Ch]
...
- updateCounters renamed to updateLabels
- void updateLabels(Buffer const & buf,
ParIterator & it): new convenience function
- void updateLabels(Buffer const & buf,
ParIterator & from, ParIterator & to): new convenience function
- setCounter renamed to setLabel
- bool tryToUpdateCurrentLabel(Buffer const & buf,
ParIterator & it): new method
- needsUpdateCounters: deleted
* src/BufferView_pimpl.C
* src/CutAndPaste.C
* src/frontends/controllers/ControlDocument.C
* src/lyxfunc.C
* src/text.C
* src/text2.C
* src/text3.C
- fixed the calls to updateLabels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13689 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-16 14:19:25 +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
Bo Peng
d7bccc5f88
Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com)
...
* src/text3.C, src/lyxfunc.C: no special treatment of view-source dialog now.
* src/frontends/controllers/ControlViewSource.h, .C:
handle everything (get source type, code) in the controller.
* src/insets/insetbibtex.C, insetexternal.C insetinclude.C:
add dryrun mode to file copying etc.
* src/frontends/qt2/QViewSource.C: small changes when calling the controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13627 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:27:59 +00:00
Bo Peng
eb485caa96
view-source feature, from Bo Peng <ben.bob@gmail.com>
...
* src/buffer.h buffer.C - getSourceCode()
* src/lyxfunc.C - open view-source dialog
* src/text3.C - change LFUN_MOUSE_RELEASE
* src/output_linuxdoc.C, src/output_docbook.C, src/output_latex.C
- intercept output
* src/outputparams.h, outputparams.C - add par_begin, par_end, dryrun
* src/insets/insetgraphics.C - add dryrun mode of file conversion
* lib/ui/stdmenus.ui - add view-source menu item under view
* Add view-source dialog, add
src/frontends/qt2/QViewSourceDialog.h, QViewSource.C, QViewSource.h, QViewSourceDialog.C
src/frontends/qt2/ui/QViewSourceDialogBase.ui
src/frontends/controllers/ControlViewSource.h ControlViewSource.C
modify
src/frontends/qt2/Makefile.dialogs, Makefile.am, Dialogs.C,
src/frontends/controllers/Makefile.am, po.POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13610 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:48:54 +00:00
Lars Gullik Bjønnes
618ca28af6
* support/types.h: introduce the char_type type
...
* paragraph.h: make value_type point at char_type
* other files: change some bald 'char' to 'char_type'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13609 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-09 02:30:40 +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
Jean-Marc Lasgouttes
08604e3519
bug 2298: cursorTop/Bottom/Home/End does not redraw after dEPM
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13395 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-16 14:24:53 +00:00
Martin Vermeer
22cdac5d5d
Fix bug 2195: Slowness in rendering inside insets, especially on the Mac
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13328 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-10 16:10:35 +00:00
Georg Baum
5a806353e4
fix bug 2315
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13286 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-02 19:56:05 +00:00
Jean-Marc Lasgouttes
215476903e
fix bugs 2321 and 2323
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13272 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 12:58:31 +00:00
Martin Vermeer
6688a55908
Fix bug 2115 ("blueline bug")
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10808 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-05 13:20:16 +00:00
Martin Vermeer
42e9668159
Singlerow rendering (better) fix for insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10693 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-31 11:40:33 +00:00
Martin Vermeer
5846f51332
Force update on paragraph merge
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10673 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-19 12:30:34 +00:00
Jean-Marc Lasgouttes
3246cc9a4a
bug 2109: trigger dEPM when moving cursor with mouse
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10637 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-01 10:28:50 +00:00
Jean-Marc Lasgouttes
4f8b86badf
do not eat the selection when inserting an index entry
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10635 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-30 15:51:12 +00:00
Jean-Marc Lasgouttes
2eb67150a4
disable LFUN_PASTE when there is nothing to paste
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10620 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-25 09:27:08 +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
b063595be8
bug 2081: Disallow insertion of marginal note in float table.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10582 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-02 11:27:08 +00:00
Jean-Marc Lasgouttes
409037f1bb
bug 2092: branches not propagated to child documents
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10577 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 15:21:49 +00:00
Jean-Marc Lasgouttes
6e1863bc69
get rid of LFUN_KEYMAP_TOGGLE
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10576 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-25 15:07:22 +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
20af9e8555
fix two crashes related to dEPM. Some crashes remain
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10551 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 14:48:27 +00:00
Jürgen Spitzmüller
0ce45c32b6
fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10549 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 10:59:39 +00:00
Georg Baum
a2b40d9038
fix invalid cursor after math undo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10547 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-12 18:40:22 +00:00
Martin Vermeer
ebcb289b7c
The speedup patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10528 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-07 12:00:41 +00:00
Jean-Marc Lasgouttes
c16067dbba
provide default type value for math-macro
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10512 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-03 10:53:40 +00:00
Jürgen Spitzmüller
cc4af55608
leave inset to the right when hitting ESC (bug 2034)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10488 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-27 08:42:28 +00:00
Jürgen Spitzmüller
6aa6fb49d8
fix undo of PASTESELECTION (bug 2011)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10451 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-16 10:06:09 +00:00
Jean-Marc Lasgouttes
0424e3b04a
display of counters in various situations (in particular bug 465)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10387 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-03 20:21:11 +00:00
André Pönitz
f5e68ec257
fix bug 1795
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10321 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 12:13:32 +00:00
André Pönitz
6b14cbd9c4
cosmetics, incidently fixing bug 1458
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10270 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 10:31:44 +00:00
Jürgen Vigna
41021dce94
More fixes to cursor handling with boundary
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10263 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 23:54:32 +00:00
Jean-Marc Lasgouttes
868ab452a5
fix cursor movement with boundary
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10252 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-16 16:34:54 +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
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
97a158fd8e
small cosmetic fix and removing some debug output
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10198 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 08:51:34 +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
Jürgen Spitzmüller
dd1d850e93
localize date/time
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10129 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 09:01:52 +00:00
Jürgen Spitzmüller
292dea2315
minor bibitem tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9998 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-06 08:30:20 +00:00
Martin Vermeer
a683500118
Axe processEvents, fix cursor draw artifacts, put update flags into an enum,
...
allow single-paragraph update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9986 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-31 14:40:30 +00:00
Jean-Marc Lasgouttes
61c245ca32
fix bug 1892 (cursor moves when inserting index or tabular)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9984 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-30 15:35:11 +00:00
Jürgen Spitzmüller
4fac72de9f
fix setOnOff handling in LyXText::getStatus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9908 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-05 13:13:56 +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
Martin Vermeer
38cc5d1ebc
Fix the language problem in new lyxtexts, without causing
...
Helge's problem of not being able to change font on the fly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9839 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 12:31:34 +00:00
Jean-Marc Lasgouttes
67891b48c3
fix double/triple clicking to select (bug 1811)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9838 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-20 10:47:15 +00:00