Uwe Stöhr
8a35204454
lyxfind.cpp/h: make LyX compilable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 00:28:34 +00:00
Vincent van Ravesteijn
01aa8d771a
Add and correct some shortcuts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:07:01 +00:00
Tommaso Cucinotta
cf62c2d8e4
First implementation of feature in bug #3696
...
(missing files in commit, apologies).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:05:31 +00:00
Vincent van Ravesteijn
c6a9cd0613
Make the pilcrow slightly lighter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:04:17 +00:00
Tommaso Cucinotta
7b8c8cfc94
First implementation of feature in bug #3696
...
(missing file in commit, apologies).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:03:13 +00:00
Pavel Sanda
7d186b0cd6
Squash warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:02:27 +00:00
Tommaso Cucinotta
edd8e78612
First implementation of feature in bug #3696 . Needs testing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:55:38 +00:00
Vincent van Ravesteijn
6ee19b2a54
Fix bug #6129 : Show paragraph marks / pilcrows.
...
To be activated in Tools->Preferences->Display.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:46:43 +00:00
Vincent van Ravesteijn
41c1dcdc27
Fix the painting of the last character of a paragraph. That is either the added/deleted paragraph breaks in change tracking or the to-be introduced pilcrow marks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:43:52 +00:00
Vincent van Ravesteijn
d75f135ab9
Rename menu item and fix bug #5067 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:51:01 +00:00
Vincent van Ravesteijn
5ed9b3f33e
Forgot this. This is no longer necessary as we write the session file before closing workareas.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:18:34 +00:00
Vincent van Ravesteijn
b45f8b96a6
File->Close All now really closes all buffers. That is, all visible buffers in all views and all hidden buffers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:12:53 +00:00
Vincent van Ravesteijn
66dd3db8bc
Fix bug #6162 : Crash after close window with master/child.
...
The previous fix was nonsense. It appeared to be a shameful copy-paste error. GuiView::disconnectBufferView() was exactly the same as GuiView::disconnectBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:55:02 +00:00
Vincent van Ravesteijn
c863a953b2
Now we have disentangled writeSession() and closeWorkAreaAll(), we can release child buffers together with the master.
...
This basically solves bug #6162 in trunk (this cannot be done in branch until we take measures to prevent dataloss when closing a master and dirty children).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:31:49 +00:00
Vincent van Ravesteijn
9c44cc7360
Clear the LastOpened list when choosing "Close Window".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31148 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:29:16 +00:00
Vincent van Ravesteijn
f9952369ca
Make new function writeSession(). Now it's no longer entangled with closing the workareas/buffers.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:06:57 +00:00
Tommaso Cucinotta
5b1e7027ba
Fixed Find LyX with replace, in common use cases.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 15:14:28 +00:00
Enrico Forestieri
dbdf88f2f4
On Cygwin, use link options at the link (rather than compile) stage.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31140 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 14:59:21 +00:00
Pavel Sanda
ea758c3932
Next bits for Extended -> Additional
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 09:14:23 +00:00
Jürgen Spitzmüller
5d5d9c3de2
* de.po: Some corrections
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31137 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 08:33:36 +00:00
Uwe Stöhr
503844cb4c
BufferView.cpp: for the new Search dialog: paint also the range behind the work area with the same color as the work area
...
This avoids confusion as discussed in this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153997.html
; this patch is from Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31136 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 00:10:09 +00:00
Uwe Stöhr
d15714c69b
New French translation for the Braille.lyx manual from Jean-Pierre
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31135 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 00:00:07 +00:00
Uwe Stöhr
c7340939b2
de.po: translations from Hartmut and me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 23:56:23 +00:00
Uwe Stöhr
2905266d60
Hebrew Intro.lyx: one more extended -> Additional conversion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31132 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 23:18:43 +00:00
Pavel Sanda
80756191aa
The rest of Extendedlyx -> Additional.lyx move
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31131 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 22:17:30 +00:00
Vincent van Ravesteijn
81403e78fc
If we are in a close_event all children will be closed in some time, so no need to do it here. This will ensure that the children end up in the session file in the correct order. If we close the master buffer, we can close or release the child buffers here too.
...
We don't want a master buffer to release all its children immediately because that would close dirty childs without saving and would make it impossible to store the childs in a proper way in the session file.
As, we close all children of a buffer together with the master itself, it is also no longer necessary to do it automatically.
I'll leave it commented out for a while in case someone objects to it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31130 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 21:18:21 +00:00
Pavel Sanda
7d63aa481e
Fix bug #6153 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 21:00:03 +00:00
Vincent van Ravesteijn
252a8ca4a8
Let's make trunk compilable again.
...
This should have gone with r31127.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31128 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:51:43 +00:00
Vincent van Ravesteijn
b2588a80f3
- Ditch the in_close_event parameter, as we can use closing_ for this purpose.
...
- Add some comments for the functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31127 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:48:15 +00:00
Vincent van Ravesteijn
49d03a2576
If we are in a closeEvent, we don't want to close all buffers, because these may live in another View. So, only close the WorkAreas in this view.
...
For now, I stick to the convention that closing a buffer, will close it in all tabworkareas and all views. Therefore, when choosing File->Close All, we still close all buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:41:29 +00:00
Vincent van Ravesteijn
64d7a33a89
Rename closeBufferAll to closeWorkAreaAll (because that's what we do). Add a new closeBufferAll function that closes all WorkArea's and then all hidden buffers. This is easy now, because we've done everything to prevent hidden buffers to be dirty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31125 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:12:34 +00:00
Vincent van Ravesteijn
6e4ca1d18f
Fix bug #5893 : LyX closes hidden dirty buffers without asking.
...
Closing a tab group will now hide the buffers, but if buffers are dirty it will first ask you to save it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31124 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:27:19 +00:00
Vincent van Ravesteijn
c694bbe6ea
Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
...
Forgot this one of course.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31123 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:05:04 +00:00
Vincent van Ravesteijn
0e5f082a57
Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31122 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:04:39 +00:00
Vincent van Ravesteijn
6bc8b8c592
Fix bug #6158 : Crash when entering math in tabular.
...
We have to determine whether we are in an empty cell before we dispatch the lfun to the inset. Otherwise we determine whether the math is empty and if so, we then go to the next cell in the math inset. This cell doesn't exist probably.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31121 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 18:34:22 +00:00
Jürgen Spitzmüller
6b6567a538
enhance debug message.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 16:03:44 +00:00
Jürgen Spitzmüller
0c4f7f62c1
* configure.py: attempt to fix the check for the java version of splitindex.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 10:10:06 +00:00
Jürgen Spitzmüller
a688f25880
* configure.py: change detection order of splitindex preprocessors.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31112 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 08:52:42 +00:00
Pavel Sanda
be3b0b8a98
QTreeView strikes back
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 07:20:40 +00:00
Vincent van Ravesteijn
0cf46fe101
Don't close the buffer when it is a child.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31109 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 00:04:19 +00:00
Vincent van Ravesteijn
f781cdc021
Close the correct tab when clicking one while the active tab is in another tabworkarea. This is also in 1.6.3.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 22:33:49 +00:00
Vincent van Ravesteijn
6ab8377995
Rename tolastopened to in_close_event. I forgot this in r31106.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 22:24:38 +00:00
Vincent van Ravesteijn
0e3f25489e
Simplify the code, and rename tolastopened to in_close_event. Rationale: when we are in a close event we want to store the last opened files, and we don't want to close any child buffers. Closing the child buffers now will crimple the last opened files in the session file (the order of tabs that is). Child buffers are closed anyway when we are in a close event.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:31:24 +00:00
Kornel Benko
f6491727bf
Cleanup Boost-Libraries use
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:27:56 +00:00
Vincent van Ravesteijn
c76fca43bc
Closing the children of a master can be done in closeWorkArea.
...
This fixes yet another bug. Previously, when a master was closed, its child buffers were also released without asking to save dirty buffers. (What a mess!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:25:27 +00:00
Peter Kümmel
c801404b4c
cmake: fix linker error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 20:39:38 +00:00
Peter Kümmel
382a9bc08c
update to boost 1.39: update pch file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 19:48:35 +00:00
Peter Kümmel
db72cc3878
fix utf8
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 19:24:34 +00:00
Pavel Sanda
e58280676d
Hint from Andre for QTreeView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 18:43:25 +00:00
Peter Kümmel
1fc4cdd807
update to boost 1.39: add new files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31099 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 18:38:32 +00:00