Commit Graph

106 Commits

Author SHA1 Message Date
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Georg Baum
cbe5066622 Add missing math toolbar symbols 2013-01-13 21:43:14 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Tommaso Cucinotta
1e50bfb446 Call a LyX note as a LyX note consistently in the toolbar and menus.
The term "LyX note" seems somewhat confusing, but until someone comes
up with a better name, at least it's consistently referred to as a LyX note.
2012-10-17 22:57:43 +01:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Uwe Stöhr
138b615a3b again some things which cherry pick did not catch, sorry 2012-03-22 00:02:36 +01:00
Pavel Sanda
af6a03a331 Lets try first commit and bring trunk back to compiling. 2012-03-17 01:29:18 +01:00
Uwe Stöhr
7a46910f04 support for table cell rotations; fileformat change 2012-03-16 02:29:37 +01:00
Georg Baum
433b919457 Revert r40742, since it broke the tooltips of the changed commands.
Apart from that it implies a tab width of 4, which is not used by everybody.
The other commands should probably be fixed as well, but I do not touch foreign code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40756 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 20:18:21 +00:00
Uwe Stöhr
dfee6bc359 stdtoolbars.inc: correct layout to fit with the other entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40742 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:44:23 +00:00
Uwe Stöhr
322a1c1740 add icon files for the \cancel support in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40741 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:41:23 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Uwe Stöhr
30de1c744e - UI support for the LaTeX-package undertilde, fileformat change, fixed the remaining part of bug #6622, Georg already implemented the non-UI support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39464 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-10 03:37:33 +00:00
Julien Rioux
8719c5c99c Fix bug #7620 (LaTeX \unit{} in math mode): The
commands displayed in the toolbar menu now
correspond with the internal LyX commands.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39002 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:20:03 +00:00
Georg Baum
32f6c066cc Partial fox for bug #6622: Display \utilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:06:33 +00:00
Pavel Sanda
78263b1c19 Broken link, closing #7388. Patch from Diego Queiroz.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 00:41:35 +00:00
Enrico Forestieri
0acb928688 Revert again the changes to stdtoolbars.inc.
They were recommitted by mistake.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38052 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 15:47:50 +00:00
Enrico Forestieri
36bf758ed9 Move to PrefUi the icon set choice and solve problem with translation
of icon set names.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38046 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 14:21:28 +00:00
Enrico Forestieri
1fa45cf27c Fix toolbar broken by r38035
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-25 01:54:55 +00:00
Joost Verburg
a209de9bb9 new icons and toolbar design
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38035 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-24 23:05:03 +00:00
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Georg Baum
ebd59dbc00 show inverted diagonal dots in math dots toolbar (was forgotten in r35251)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36686 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:42:16 +00:00
Pavel Sanda
aef9d84e83 Disentangle various "in"s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Uwe Stöhr
4a4abc98ef stdtoolbars.inc: rename to be uniform with menus and documentation
@Pavel: the phantom dialog is called when using the Edit menu on an existing phantom

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36334 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-17 04:25:38 +00:00
Uwe Stöhr
72292b98a6 support for formal math script
- fileformat change
- fixes #2340

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:51:11 +00:00
Edwin Leuven
0ebe0ff37e add support for decimal alignment in tables
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-05 07:44:44 +00:00
Enrico Forestieri
3450dbaa49 Maybe this is more meaningful.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 21:09:52 +00:00
Pavel Sanda
507675c270 Change toolbar tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34503 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 15:14:47 +00:00
Pavel Sanda
053b905e08 Add output_sync icon to view/update toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-25 11:36:02 +00:00
Pavel Sanda
56e0928eb8 Revision info into toolbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33535 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:39 +00:00
Pavel Sanda
6271278749 Icons for VCS comparison
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33528 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 02:00:40 +00:00
Abdelrazak Younes
b5049e769b * InsetTabular cleanup:
- proper message passing for all tabular features
- properly define which feature needs an argument

* replace LFUN_TABULAR_FEATURE with LFUN_INSET_MODIFY
- The math tables are also affected. In the future a common base class
between math and text table will solve this inconsistency.
- There is a hack in GuiApplication in order to not rename the toolbar
icons. This will have to be cleaned up with a general icon naming for
LFUN_INSET_MODIFY... to be discussed.

* Tabular Dialog:
- big cleanup, lots and lots of bug fixing here
- migrated to InsetParamsWidget


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:28:46 +00:00
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Pavel Sanda
ae752e13a5 Introduce "samerow" toolbar tag and let View/Update toolbar to be in the
beginning of the first row.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156961.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-27 17:19:14 +00:00
Jürgen Spitzmüller
96dc966114 really fix the Diamond toolbar item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33176 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 09:59:48 +00:00
Uwe Stöhr
c49ad94a98 Diamond2.png: new image file for the math symbol \Diamond, see this thread: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157327.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33152 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-22 02:32:17 +00:00
Uwe Stöhr
9a47988959 stdtoolbars.inc: correct place for \Diamond
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 23:10:37 +00:00
Uwe Stöhr
5be89cdb7d stdtoolbars.inc: add missing entry for \Diamond; this symbol is part of amssymb, we support it, and it is also listed in the Math manual
(bug was reported here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78256.html)

Jürgen, also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:58:46 +00:00
Pavel Sanda
32d48ba0d7 Sounds better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:35:54 +00:00
Pavel Sanda
dd82560e85 Next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31618 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:29:06 +00:00
Pavel Sanda
d4bf62b417 Fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:27:12 +00:00
Pavel Sanda
4f0957c819 Bug #6255 - Update linked files with version control
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 23:20:52 +00:00
Tommaso Cucinotta
059729ec59 UI interaction for advanced f&r.
Menu voice shows only, does not toggle. This allows for highlighting the keyboard short-cut in the menu, where the user expects to find it.
Toggling of dialog is instead shown in a toggling button on the toolbar (advanced search button besides the standard one). Icon is just draft.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31445 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 21:39:48 +00:00
Jürgen Spitzmüller
bf2567b44f * Standardize Capitalization. Skip the controverse AMS environments for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 06:19:21 +00:00
Pavel Sanda
e4c05dd04d Fix ui naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30268 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 12:35:21 +00:00
Pavel Sanda
7355a53a73 Guify setting of svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-25 14:48:11 +00:00