Jürgen Spitzmüller
288fbc7a6b
* src/insets/insettabular.C (doDispatch): do not reset cursor/selection
...
if we have selected some cells (bug 2715).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16075 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 14:51:09 +00:00
Abdelrazak Younes
5df2f4ed06
Fix screen updates with arrow key navigation.
...
* text2.C
- LyXText::cursorUp(): ensure that BufferView::FitCursor() is tested.
- LyXText::cursorDown(): ditto
- LyXText::cursorRight(): ditto
- LyXText::cursorLeft(): ditto
* text3.C
- LyXText::dispatch(): add FIXME and ensure that update flag is at least equal to FitCursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16072 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 12:49:28 +00:00
Abdelrazak Younes
93481d2d56
Editing Optimization.
...
This commits improves considerably math editing in Windows and solves one crash when viewing the moebius figure in UserGuide.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16071 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 10:49:24 +00:00
Enrico Forestieri
1a7aec0731
Improve the num_get locale facet
...
* src/support/docstring.C
(do_get): use reserve() and the += operator in order to
avoid a possible buffer overrun.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16070 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-27 01:52:26 +00:00
Georg Baum
8e6e970d7b
Next step of true unicode filenames: Use support::FileName instead of
...
std::string at many places (not all yet).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16069 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 21:30:39 +00:00
Abdelrazak Younes
0dae88fca6
* BufferList: new begin() and end() methods.
...
* LyX::exec(): in non-GUI mode, execute batch commands on all buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16068 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 16:39:39 +00:00
Michael Schmitt
7ac9c50824
* po/de.po: tiny update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16067 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 16:27:39 +00:00
Abdelrazak Younes
0ca269ef39
* BufferList::last(): new method returning last loaded Buffer if any.
...
* LyX::exec(): fix batch export in non GUI mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16066 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 15:47:45 +00:00
Abdelrazak Younes
4bf43a35ac
* LyXFunc::getStatus(): make it work in non-gui mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16065 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 15:46:02 +00:00
Michael Schmitt
6994ba59c0
* src/text.C: partial fixes to acceptChange() and
...
rejectChange(); end-of-par characters are not considered
for the time being
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16064 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 14:49:35 +00:00
Michael Schmitt
968879e629
* ui/BulletsUi.ui: add missing shortcut
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16063 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 14:44:38 +00:00
Michael Schmitt
7b6b5a92eb
* po/de.po: update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16062 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 13:55:19 +00:00
Michael Schmitt
77a345a95e
* po/tr.po: update by Gürer Özen
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16061 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 13:40:41 +00:00
Michael Schmitt
9095690af0
* src/paragraph_funcs.C: remove FIXMEs for change tracking
...
(everything was fine); output lyxerr debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16060 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 13:35:11 +00:00
Michael Schmitt
e3f01ff2f0
* src/text.C: remove empty namespace; fix change tracking
...
in breakParagraph()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16059 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:53:33 +00:00
Michael Schmitt
c9133cabbe
* Status.15x: one more CT bug
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16058 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:23:38 +00:00
Michael Schmitt
db1bbb4a98
* src/paragraph_funcs.C: fix end-of-par handling in
...
breakParagraph(); remove ancient comment on user-friendly
layout handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16057 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:14:16 +00:00
Michael Schmitt
bea4691219
* Status.15x: add report on END_LABEL_*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16056 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 11:05:11 +00:00
Michael Schmitt
d6297023e9
* src/Status.15x: mark 3 bugs as fixed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16055 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 10:54:08 +00:00
Michael Schmitt
d51c2e24ed
* src/GuiApplication.C: add missing include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16054 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 10:32:42 +00:00
Michael Schmitt
f498cd23af
* src/changes.C: remove obsolete check for empty table
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16053 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 10:28:55 +00:00
Michael Schmitt
e4a14449cd
* Status.15x: clean up document; add all known change tracking problems
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16052 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 09:57:49 +00:00
Abdelrazak Younes
e6a6548712
* lyx_main.[Ch]
...
- execBatchCommands(): split in loadFiles() and execBatchCommands().
- exec(): enable batch command to be processed from GUI.
* Application:
- start(): deleted.
* GuiApplication:
- execBatchCommands(): new method
* GuiWorkArea::update(): call viewport()->repaint() instead of viewport()->update(), this enable to update the screen immediately when asked by a batch command.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16051 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 02:18:32 +00:00
Michael Schmitt
7913b8c652
* src/text.C: fix dissolve-inset when pressing
...
erase at the end of the inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16050 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-26 00:04:25 +00:00
Michael Schmitt
d4ba38a59c
* src/text.C: remove FIXME because inset-dissolve works!
...
use const_iterator to access paragraph insetlist; add
FIXME in accept/rejectChange
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16049 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 23:30:58 +00:00
Michael Schmitt
28902af060
* src/CutAndPaste.C: use const_iterator to access paragraph insetlist
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16048 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 23:22:34 +00:00
Michael Schmitt
3e2629c931
* src/paragraph_funcs.C: moveItem() now really moves
...
items (instead of corrupting the source); adjust
calls to moveItem(); clean up breakParagraphConservative()
with regards to change tracking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16047 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 23:02:10 +00:00
Abdelrazak Younes
aed0edc705
Remove key event pruning code. This has always been disabled without anyone complaining.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16046 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 22:35:09 +00:00
Abdelrazak Younes
10dd2cbdcb
Toc Slider fixes from Ugras Baran.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16045 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 22:16:22 +00:00
Peter Kümmel
07fa2456f9
simplify exit code, old code doesn't work on the Mac
...
* lyxfunc.C : rename unused LFUN_LYX_QUIT parameter
* frontends/qt4/GuiImplementation.C : call LFUN_LYX_QUIT when last window closed
* frontends/qt4/GuiWorkArea.C : check theApp, add debug case
* frontends/qt4/GuiApplication.C : remove quitLyX()
* frontends/qt4/GuiApplication.h : remove quitLyX()
* frontends/qt4/GuiView.C : hide() widow fore exiting to prevent crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16044 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 21:24:04 +00:00
Michael Schmitt
34a0fbe897
* po/cs.po:
...
* po/pl.po:
* po/he.po: something went wrong during the last remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16043 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 17:29:45 +00:00
Michael Schmitt
6674e1624f
* po/*.po: remerge files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16042 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 17:18:01 +00:00
Michael Schmitt
b9e17744f5
* po/POTFILES.in: update
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16041 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 17:13:49 +00:00
Michael Schmitt
a37792598e
* lib/ui/stdmenus.ui: change "Special Formatting" to
...
"Formatting" as suggested by John Levon; add shortcuts
for clear (double) page; add separator between line
break commands and page break commands
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16040 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 17:03:30 +00:00
Michael Schmitt
f96236b5f5
* src/insets/insetpagebreak.C:
...
* src/insets/insetpagebreak.h: fix localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16039 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 16:52:09 +00:00
Georg Baum
82b0e98d54
missing bits of the new insets for \clearpage and \cleardoublepage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:57:27 +00:00
Bo Peng
7b031e5d86
Add inset clearpage and cleardoublepage, from Urgas
...
* src/insets/insetert.C
* src/text3.C
* src/lfuns.h
* src/factory.C
* src/tex2lyx/text.C
* src/text.C
* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
* src/insets/insetpagebreak.h/C: extend InsetPageBreak
* lib/lyx2lyx/lyx_1_5.py: file format change
* lib/ui/stdmenus.ui: add menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
Abdelrazak Younes
70e134e536
Updates.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16036 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 08:50:28 +00:00
Michael Schmitt
d7d9af5fa0
* src/text.C: fix change tracking for backspace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16035 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 00:31:44 +00:00
Michael Schmitt
286a8e2676
* src/text3.C:
...
* src/BufferView.C: add comments on why several
change tracking-related LFUNs are always enabled
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16034 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 23:01:24 +00:00
Michael Schmitt
3c348b6486
* src/lyxtext.h: the use of backspacePos0 is dangerous as it
...
does not honour change tracking => make it a private method;
clarify the description of backspacePos0 (it does not always
merge paragraphs)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16033 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 22:26:22 +00:00
Michael Schmitt
7fcc942eec
* src/rowpainter.C: fix compiler warnings; remove obsolete using statement
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16032 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 22:18:41 +00:00
Michael Schmitt
a895406082
* src/text.C: fix end-of-par handling (change tracking);
...
remove blank lines; add {} around else branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16031 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 22:12:04 +00:00
Michael Schmitt
8d31ce8bf4
* src/CutAndPaste.C: simplify code by making use of
...
Paragraph::isMergedOnEndOfParDeletion()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16030 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 21:22:57 +00:00
Michael Schmitt
62ef9250a2
* src/paragraph.C:
...
* src/paragraph.h:
* src/paragraph_pimpl.C:
* src/paragraph_pimpl.h: add method isMergedOnEndOfParDeletion()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16029 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 21:16:46 +00:00
Peter Kümmel
5524f5f857
update to cmake 2.4.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16028 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 15:10:16 +00:00
Abdelrazak Younes
2fc592cf73
* LyX::exec():
...
In use_gui mode, call execBatchCommand() after createApplication(). This enable to let the frontend parse the command line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16027 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 11:18:56 +00:00
Jean-Marc Lasgouttes
a617e0d978
* languages: use nb_NO instead of no_NO for norwegian (bug 2850).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16026 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 10:57:16 +00:00
Enrico Forestieri
95f9c18fac
Fix compatibility to autoconf 2.60
...
* configure.ac:
Fix up expansion of ${prefix} in ${pkgdatadir}.
* autogen.sh:
Allow using autoconf 2.60 and 2.60a.
* intl/Makefile.in:
* po/Makefile.in.in:
Add datarootdir definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 01:14:26 +00:00
Michael Schmitt
3770e1a342
* src/text.C: remove change tracking FIXME
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16020 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-23 22:37:09 +00:00