]>
git.lyx.org Git - lyx.git/log
Stefan Schimanski [Fri, 22 Feb 2008 21:57:57 +0000 (21:57 +0000)]
* another step for rtl completion: the popup is shown in the right direction. Still the right cursor position is missing. This also causes the popup to use a wrong position.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23146
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 21:57:45 +0000 (21:57 +0000)]
* the bidi array drives me crazy. It only holds the current row. So better check that our position is in that row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23145
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 21:57:33 +0000 (21:57 +0000)]
* inlineCompletionVPos is only used locally. So define it there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23144
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 21:11:19 +0000 (21:11 +0000)]
* following Andre's advice to rename the method into
createCompletionList. This makes the ownership of the returned
object clear.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23143
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 21:11:05 +0000 (21:11 +0000)]
* some more relicts of the unfinished favorite handling for math completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23142
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 20:45:42 +0000 (20:45 +0000)]
* comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23141
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 20:45:18 +0000 (20:45 +0000)]
* simplify notifyCursorLeaves logic: We now only call it from strategic
places, i.e.
- BufferView::setMouseCursor,
- BufferView::mouseEventDispatch
- LyXFunc::dispatch
Before it was called from several dispatch handlers in the middle of the
dispatch process. Because the cursor might get invalidated, this is
not a good idea. We had plenty of crashes and odd behaviours because
of this as nobody really understood those cases.
This fixes (at least) #2069 and #4163.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23140
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 20:04:38 +0000 (20:04 +0000)]
* correct parsing of unknown math environment (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4573)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23139
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 22 Feb 2008 17:36:40 +0000 (17:36 +0000)]
GuiView::dispatch(): Fix cut&paste bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23138
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 16:26:40 +0000 (16:26 +0000)]
Line length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23137
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 16:24:55 +0000 (16:24 +0000)]
Move the enum into InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23136
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 16:15:21 +0000 (16:15 +0000)]
This should be the last of the commits refactoring the InsetLayout code.
This one just moves the Decoration enum into InsetLayout, changing the names
to avoid possible conflicts now that it is in the lyx namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23135
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 16:12:36 +0000 (16:12 +0000)]
Sort table.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23134
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 15:38:26 +0000 (15:38 +0000)]
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23133
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 15:26:52 +0000 (15:26 +0000)]
* cosmetic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23132
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 14:05:27 +0000 (14:05 +0000)]
* first step to proper RTL support of the completion. The cursor is still wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23130
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 14:05:06 +0000 (14:05 +0000)]
* once is enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23129
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 22 Feb 2008 12:27:56 +0000 (12:27 +0000)]
Text::setCursor(): make sure an update is asked if the current cursor is not visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23128
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 22 Feb 2008 12:22:28 +0000 (12:22 +0000)]
Text::dispatch(): Make sure the cursor is visible before doing anything.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23127
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 22 Feb 2008 11:07:41 +0000 (11:07 +0000)]
Fix this bug:
1. scroll a bit so that the cursor is not visible anymore
2. hit the keyboard arrow keys to move the cursor or type something
The problem was that TextMetrics::parMetric() automatically creates a new parmetrics on const access. This was needed in the old architecture but I don't think anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23126
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:30:46 +0000 (10:30 +0000)]
disable annoying debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23125
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:25:12 +0000 (10:25 +0000)]
sort lyxrc keywords table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23124
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Fri, 22 Feb 2008 10:16:18 +0000 (10:16 +0000)]
compilation fix for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23123
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 10:15:28 +0000 (10:15 +0000)]
* no need for QStyleOptionViewItemV3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23122
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Fri, 22 Feb 2008 09:23:47 +0000 (09:23 +0000)]
Fix tex2lyx compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23121
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Fri, 22 Feb 2008 09:00:22 +0000 (09:00 +0000)]
* stdlib-debug out of range fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23120
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:39:10 +0000 (03:39 +0000)]
More headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23119
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:34:03 +0000 (03:34 +0000)]
Headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23118
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 03:27:42 +0000 (03:27 +0000)]
This is the second commit in the process of making InsetLayout a real class.
Here, we move TextClass::readInsetLayout() to InsetLayout::read().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23117
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 22 Feb 2008 02:32:52 +0000 (02:32 +0000)]
This is the first of a series of commits that will make InsetLayout a real class.
In this commit, we do the minimal amount of work necessary to protect our data.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23116
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 23:38:46 +0000 (23:38 +0000)]
* typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23115
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 23:36:02 +0000 (23:36 +0000)]
* Reduce compilation time by removing the shared_ptr (which is not
really important because the ownership of the CompletionLists is
easy enough) and by removing the deque for the half finished
favorites implemention in InsetMathNest. I think this fits better
into the GuiCompleter anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23114
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 22:39:46 +0000 (22:39 +0000)]
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23113
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 22:19:22 +0000 (22:19 +0000)]
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23112
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 21:16:31 +0000 (21:16 +0000)]
* Doxy (people really want to stop the time).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23111
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 21 Feb 2008 20:04:17 +0000 (20:04 +0000)]
Cosmetics. And silence some warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23110
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:45:36 +0000 (19:45 +0000)]
* a MathMacro is like a normal InsetMathNest in folded mode. Hence it should also behave like that concerning completion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23109
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:45:05 +0000 (19:45 +0000)]
* add some space between math inset and popup. This should really come from the font maximal descent in fact.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23108
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:44:28 +0000 (19:44 +0000)]
* show popup without delay even when the inline completion is just activated by explicit tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23107
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:43:53 +0000 (19:43 +0000)]
* silence warnings with null QPixmap
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23106
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:43:16 +0000 (19:43 +0000)]
* minimize redraws during completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23105
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stefan Schimanski [Thu, 21 Feb 2008 19:42:34 +0000 (19:42 +0000)]
* completion infrastructure
* completion support for mathed
* experimental completion support for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23104
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 21 Feb 2008 16:31:59 +0000 (16:31 +0000)]
Add empty InsetLayout for undefined cases. Should avoid possible bugs caused by empty layout_ pointer in InsetCollapsable.
NOTE: Some cleanup is needed here, and I'll do it shortly. Doing it properly, though, requires making InsetLayout a proper class. (At the moment, it's just a C-style struct.) That should be committed separately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23103
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 15:15:36 +0000 (15:15 +0000)]
* Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23102
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 15:13:39 +0000 (15:13 +0000)]
Add hide tab icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23101
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 15:09:10 +0000 (15:09 +0000)]
LFUN_CLOSE_TAB_GROUP: bug fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23100
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 14:58:58 +0000 (14:58 +0000)]
Add menu item for close-tab-group
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23098
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 14:53:09 +0000 (14:53 +0000)]
Introduce LFUN_CLOSE_TAB_GROUP.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23097
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 14:34:41 +0000 (14:34 +0000)]
Squash RC warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23096
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 21 Feb 2008 14:23:10 +0000 (14:23 +0000)]
* lib/stdmenus.inc: Collision with HTML|H
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23095
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 13:42:49 +0000 (13:42 +0000)]
Be on the safe side WRT events.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23094
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 21 Feb 2008 13:20:29 +0000 (13:20 +0000)]
* lib/stdmenus.inc:
- fix shortcut casing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23093
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 13:09:27 +0000 (13:09 +0000)]
add menu item for split-view
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23091
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:55:16 +0000 (12:55 +0000)]
* LFUN_SPLIT_VIEW: document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23090
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:48:05 +0000 (12:48 +0000)]
* LFUN_SPLIT_VIEW: add support for vertical split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23089
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 12:29:26 +0000 (12:29 +0000)]
* TabWorkArea: rename 'close tab' button to 'close buffer' and add a 'close tab' button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23088
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 11:56:38 +0000 (11:56 +0000)]
Fix drawing of multiple views of a same buffer in the *same window* (aka split-view).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23087
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 11:48:31 +0000 (11:48 +0000)]
Fix buffer-switching in split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23086
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Thu, 21 Feb 2008 09:23:01 +0000 (09:23 +0000)]
* BufferView::resize() Remove showCursor() call when resizing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23085
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 21:46:49 +0000 (21:46 +0000)]
Introducing LFUN_SPLIT_VIEW
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23084
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 20:05:01 +0000 (20:05 +0000)]
small tweak for split view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23083
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 20 Feb 2008 16:56:33 +0000 (16:56 +0000)]
Fix crash by setting Layout before calling InsetText::read().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23081
a592a061 -630c-0410-9148-
cb99ea01b6c8
José Matox [Wed, 20 Feb 2008 16:31:50 +0000 (16:31 +0000)]
Make postats.py independent of the environment locale (2nd try)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23080
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:37:17 +0000 (15:37 +0000)]
Fix scrollbar/resizing interaction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23079
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:11:47 +0000 (15:11 +0000)]
LFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the focus problems under MacOS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23078
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 15:07:36 +0000 (15:07 +0000)]
Work-around scrollbar bug when returning from fullscreen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23077
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 14:53:19 +0000 (14:53 +0000)]
following revert of 23068: Better fix for bug 4044
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23076
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 14:27:52 +0000 (14:27 +0000)]
Fullscreen support: Small cleanups. Still not sure why the scrollbar is not properly updated...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23075
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 14:12:19 +0000 (14:12 +0000)]
more tooltip cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23074
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 13:57:54 +0000 (13:57 +0000)]
cleanup tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23073
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Wed, 20 Feb 2008 13:50:35 +0000 (13:50 +0000)]
fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23072
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 13:32:03 +0000 (13:32 +0000)]
revert 23068 as this was causing a recursive repaint.
Warning for the future: *no* painting activity should happen inside a paint event.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23071
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Wed, 20 Feb 2008 10:21:00 +0000 (10:21 +0000)]
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23070
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 19 Feb 2008 21:51:55 +0000 (21:51 +0000)]
Improve fullscreen mode (bug 4146).
- added toolbars/tabbar/scrollbar toggling
- added text width control
- added GUI preferences & menu & shortcut
Known problems:
- Outliner in Mac is seeking some Mac devie to fix (see hints here:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135382.html )
- Toolbars visibility is shared between windows (views)
(needs toolbars overhaul).
- Adding new tab items does not reflect fullscreen mode
(i.e. margins and tabbar get visible)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23069
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 19 Feb 2008 21:27:18 +0000 (21:27 +0000)]
Update cursor and scrollbar after resize.
Fixes bug 4044.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23068
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 12:42:49 +0000 (12:42 +0000)]
doc update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23066
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 09:13:58 +0000 (09:13 +0000)]
rev 23064: forgot that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23065
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 09:10:59 +0000 (09:10 +0000)]
Various small cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23064
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Tue, 19 Feb 2008 07:31:02 +0000 (07:31 +0000)]
Buffer::resetChildDocuments() Check for Buffer emptiness before proceeding.
Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23063
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 19 Feb 2008 07:14:05 +0000 (07:14 +0000)]
* lib/symbols:
- \implies requires amsmath (bug 4561).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23061
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 05:39:36 +0000 (05:39 +0000)]
Disable colsep box when single column.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23060
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 05:24:48 +0000 (05:24 +0000)]
Add support for column separation in page margins. Fixes bug 3337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23059
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 03:46:11 +0000 (03:46 +0000)]
Clean up a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23058
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Tue, 19 Feb 2008 02:35:07 +0000 (02:35 +0000)]
It used to be that things like InsetFlex, InsetCaption, and the like used the default layout, whatever that is---usually Standard. That gave rise to bug 2178, the solution to which is to define a new empty layout, which insets like these use instead of the default. See r22966.
So, when we have an older LyX file, it will look like this:
\begin_inset ERT
status open
\begin_layout Standard
this that
\end_layout
\end_inset
which is now invalid, because ERT uses only PlainLayout. So I had put some code into Text::readParToken, where the layout for a paragraph gets set as it is read:
if (par.forceEmptyLayout()) {
// in this case only the empty layout is allowed
layoutname = tclass.emptyLayoutName();
} else if (par.useEmptyLayout()) {
// in this case, default layout maps to empty layout
if (layoutname == tclass.defaultLayoutName())
layoutname = tclass.emptyLayoutName();
} else {
// otherwise, the empty layout maps to the default
if (layoutname == tclass.emptyLayoutName())
layoutname = tclass.defaultLayoutName();
}
This turns out not to work, because par.forceEmptyLayout() and par.useEmptyLayout() always return false here, because par.inInset() always returns a null pointer, because the paragraph's inset hasn't yet been set when Text::readParagraph() gets called from Text::read() gets called from InsetText::read(). The solution is to set the paragraph's inset when it is created, which means passing a pointer to the various read() routines along the way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23057
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 10:16:43 +0000 (10:16 +0000)]
* CutAndPaste.cpp (eraseSelectionHelper): when the last paragraph that
is cut is completely erased, remove it regardless of its layout (fixes
bug 3995).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23054
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 10:03:30 +0000 (10:03 +0000)]
* TextClass.cpp (read): do not use istrstream (which is deprecated),
but istringstream instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23053
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 18 Feb 2008 09:55:14 +0000 (09:55 +0000)]
more compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23052
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 09:44:02 +0000 (09:44 +0000)]
Compile fix by Kornel Benko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23051
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 07:44:07 +0000 (07:44 +0000)]
cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23050
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Mon, 18 Feb 2008 07:14:42 +0000 (07:14 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23049
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:47:04 +0000 (20:47 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:18:12 +0000 (20:18 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23047
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:17:33 +0000 (20:17 +0000)]
header cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23046
a592a061 -630c-0410-9148-
cb99ea01b6c8
Abdelrazak Younes [Sun, 17 Feb 2008 20:16:14 +0000 (20:16 +0000)]
Factorize closeEvent() for GuiDialog based dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23045
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sun, 17 Feb 2008 14:09:20 +0000 (14:09 +0000)]
de.po: more updates by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23043
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 16 Feb 2008 21:00:21 +0000 (21:00 +0000)]
de.po: updates by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Dov Feldstern [Sat, 16 Feb 2008 18:39:20 +0000 (18:39 +0000)]
Fix typing of digits in RTL text, which was broken way back during the Font/Language separation (r21240).
The problem was that when typing a digit in RTL text, the language was being
switched to LTR, which is wrong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23037
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Sat, 16 Feb 2008 17:23:07 +0000 (17:23 +0000)]
de.po: some updates by Jürgen and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23035
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Sat, 16 Feb 2008 09:23:35 +0000 (09:23 +0000)]
* lib/examples/addressExample.adr:
- don't use German abbreviations (such as "w") and expressions.
- add some documentation.
* lib/examples/de/serienbrief[1-3]:
- fix spelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Fri, 15 Feb 2008 23:38:16 +0000 (23:38 +0000)]
Color.cpp, ColorCode.h: define new colors for inset labels and insets text
stdinsets: use the new colors to allow the users to customize them
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23029
a592a061 -630c-0410-9148-
cb99ea01b6c8